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: Jonathan Tripathy <jonnyt@xxxxxxxxxxx>
Subject: Re: [Xen-users] LVM and resize2fs
From: Boris Quiroz <bquiroz.work@xxxxxxxxx>
Date: Wed, 6 Oct 2010 14:22:51 -0400
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 06 Oct 2010 11:24:16 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=z/4ZubyrQ/mv0Lg1UxkS7ahffZGtK+soC6xmIlatppo=; b=qH13diBN3IsC8iRpM4DLqja2QCCmkTD0ncC018ZpJ/BmQyE8vZBB8xp+C2QH49s3K4 3qIx8datIZBjQ9CNat5Ow76sMsdr9PZZWF5g+RkNjBh6z66GuZ+Oxje0QguO04HxJ4/G OZ+8iMohr4SWB+72ogUU9i8lbInWt5wazbjhA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=RG901Czlyh5/PT9kdXhrsqvrYf1kZgP1FNROaMXiX05HAI1WpZJQMxizGJeqzJKWz0 QqiwtJCJJZTXPA7q0YOVstmxEbq/iN0DDgccR6GyCKpXQzsKcTCUKDBwz6U255c7LdUK QpVC0LZKuTxFPDPb/0/fu3a4tCCQlWSCXNXG8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <46C13AA90DB8844DAB79680243857F0F0AFEC8@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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>