Vmkfstools Windows 10

Posted by on Nov 9 2015 (updated on Jul 6 2016) in • • • • • • This is one of those home lab housekeeping duties that I just hadn't gotten around to. Kind of gets your attention when your datastores start to fill, or you can't Storage vMotion VMs in. Eventually you get weary of the warnings, and you certainly don't want to get to 100% full, when VMs get frozen. So it was time to dig in and fix it.

I have a VM that I occasionally use for Gateway duties, at least until I get my wired straight to my cablemodem again. This was my last of my home lab's VMs stuck back in Windows 7. I was curious how an upgrade would go, straight to Windows 10. Of course, I also wanted to be able to roll-back very easily, if things went sideways. So I grabbed a snapshot of the VM before I began, as a very quick backup of sorts. I then mounted the Windows 10 file, and ran through the usual upgrade process. After I was comfortable that all was well with the VM, and finished up some to Hamachi's gateway function to get it going again, I then deleted all the snapshots.

Sep 1, 2013 - The util is similar to the ESXi shell command vmkfstools but can be run on a Windows box. It has the ability to expand / convert a VMDK file out.

This level of commitment also removed my instant way to revert to Windows 7. I next looked at the C: drive in the Windows 10 VM after the upgrade, and it showed 42GB of data. After running the 'Disk Clean-up for C:', I now had 21GB of data, halving my storage need. But guess what?

The VMFS datastore space in use indication didn't drop at all. And this was precious SSD storage, where I leave all my most used VMs are left running. The dirty secret here is that here is no automatic space reclamation in this scenario. That's right, your VMFS filesystem that has a bunch of thin provisioned VMs will invariably run into trouble, especially obvious with smaller SSDs. All my VMs that I leave running on SSD storage are thinly provisioned, even VCSA. That way, the VM 'thinks' it has, say, a 750GB drive (could go all the way with EFI virtual BIOS type).

The physical SSD is actually much much smaller, merely 256GB in this case, actually. Using thin provisioning for everything, I don't have to try to figure out in advance how much storage the VM will ever need. This tends to waste space, and increases the hassle, having to grow that Windows VM's C: drive.

My alternative means I do have to monitor datastore usage careful. Those are both topics for another day. For now, let's just say I'm done with thick provisioning in my home lab, even on spinning drives, with my whole storage strategy laid out here. I don't want to set side storage that I wind up never using, and I've noticed that SSDs are fast enough that the impact of not pre-allocating/thick provisioning isn't noticeable. Technically, you could Storage vMotion to another drive, then Storage vMotion back again, as discussed by others folks in disbelief about local disk reclaim, over in the VMware Community forums. What if I not only don't want to do the double-vMotion workaround, or if I don't even have a drive with enough room available to do such a time consuming, multi-step workaround? So started the Googling, and some more Googling, to discover many complicated ways to do reclaim.

Breadcrumbs • • • • • Current: Driver’s Manual Driver’s Manual The most up-to-date version of the Indiana Driver’s Manual is available for you to listen to or download below. The BMV’s Driver’s Manual contains the latest information you will need to successfully pass an operator’s knowledge examination and obtain an Indiana driver’s license. The Driver’s Manual is also a great way for anyone to review updated traffic laws and regulations. Drivers manual audio book.

Along with many ways that are not applicable, such as the VAAI Primitive called UNMAP that just isn't available on local datastores, that part of the 'HW acceleration' you see on SAN LUNs and iSCSI/NFS NAS datastores, see also and: • Back to local disks. Another of the reclaim methods that I read about somewhere suggested I turn off Change Block Tracking on the VM, which seemed to me would give backup products such as Veeam or NAKIVO issues some fits later on, especially for my huge Windows 2012 R2 Essentials VM, with several terabytes of PC backups and video projects on there. Can it really be this difficult? Isn't there an easier way? Yes, there is! So the hunt for a better way continued.

Vmkfstools Windows 10

Once I stumbled upon this article: • Dec 12 2014 by lunarg at Black Manticore I was now confident enough that SDelete/vmkfstools combo was likely to work out, and looked more appealing than the prior tinkering I had done with the much more complicated that required many steps and tools, for my much larger spinning disk (it took overnight). Read more about the implications of turning off CBT in VMware KBs. SDelete has built up many years of trust. But note that folks that are trying to shrink modern Windows OS's disk usage likely also have Powershell. Then it might be better to use, which is supposed to be much faster for zeroing out those now-unused bits.

I haven't tested that, yet. So with the new new instructions handy, I began the video recording. That's right, you'll hear me share my thought process as I went about developing and testing a simpler process, my first time, in the video below.