[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xen-users] Resize lvm disk


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Bobby Coop <coopster@xxxxxxxxx>
  • Date: Sun, 12 Aug 2007 11:06:53 -0400
  • Delivery-date: Sun, 12 Aug 2007 08:07:26 -0700
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.