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] Resize lvm disk

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [xen-users] Resize lvm disk
From: Bobby Coop <coopster@xxxxxxxxx>
Date: Sun, 12 Aug 2007 11:06:53 -0400
Delivery-date: Sun, 12 Aug 2007 08:07:26 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=ZI8BwnLFMm4iUq1kp/eGwhzGG2d8car0tmAt7AoPr3vne0j/5lZQdHZE2fB9r+EuikbgRsg/Mmz02TRhZ8ni6eqEiXYzPeuxomkcTnmj0qC/hkt4GSHrN6GVJPcgejk4Clyoh9IPUc9XGLKSX7esZPtmaPyheDYw0SpFX152y6g=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=jcCAqm9nHv6WQ2mfVck2GXAEgxyIrW3T6WepZD0u5VzE9c1bPFlaQYdOMpe5KLE2DMbVCvpwupZ/klwQKe5yhrcni6szIbfTjwejBYLUO+AYZN46bAUhvk2Scw/dVGYDQjpYD0C3PLzGg9YpZSlnQLf7mk14gczhSRJsQ+n0NTI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1f7e0c110708120753w27446359hdd979dca5de40bd@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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1f7e0c110708120753w27446359hdd979dca5de40bd@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Sun, 2007-08-12 at 16:53 +0200, ko0nz wrote:
> hi,
> 
> i have create my guest image with lvm
> so i 'd like to resize this image disk
> on my Dom0, i resized it and it works fine:
> # lvextend  -L  +1G /dev/srv/toto-disk
> 
> i can see with the command "lvs"
> 
> but when i connected to my guest DomU, i checked the size
> # df -h
> i found the same size like before the resize...
> 
> did i forget something to have the new size of my guest image disk...?
> 
> thanks in advance for any suggestions.

Make sure you use the tools for whatever filesystem is on the lvm volume
to resize the filesystem to take up all of the new space. As an example,
resize2fs is what you'd use for ext2 filesystems.

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


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

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