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

xen-users

[Top] [All Lists]

Re: [Xen-users] LVM and resize2fs

To: Javier Guerra Giraldez <javier@xxxxxxxxxxx>, Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] LVM and resize2fs
From: Jonathan Tripathy <jonnyt@xxxxxxxxxxx>
Date: 2010年10月06日 22:12:18 +0100
Cc:
Delivery-date: 2010年10月06日 14:12:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTim2EtXziq=X4B5Eh2exKAAx1J04FaKHnbDa9pr4@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <46C13AA90DB8844DAB79680243857F0F0AFEC8@xxxxxxxxxxxxxxxxxxx> <AANLkTinUgneFUrsufGCrHbajbxjuKYn7Q1_Pt0QAbngU@xxxxxxxxxxxxxx> <46C13AA90DB8844DAB79680243857F0F0AFEC9@xxxxxxxxxxxxxxxxxxx> <AANLkTinTPCz_0tMc7Knt5ReorOc_T+mL8A206tqdO+sb@xxxxxxxxxxxxxx> <4CACD870.8050809@xxxxxxxxxxx> <64D0546C5EBBD147B75DE133D798665F06A123D6@xxxxxxxxxxxxxxxxx> <AANLkTim2EtXziq=X4B5Eh2exKAAx1J04FaKHnbDa9pr4@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6
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
Thanks
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-users] LVM and resize2fs , Javier Guerra Giraldez
Next by Date: [Xen-users] xen boot failure after host memory upgrade , W D
Previous by Thread: Re: [Xen-users] LVM and resize2fs , Javier Guerra Giraldez
Next by Thread: Re: [Xen-users] LVM and resize2fs , Simon Hobson
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /