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

To: "Boris Quiroz" <bquiroz.work@xxxxxxxxx>, <Xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] LVM and resize2fs
From: "Jonathan Tripathy" <jonnyt@xxxxxxxxxxx>
Date: Wed, 6 Oct 2010 19:23:41 +0100
Cc:
Delivery-date: Wed, 06 Oct 2010 11:26:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Actlg38/rDCzQJNgRb6estl+kSj4EwAABtI3
Thread-topic: [Xen-users] LVM and resize2fs




-----Original Message-----
From: Boris Quiroz [mailto:bquiroz.work@xxxxxxxxx]
Sent: Wed 06/10/2010 19:22
To: Jonathan Tripathy
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] LVM and resize2fs

2010/10/6 Jonathan Tripathy <jonnyt@xxxxxxxxxxx>:
> Hi Everyone,
>
> I have a 3GB Linux disk image. When creating a new VM, I create a new LVM LV
> of size 25GB, then I dd the 3GB image over to an LVM LV, then do "efsck -f
> /path/to/lv", then "resize2fs /path/to/lv 25G"
>
> Is this the correct and safe thing to do?
>
> Thanks
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>
>-------------------------------------------------------------------
>That's correct. But only if you're using ext3. If you're using
>reiserfs you must use resize_reiserfs /path/to/lv 25G.

>Cheers.

Thanks. I am indeed using ext3.
I was getting worried that by specifying 25G in both e2fsck and resize2fs that may have caused problems..




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