Operating System - HP-UX
1833762 Members
2309 Online
110063 Solutions
New Discussion

Re: Changing block size of a file system

 
SOLVED
Go to solution
Roberto Volsa
Frequent Advisor

Changing block size of a file system

Hello,
in my system there are a lot of file system sith a block size of 1024 (i checked it with "mkfs -m" command). I have to change it to 8k.
Other than remove and recreate the logical volumes, are there any other ways to do this?

Thanks in advance

Roberto
5 REPLIES 5
Patrick Wallek
Honored Contributor
Solution

Re: Changing block size of a file system

I don't think there is any way to do this other than to recreate the LVs and restore you data.

I am just curious, why do you need to change the filesystem block size to 8K?
Roberto Volsa
Frequent Advisor

Re: Changing block size of a file system

Oracle suggests to work with 8K block size
Sanjay_6
Honored Contributor

Re: Changing block size of a file system

Hi Roberto,

you'll have to recreate the filesystem with the new block size.

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000064722570

Hope this helps.

Regds
Thierry Poels_1
Honored Contributor

Re: Changing block size of a file system

Hi,

extract from Metalink:

<<>>

Reorganization might not be worth all the work.

best regards,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
A. Clay Stephenson
Acclaimed Contributor

Re: Changing block size of a file system

Unless this is an hfs filesystem (in which case you are already taking a big performance hit) blocksize really doesn't matter - in spite of what Oracle tells you. Vxfs filesystems are extent-based and block size is really not a critical factor although it certainly is in hfs filesystems.
If it ain't broke, I can fix that.