Solved

VMware Workstation shrink harddrive - guest OS Windows8.1

Posted on 2013-11-27
4
3,280 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
  • 2
  • 2
4 Comments
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 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 120
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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
vm size discrepency 2 50
vSphere Clustering DRS 3 57
Backup of system state (VMware) 19 89
Xendesktop MCS 11 34
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…
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

749 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