Operating System - HP-UX
1835947 Members
5672 Online
110088 Solutions
New Discussion

Number of blocks and size of blocks VXFS

 
SOLVED
Go to solution
Daniel Fourie
Frequent Advisor

Number of blocks and size of blocks VXFS

Hi

I would like to know how to get the block size and the number of blocks from a filesystem.

Regards
Knowlage is Power
2 REPLIES 2
javedk
Advisor
Solution

Re: Number of blocks and size of blocks VXFS

u could try
fstyp -v /dev/vgXX/rlvolX
A. Clay Stephenson
Acclaimed Contributor

Re: Number of blocks and size of blocks VXFS

... and I'll bet that you are concerned about blocksize because you learned in Oracle class that is VERY IMPORTANT to match the filesystem blocksize (or some multiple thereof) to the database blocksize. With respect to vxfs filesystems (unlike hfs, s5,or ufs filesystems which are block-based) the correct answer is "big woo". Vxfs filesystems always try to do i/o in big chunks (extents) and the filesystem blocksize doesn't matter at all. In fact, the tiny, 1KiB block is just fine because its only significance is the smallest unit of filesize allocation rather than the control of i/o chunk size.
If it ain't broke, I can fix that.