Hi@all,
we have problems using the vmware-vdiskmanager to prepare the shrinking of the vmdk files.
The vmware-vdiskmanager hangs if we are usind a vmdk file, with a lot of unused blocks. To reproduce the error we create a bunch of small files (abot 500 files, filesize 5mb) and then delete them within the running guest. Trying to prepare shrink the vmdk with the unused blocks results in a hanging system. Nothing responds any more, so we have to turn of the host machine.
Here is the abstracted script of the hole process:
- start the guest
- generate the files on each drive
- delete all generated files
- shut down the guest
- defragment each vmdk file
- prepare each vmdk file for shrinking
- shrink each vmdk file
On the later vmdk files, the processes start to zero out the blocks and hangs. Killing the processes is not possible any more.
The guest have 3-4 hdds with ntfs and fat32 partions using the whole drive. Tested guest OS are WinXP SP1/SP2/SP3 and Win Vista SP1. Tested on hosts with Win XP SP2/SP3 with Workstation 6.0.x/6.5.x and only Player 2.0.x and 2.5.x. Installed VDDKs 1.0.1 and 1.1. The problems could be reproduces in any combination of the installed sofware, but not every time. Some times the whole optimization process runs through without any errors.
The questions:
- is there any solution for these problem?
- is there any kind of logs for the vmware processes used in the optimization process?
- can somebody confirm these behavior?