1833653 Members
3649 Online
110062 Solutions
New Discussion

Default block size

 
SOLVED
Go to solution
Jerome D'silva
Advisor

Default block size

Hi
I would like to know the default block size on HPUX11.0 .Is it 256Kb or 512Kb or 1024Kb ?

Thanks
Jerome
5 REPLIES 5
RAC_1
Honored Contributor

Re: Default block size

for hfs it is 8k

for vxfs it is 1024bytes
There is no substitute to HARDWORK
T G Manikandan
Honored Contributor

Re: Default block size

The default block size for vxfs,jfs and hfs are 1024K.

If you need to change the default value when creating file systems use the -b option to the newfs command.

For vxfs
# fstyp -v /dev/vg00/lvol1
f_bsize---->current block size
f_frsize--->default block size


For hfs file
systems

# tunefs -v /dev/vg00/rlvol4 | grep bsize

du reports with block size of 512 Kbytes.


File systems are created with larger block size like 8192Kbytes for good performance.

check for the man pages of newfs_vxfs for more information.

Thanks

T G Manikandan
Honored Contributor
Solution

Re: Default block size

Anil is right for hfs it is 8192 Kb.
Ofcourse the fragment size is 1k.


# tunefs -v /dev/vg00/rlvolX | grep bsize


Also you can use df -g to find the current block size and the fragment size.

Thanks

T G Manikandan
Honored Contributor

Re: Default block size

Anil is right for hfs it is 8192 Kb.
Ofcourse the fragment size is 1k.


# tunefs -v /dev/vg00/rlvolX | grep bsize


Also you can use df -g to find the current block size and the fragment size.

Thanks

Jerome D'silva
Advisor

Re: Default block size

Thanks for all the inputs .I would like to know one more info .Thought I would continue with this thread itself .

We have procured a new MA8000 SAN and I would like to know what is the chunk size we need to set on the SAN in order to get optimal performance .Our application is read intensive and we have configured RAID (3/5) on it .The block size on our vxfs currently is 8192 .

Thanks
Jerome