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

[Xen-users] LVM and resize2fs

To: <Xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] LVM and resize2fs
From: "Jonathan Tripathy" <jonnyt@xxxxxxxxxxx>
Date: Wed, 6 Oct 2010 19:19:30 +0100
Cc:
Delivery-date: Wed, 06 Oct 2010 11:21:00 -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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: ActlgwT3CZKXictdRAa5QMos+rhZAg==
Thread-topic: LVM and resize2fs

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
<Prev in Thread] Current Thread [Next in Thread>