Wednesday 14 May 2008

XEN + LVM2




Recently, my company was set up a sys with xen and bound on LVM2.
However, I got the problem while I resizing the domU by resize2fs.
I could not see the extending size in domU by "df -h", and I even have resized the device of block on dom0.
I figure it out after trying plenty of times to reboot and fix the filesystem.
Okeydoke, The method to resolve resize is as below.

step1:
lvextend logical volume
step2:
resize -f /dev/volume_group/device_point
step3:
reboot domU
step4:
@domU doing " resize /dev/sda1"