tag:blogger.com,1999:blog-3258074296776382669.post6987092520093894418..comments2022-12-03T08:51:36.571+01:00Comments on A World Full of Sharp Objects: Compact virtual spaceKjetil Klaussenhttp://www.blogger.com/profile/15985372289245420671noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-3258074296776382669.post-1219637609998051722017-10-31T08:59:55.916+01:002017-10-31T08:59:55.916+01:00Hi, Ryan!
Thanks for your comment, but I have to ...Hi, Ryan!<br /><br />Thanks for your comment, but I have to admit that I haven't kept up with virtualization lately so vhdx is unfortunately not something I know much about. But PreCompact is suppose to run on the virtual machine, and although I'm not a Linux guy, I believe running the precompact.exe on Linux is not supported :)<br /><br />As for a solution to your problem I'd suggest you take a look at the 'Edit virtual hard disk' wizard in the Hyper-V management console. A part from that I'm afraid I can't help you out here.<br /><br />-kjetilKjetil Klaussenhttps://www.blogger.com/profile/15985372289245420671noreply@blogger.comtag:blogger.com,1999:blog-3258074296776382669.post-73046521729886555962017-10-30T17:32:08.425+01:002017-10-30T17:32:08.425+01:00Using Precompact.exe, I'm trying to compact a ...Using Precompact.exe, I'm trying to compact a non-ntfs vhdx guest virtual machine hard drive file running on a hyper-v 2012r2 host. <br /><br />Path on host is c:\hyper-v\dimension\data\dimension_data.vhdx<br /><br />'dimension_data.vhdx' is a Linux-formatted WatchGuard drive used for logging that is over 5tb in size.<br /><br />I looked over the switches and am perplexed on syntax needed to target drive since it isn't a 'disk' mapped by host OS.<br /><br />PRECOMPACT -SetDisk:<br /><br />Any thoughts on how to target this .vhdx file?<br /><br />Thanks,<br />Ryan<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3258074296776382669.post-36515930763790120902014-08-12T08:23:46.580+02:002014-08-12T08:23:46.580+02:00@Anonymous: I don't think the precompact requi...@Anonymous: I don't think the precompact requires any extra free space. All it does AFAIK is to clean up deleted data on the VHD.Kjetil Klaussenhttps://www.blogger.com/profile/15985372289245420671noreply@blogger.comtag:blogger.com,1999:blog-3258074296776382669.post-23678569380367292602014-08-05T20:55:41.546+02:002014-08-05T20:55:41.546+02:00Does doing the precompact.exe command require a ce...Does doing the precompact.exe command require a certain amount of free space to be available on the host?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3258074296776382669.post-6567735259804269142013-09-22T14:24:02.214+02:002013-09-22T14:24:02.214+02:00Thank you for this great explanation.
Strange that...Thank you for this great explanation.<br />Strange that this guide was so hard to find. Especially the DISKPART-part.<br /><br />I used next query in Google to find this page:<br />"Windows virtual pc" compact vhd -2007 -"windows xp" -hyper<br /><br />Mu VHD shrank for 30.4 Gb to 24.6 Gb.<br />Thank again,<br />EmielEmiel Nijhuishttp://redcirclesoftware.comnoreply@blogger.com