WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] LVM and resize2fs



-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx on behalf of Simon Hobson
Sent: Thu 07/10/2010 07:51
To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] LVM and resize2fs

Jonathan Tripathy wrote:

>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

Yes
----------------------------------------------------------------------------------
Would resize2fs allow you to "over-commit" ? I'd imagine that if the LV size was smaller than expected, wouldn't it throw an error?

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>