Home > sysadmin > resize xen image

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
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: