resize xen guest


dd if=/dev/zero of=file.img bs=1M conv=notrunc count=1 seek=5000 
 # 5GB
losetup /dev/loop1 file.img
#loop1 had to be used as xen was already running a different domU via loop0.
e2fsck -f /dev/loop1
resize2fs /dev/loop1
e2fsck -f /dev/loop1
losetup -d /dev/loop1 
 
 
 5GB

Comments

Popular posts from this blog

Water Wonder Resort

Redirect apache request to another domain

Can't use proxy because no authentication schemes are fully configured.