This content has been marked as final. Show 3 replies
I think that as long as its not the root disk,this should be possible1 person found this helpful
I would do the following (assuming its a Linux guest) :
Create a virtual disk
Assign the virtual disk to the guest
Create a partition and ext3 FS on of the new disk
Copy the data from the guest
Drop the old disk
Btw,I think that the disks are sparse,i.e not really using 150 Gb of storage
Edited by: Rudi on Dec 23, 2012 5:27 AM
Currently there are available the option of P2V: Shrink size of virtual disk.
I recommend the following:
OPTION 1: vmware converter.
1. - Convert from VMware Converter VMware VM (Shrink size of virtual disk).
2. - Then with Oracle VM Manager, perform the conversion to oracle vm vmware vm.
3. - Done.
OPTION 2: Perform OS-level backup.
1. - Perform Backup gunzip OS level.
2. - Restores level OS on a new VM.
Hi, thx for help, I finally did it.
1. Boot up VM that needs to be shrinked with GParted Live CD
2. Shrinked partition(dev/hda5) so that unneeded space is left as unallocated
3. Created new hard disk with enough space and attached it to VM
4. Booted up with GParted Live CD and copied all partitions to new disk(except unallocated partitions)
5. Created new VM with new disk
6. After that, I booted up new VM with Rescue Live CD, and entered into grub:
6.1. grub>root (hd0,0)
6.2. grub>setup (hd0)
Now I have the same VM, just it's using over 50GB less space. :)
Edited by: DBagy on Jan 15, 2013 5:00 AM