понедельник, 2 ноября 2009 г.

VMWare. Resize and shrink virtual disks

In order to resize and/or shrink virtual disk you have to:
1. before doing a shrink, run a really cool command line tool developed by Mark Russinovich, SDelete. Simply, execute SDelete with parameter -c inside running Virtual machine ;
2. switch off this guest virtual machine;
3. write down the settings of all the virtual disks connected to the machine;
4. Check if you have virtual disk with preallocated space. Change its type ,running the following command:
   vmware-vdiskmanager.exe -r DiskC-flat.vmdk -t 0 DiskC.vmdk
5. Run Shrink command:
   vmware-vdiskmanager.exe -k DiskC.vmdk

Комментариев нет:

Отправить комментарий