[Fedora-xen] xen and lvm

Richard W.M. Jones rjones at redhat.com
Wed Nov 7 12:03:24 UTC 2007


Augusto Castelan Carlson wrote:
> I did a lvextend to add 1G to myguest, but how can I make my guest see
> that change?
> In lvm How To they use the command resize2fs to resize the filesystem,
> but I do not realize how to apply that changes to guests using LVM or
> partitioned by the guest installer.
> 
> I tried to use the guest drive partitioned as /dev/xvda1 (boot),
> /dev/xvda2 (/) and /dev/xvda3 (/home) and also with LVM.
> 
> How can I make the guest see that change?

I think pvresize is the command (in the guest).  However I'd strongly 
suggest that you take a look at a few FAQs and HOWTOs, for example:

http://tldp.org/HOWTO/LVM-HOWTO/index.html
http://tldp.org/HOWTO/LVM-HOWTO/extendlv.html

Rich.

-- 
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20071107/d7623b93/attachment.bin>


More information about the Fedora-xen mailing list