resize xen image
To resize a xen image, follow these steps.
First make a backup copy of the image, ie cp xen.image, xen.image.backup then
dd if=/dev/zero of=[image_name] bs=1 count=1 seek=20G conv=notrunc
where seek=[size in GB]
then, e2fsck -f [image_name}-y
and finally
resize2fs -p [image_name]
You should then be able to boot the new image with the new size.
Categories: sysadmin
Comments (0)
Trackbacks (0)
Leave a comment
Trackback