1754358 Members
4507 Online
108813 Solutions
New Discussion юеВ

Block size

 
Amit  Jadhav
Occasional Contributor

Block size

Can anybody tell me how to find the block size of HFS and VXFS filesystems .
Any help will be appreciated.

Thanx,
amit
5 REPLIES 5
Andreas Voss
Honored Contributor

Re: Block size

Hi,

you can get with:
fstyp -v /dev/vgXX/lvolX
The line f_bsize tells you the block size.

Regards
federico_3
Honored Contributor

Re: Block size

with the command
fstyp -v /dev/vgXX/lvolXXX

you'll obtain the information connected to the File System and among them the block size


Regards

Federico
Andreas Kromat
Occasional Advisor

Re: Block size

Hi,

try mkfs -m .
You get something like
mkfs -F vxfs -o ninode=unlimited,bsize=1024,version=3,inosize=256,logsize=1024,nolargefiles /dev/vg00/lvol9 524288

And bsize shows you the blocksize.

regards,
Andreas
Andreas Voss
Honored Contributor

Re: Block size

Sorry,

the fundamental file system block size is shown as f_frsize (not f_bsize).

Regards
John Palmer
Honored Contributor

Re: Block size

Another way is to use the 'df' command with the '-g' flag. Examples:

df -g /
df -g /dev/vg00/lvol3