From: Naylor, Jim (Jnaylor@Schnucks.com)
Date: Thu Jul 18 2002 - 14:42:50 EDT
Good Day All,
According to Oracle the Oracle block size can be set to 4k, 8k, 16k, or 32k.
They suggest that the Unix filesystem block size be set to the same. The
default filesystem block size for HP-UX 11.0 is 8K. I have a Oracle
instance that is 4K and I need to create a filesystem with a block size of
4K. I have a logical volume created and am trying to create the filesystem
with a block size of 4k using the following command:
newfs -F vxfs -o largefiles -b 4096 /dev/vgxxx/rlvxxx
This gives me the following output but tells me it is created at a blocksize
of 4096:
# newfs -F vxfs -o largefiles -b 4096 /dev/vgora_itemM/rlvora_itemM
vxfs mkfs: It is advisable to have block size of 8192 or larger
vxfs mkfs: for file systems greater than 42GB
version 3 layout
44146688 sectors, 11036672 blocks of size 4096, log size 512 blocks
unlimited inodes, 11036672 data blocks, 11035368 free data blocks
337 allocation units of 32768 blocks, 32768 data blocks
last allocation unit has 26624 data blocks
first allocation unit starts at block 0
overhead per allocation unit is 0 blocks
When I do a df -g /mountpoint it shows the following:
# df -g /oracle/rdbms/itemM
/oracle/rdbms/itemM (/dev/vgora_itemM/lvora_itemM) :
8192 file system block size 4096 fragment size
11036672 total blocks 11035449 total free blocks
10863022 allocated free blocks 2758864 total i-nodes
2758860 total free i-nodes 2758860 allocated free
i-nodes
1075249153 file system id vxfs file system type
0x10 flags 255 file system name
length
/oracle/rdbms/itemM file system specific string
This tells me the file system block size is 8192 and the fragment size is
4096.
If I do a fstyp -v /dev/vgora_itemM/lvora_itemM I get the following:
# fstyp -v /dev/vgora_itemM/lvora_itemM
vxfs
version: 3
f_bsize: 8192
f_frsize: 4096
f_blocks: 11036672
f_bfree: 11035449
f_bavail: 10863021
f_files: 2758880
f_ffree: 2758848
f_favail: 2758848
f_fsid: 1075249153
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 16
f_fsindex: 6
f_size: 11036672
This also tells me the filesystem blocksize is 8192 and the filesystem
fragment size is 4096.
So can anyone tell me what is my actual filesystem block size is?
Thanks,
Jim Naylor
Unix Systems Administrator
Schnuck Markets, Inc.
* Direct: (314) 994-4784
*)) Cell: (314) 691-0186
* Fax : (314) 994-4684
* jnaylor@schnucks.com
-- ---> Please post QUESTIONS and SUMMARIES only!! <--- To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only) http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:16 EDT