Operating System - HP-UX
1834122 Members
2615 Online
110064 Solutions
New Discussion

How to check file system block size..?

 
SOLVED
Go to solution
Shankar_6
Regular Advisor

How to check file system block size..?

Hi,

Is there any command to check the block size set for a file system..? I know by default for Vxfs it is 1KB...but would like to confirm the same..

Regards
Shankar
5 REPLIES 5
freddy_21
Respected Contributor
Solution

Re: How to check file system block size..?

for HFS:
tunefs -v /dev/vg00/rlvol4 | grep bsize


FOr VXFS
fstyp -v /dev/vg00/lvol3

thanks
freddy
Raj D.
Honored Contributor

Re: How to check file system block size..?

Hi Shankar ,

You can use:

# fstyp -v /dev/vgxx/lvolxx

and look for the entry f_bsize


Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Ludovic Derlyn
Esteemed Contributor

Re: How to check file system block size..?

Hi Shankar,

You can use :

#mkfs -m /dev/vg00/lvol4
mkfs -F vxfs -o ninode=unlimited,bsize=8192,version=5,inosize=256,logsize=1024,2

Display the command line that was used to create the file system

regards

L-DERLYN
Shankar_6
Regular Advisor

Re: How to check file system block size..?

Hi All,

Thanks for all ur valuable replies..:))

Cheers,
Shankar
Shankar_6
Regular Advisor

Re: How to check file system block size..?

Hi All,

Thanks again.