[Fedora-xen] FC5/Xen LVM resize question

David Robinson drobinso at redhat.com
Thu May 11 23:22:04 UTC 2006


Heinz Deinhart wrote:

> Hi,
>
> im playing around with Xen and FC5. There is one thing i dont get 
> working. When i resize a logical volume in dom0 with lvextend, and 
> this volume is used and mounted in a domU, it seems that the domU does 
> not notice the new size of the partition until rebooted. ext2online 
> does nothing, fdisk reports the old size.

the kernel wouldn't be aware of the size change hence why fdisk reports 
the old size. try running "partprobe" - it basically tells the kernel to 
reread the partition table

> Should this work somehow without rebooting the domU, or is this the 
> intended behavior?
>
> I think, i could create a volume goup inside of a domU and add space 
> to the domU by adding new block devices and adding their space to the 
> volume group. But is this really a clever way of doing this, or are 
> there any easier ways?
>
> Thanks a lot,
> Heinz
>




More information about the Fedora-xen mailing list