1832991 Members
2621 Online
110048 Solutions
New Discussion

Re: File System creation

 
Marcio Cassan
New Member

File System creation

Could you help with one tip ?

I have 2 partitions :
/dev/vg01/lvol2
/dev/vg01/lvol3

they were created with 4096 block size

How the steps to re-create these file systems with 8192 Block size ?

Thanks
Marcio
3 REPLIES 3
Dave Olker
Neighborhood Moderator

Re: File System creation

Hi Marcio,

I don't believe you can change the block size of a filesystem. This is something that is set at filesystem creation time.

I believe you would need to back up these filesystems, use newfs or mkfs or SAM to create new filesystems with the 8K block size, and then restore the data.

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
RAC_1
Honored Contributor

Re: File System creation

You will have to delete the lvols and re-create.
newfs -F vxfs -b 8192 /dev/gxx/lvolx

mkfs -F :fs_type" -m /dev/vgxx/lvolx

will give what command was used to create the FS.

Anil
There is no substitute to HARDWORK
Marcio Cassan
New Member

Re: File System creation

Thanks

these hints were very usefull !!!