[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] LVM and resize2fs

On 06/10/10 21:47, Javier Guerra Giraldez wrote:
On Wed, Oct 6, 2010 at 3:40 PM, Jeff Sturm<jeff.sturm@xxxxxxxxxx>  wrote:
I tend to be paranoid about the same thing.  So when shrinking a filesystem, I 
often resize2fs it to a slightly smaller size, then resize it up to the 
device's size.  Growing is much faster than shrinking anyhow.
same here

Ah right, so let's say I wanted to reduce my 25GB LV down to 15GB, are the following steps correct and safe?

e2fsck -f /path/to/lv
resize2fs /path/to/lv 14G
lvresize /path/to/lv -L15G
resize2fs /path/to/lv


Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.