Thanks for your answers, but I
still don't know how to do it. Ben, yes I used an lvg with xenguest-install. Then, with anaconda, I created a single partition in it to mount "/" (size=full disk=size of lvg). domU sees one disk (/dev/xvda) with one partition (/dev/xvda1) and yes, after that, I successfully expanded the size of the lvg from dom0. After that I'm stucked: - I cant expand the filesystem for "/" from domU: "fdisk" gives the correct (new) size for "/dev/xvda", but I can't use parted or rezise2fs on "/dev/xvda1" as it is mounted... - I could create another lvg, clone its content ("dd if=lvg of=clonevg"), then start my domU from the clonevg and pass the original one to the domU in the config file, then use "parted" on "resize2fs" from domU on teh unmounted partition, then stop domU and start it again with the original expanded lvg with teh expanded filesystem on it . But it's a real pain.. - Maybe, from dom0, a combination of "lomount" and "parted" or "resize2fs" or other tools could do the job but I don't know how to do it. Thanks for your help. (I realize after re-reading that maybe this is not a xen specific question..) Ben wrote: Sorry, I should have been more clear. When you create the domU, you need to give it an LVM logical volume. As far as the domU is concerned, it's just a disk. But from the dom0 side, it's an easily expandible partition. After you grow it, use tools on the domU side to expand the filesystem. |