Displaying 1 result from an estimated 1 matches for "150go".
Did you mean:
150gb
2008 Jan 22
1
Resize a VM disk image
Hi guys,
I have Xen 3.0.3 installed with yum on Centos 5.1.
I''am facing an issue trying to resize the disk image of a centos 4.5 VM.
The VM disk size is 50Go and i need to add 150Go.
I tried two methods so far :
-------------1st method-----------------------
dd if=/dev/zero of=<image file> bs=1M conv=notrunc count=1 seek=2500
*
losetup /dev/loop0 <image file>
*
e2fsck -f /dev/loop0
*
resize2fs /dev/loop0
*
e2fsck -f /dev/loop0
*
losetup -d /dev/loop0
------------...