Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

VMware Workstation shrink harddrive - guest OS Windows8.1

Posted on 2013-11-27
4
Medium Priority
?
3,347 Views
Last Modified: 2013-11-27
Dear Experts,
I want to shrink my VMware drive for Windows8.1 from 160GB to 80 GB
The windows guest only uses 80GB, 80 GB are not allocated, pls see screenshot WindowsDiskUsage
What I tried:
1. starting vmware tools in the guest OS, I only get a about dialog when I click on the VMWare tools tray icon, pls see attachment VmwareToolsPopUp
2. Tried with the vmware-vdiskmanager.exe -k "pathToVMDisk\Windows 8 x64-flat.vmdk"
result: VixDiskLib: Invalid configuration file parameter.  Failed to read configuration file.
Failed to open the disk 'pathToVMDisk\Windows 8 x64-flat.vmdk' : The file specified is not a virtual disk (
0xf00003ebf).
Failed to shrink the disk 'pathToVMDisk\Windows 8 x64-flat.vmdk' : The file specified is not a virtual disk
 (0xf00003ebf).
Please see also VMvirtualmachineconfig attachment
Many thanks for your support
WindowsDiskUsage.PNG
VmwareToolsPopUp.PNG
VMvirtualmachineconfig.png
0
Comment
Question by:mruff
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 123

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 39680612
A supported method shrinking is to use VMware vCenter Converter Standalone 5.5, and create a V2V.

You will be able to change the virtual machine disk size and OS partition in a single procedure, and have the original unchanged as a copy/backup.

see my EE Article, Step by Step Tutorial Instructions with Screenshots

HOW TO:  P2V, V2V for FREE - VMware vCenter Converter Standalone 5.5

HOW TO:  Synchronize changes when completing a P2V or V2V with VMware vCenter Converter Standalone 5.1

HOW TO: Improve the transfer rate of a Physical to Virtual (P2V), Virtual to Virtual Conversion (V2V) using VMware vCenter Converter Standalone 5.0

I've also seen issues with vmware-vdiskmanager.exe and it's patch....

try changing directory to the location of the VMDK

e.g. cd "pathToVMDisk\Windows 8 x64-flat.vmdk"

and then executing a

C:\Program Files\path to\vmware-vdiskmanager.exe -k "Windows 8 x64-flat.vmdk"

execute the above in the same folder as Windows 8 x64-flat.vmdk,

make sure you have a backup, and be careful just chopping off space off a VMDK, because the OS, will complain.....
0
 

Author Comment

by:mruff
ID: 39680617
What I forgot: even thogh I configured to use the file Windows 8 x64-000002GrowAble.vmdk ask disk, If I remove the former file Windows 8 x64-flat.vmdk (size 160GB) the Windows 8.1 VM does not start - missing file Windows 8 x64-flat.vmdk
0
 
LVL 123
ID: 39680630
I've also seen issues with vmware-vdiskmanager.exe and it's patch....

try changing directory to the location of the VMDK

e.g. cd "pathToVMDisk\Windows 8 x64-flat.vmdk"

and then executing a

C:\Program Files\path to\vmware-vdiskmanager.exe -k "Windows 8 x64-flat.vmdk"

execute the above in the same folder as Windows 8 x64-flat.vmdk,

make sure you have a backup, and be careful just chopping off space off a VMDK, because the OS, will complain.....

Make sure you have no snapshots....and use a V2V...
0
 

Author Closing Comment

by:mruff
ID: 39680915
Dear hanccocka,
Perfect help - VMware vCenter Converter Standalone 5.5 did a great job. Could easily shrink the disk size.
Thanks a lot!!!!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question