Operating System - HP-UX
1752320 Members
5327 Online
108786 Solutions
New Discussion

Re: how to create vxfs filesystem with 32kb blocksize

 
SOLVED
Go to solution
krs2prs
Advisor

how to create vxfs filesystem with 32kb blocksize

Hi,
Anyone knows how I can create vxfs filesystem with 32kb blocksize? I'm getting error saying maximum allowed is 8192.
regards,
4 REPLIES 4
Ivan Krastev
Honored Contributor

Re: how to create vxfs filesystem with 32kb blocksize

You can create it with newfs - http://docs.hp.com/en/B3921-90010/newfs_vxfs.1M.html


-b block_size
File system block size in bytes. The default value is 1024 bytes.



Maybe there are some limitations, based on VxFS version.

regards,
ivan
Suraj K Sankari
Honored Contributor

Re: how to create vxfs filesystem with 32kb blocksize

Hi,
The default block size is 8K, but this may be modified during file system creation via the â b option on newfs.

To create an HFS with a block size of 32 Kbytes, use the following.
newfs -F hfs -b 32768 /dev/vg03/rlvol5

Suraj
Ivan Krastev
Honored Contributor
Solution

Re: how to create vxfs filesystem with 32kb blocksize

In the Release Notes maximum specified blocksize is 8k - http://docs.hp.com/en/5991-1832/5991-1832.pdf

regards,
ivan
krs2prs
Advisor

Re: how to create vxfs filesystem with 32kb blocksize

Thanks guys, so I won't push for the 32kb block size anymore if it is not supported.
cheers!