Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 232869

Re: How to shrink a pre-allocated vmdk?

$
0
0

Hi Eugene,

 

Thank you for your support. I am sort of late on responding, but here's my experience with the recent version you've built. Unfortnately, I get the following:

 

 

F:\VM\CentOS 6.3 x64\CentOS-6.3-64bit>shrinkvd.exe CentOS-6.3-64bit.vmdk
Desc file: "F:\VM\CentOS 6.3 x64\CentOS-6.3-64bit\CentOS-6.3-64bit.vmdk"
Disk file: "F:\VM\CentOS 6.3 x64\CentOS-6.3-64bit\CentOS-6.3-64bit-flat.vmdk"
Disk partitions:
0: boot=y, sys=83,     614400 secs (2048-616447), 0 Gb, 300 Mb
1: boot=n, sys=83,   62363648 secs (616448-62980095), 30 Gb, 30451 Mb
2: boot=n, sys=82,    4128768 secs (62980096-67108863), 2 Gb, 2016 Mb
Total sectors used:  67108864 (32 Gb, 32768 Mb)
Computed number of sectors is greater than current (67108864)

 

It seems like geometry data for the virtual disk screwed up in the CentOS-6.3-64bit.vmdk somehow. Ironically, vmware-vdiskmanager.exe worked well without producing any errors for the same disk layout file:

 

 

C:\Program Files (x86)\VMware\VMware Workstation>vmware-vdiskmanager.exe -d "F:\
VM\CentOS 6.3 x64\CentOS-6.3-64bit\CentOS-6.3-64bit.vmdk"
Defragmentation completed successfully.

C:\Program Files (x86)\VMware\VMware Workstation>vmware-vdiskmanager.exe -r "F:\
VM\CentOS 6.3 x64\CentOS-6.3-64bit\CentOS-6.3-64bit.vmdk" -t 0 "F:\VM\CentOS 6.3
x64\CentOS-6.3-64bit\CentOS-6.3-64bit-Growable.vmdk"
Creating disk 'F:\VM\CentOS 6.3 x64\CentOS-6.3-64bit\CentOS-6.3-64bit-Growable.v
mdk'
  Convert: 100% done.
Virtual disk conversion successful.

C:\Program Files (x86)\VMware\VMware Workstation>vmware-vdiskmanager.exe -k "F:\
VM\CentOS 6.3 x64\CentOS-6.3-64bit\CentOS-6.3-64bit-Growable.vmdk"
  Shrink: 100% done.
Shrink completed successfully.

 

Any clue on what could be the issue?

 

Thank you.


Viewing all articles
Browse latest Browse all 232869

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>