Resizing an ext3 LVM Partition
Has anyone done this?
I can't find a single thing out there.
As far as the LVM portion of it is concerned - I'm not worried about that - I can resize the VG and LV no problem.
My question, is what is the proper syntax for the resize2fs command?
There is a size variable, which is ambiguous.
I have seen numerous example online regarding how to figure the size you are
reducing to, using cylinders to find the number of 4K blocks. However, this is an LVM partition, so I'm not sure how to proceed.
It is /dev/hdb:
1 VG (rootvg - /dev/rootvg)
rootlv - /dev/rootvg/rootlv - 35G, this is the partition being resized. Need to shrink by 7G
lg_dumplv00 - /dev/rootvg/lg_dumplv00 - 512M - swap
lg_dumplv01 - /dev/rootvg/lg_dumplv01 - 512M - swap
PE size is 32768 with 1176 PE allocated to /dev/hdb
The FS for rootlv is ext3
How to do I figure the size to pass to resize2fs?
There was another thread on this issue:
|All times are GMT -5. The time now is 04:08 PM.|