VMware {code} Community
fixitchris
Hot Shot
Hot Shot

Shrink (-k) fails

I have a growable NTFS disk with a max size of 80GB. The VMDK was located on a host with 45GB free space. Initially the VMDK was 20GB but over time it grew to 45GB. The VM then stopped with an error of insufficient disk space and would not start up. I was able to prepare it for shrinking but when running -k I get this error:

Failed to open the disk 'm:' : Unknown error (0x7b000900000001).
Failed to shrink the disk 'm:' : Unknown error (0x7b000900000001).

Is this still recoverable?

0 Kudos
1 Reply
fixitchris
Hot Shot
Hot Shot

Nevermind, first of all I was trying to run Vdisdmanager -k m: and not on the VMDK, second of all I had a mapped drive to m: and after net use m: /delete I got this error:

FILE: CreateEntryDirectory creation failure on 'M:\.lck': No such file or directory

FILE: FileIO_Lock on 'm:' failed: No such file or directory

Failed to open the disk 'm:' : A file was not found (0x3000900000004).

Failed to shrink the disk 'm:' : A file was not found (0x3000900000004).

This is on Server 2008, so the confusion lied in that I had two command prompts open to get the right privilage on the fs, one with my regular user token and the other with the admin token...

0 Kudos