Personal computing discussed
Moderators: renee, morphine, Steel
JustAnEngineer wrote:Windows counts Gibibytes (GiB). Hard-drive manufacturers count Gigibytes (GB). 1 GiB = 1.073741824 GB.
bloomfielderic wrote:dedicated one of its partitions to virtual machine. I assigned 365GB to that partition. No other system files or features (e.g. System Restore, Windows Search etc) were turned on on that partition.
bloomfielderic wrote:the size of VM on the disk was only 301GB
JustAnEngineer wrote:Windows counts Gibibytes (GiB). Hard-drive manufacturers count Gigibytes (GB). 1 GiB = 1.073741824 GB.
Flying Fox wrote:bloomfielderic wrote:dedicated one of its partitions to virtual machine. I assigned 365GB to that partition. No other system files or features (e.g. System Restore, Windows Search etc) were turned on on that partition.bloomfielderic wrote:the size of VM on the disk was only 301GB
I am a bit confused by the above. Are you mounting the host partition/disk directly from inside the VM, or did you use a .vmdk file with a max allocation of 365GB? If you are mounting the partition directly and can see the files from the host, then "size of VM on the disk" does not make sense here... :o :oops:
joselillo_25 wrote:Samsung magician takes 10 gb per 120 to a thing called overprovisioning, probably the 30 gb you need are the ones that samsung is taking to increase the lifespan of your ssd, as my 120 gb drive takes 11 gb by default, yours probably is taking 30 gb.
just brew it! wrote:Did you set Windows Explorer to show system and hidden files and see if anything else shows up? It really sounds like something (maybe a swap file?) got created on the drive and is chewing up the additional space.
bloomfielderic wrote:just brew it! wrote:Did you set Windows Explorer to show system and hidden files and see if anything else shows up? It really sounds like something (maybe a swap file?) got created on the drive and is chewing up the additional space.
Yes. I didn't put any system file on that partition. It is solely for VM.
just brew it! wrote:bloomfielderic wrote:just brew it! wrote:Did you set Windows Explorer to show system and hidden files and see if anything else shows up? It really sounds like something (maybe a swap file?) got created on the drive and is chewing up the additional space.
Yes. I didn't put any system file on that partition. It is solely for VM.
Are you sure the system didn't put something there behind your back?
TwistedKestrel wrote:I'm failing to parse this right, can someone help me out?
OP created a partition specifically for use with this VM (presumably NTFS). The only thing that OP put in this partition is a dynamically allocated VMDK image file, theoretically capped at 300GB. It sounds like there is Windows VM in that image, and nothing said so far about the partition scheme within.
Is the problem with the host partition? Or a partition inside the VM?
just brew it! wrote:OK, so it sounds like the NTFS file system's internal bookkeeping data was in an inconsistent state.
Kougar wrote:just brew it! wrote:OK, so it sounds like the NTFS file system's internal bookkeeping data was in an inconsistent state.
Exactly. And it is possible apps can cause it. When I was teaching myself how to use Robocopy, after one syntax/command error I belatedly noticed the target SSD was "empty" according to windows, but up to 10GB was taken by an invisible file. Coincidentally the same size as the movie file I was using as a test file. Nothing would reveal it so I just quick reformatted the SSD to get the space back.
just brew it! wrote:Sounds like maybe you got "had" bythis issue.
It should not be possible for an application to corrupt the internal file system meta-data.
bloomfielderic wrote:Thanks to everyone who replied... Yes TwistedKestrel you are right. The problem is in the host OS.
I kind of gave up and just ran chkdsk to see what happens and it magically identified the "hidden" free sectors and bam all the free space was back. Now I just got my 60GB back out of the blue...
Can anyone explain to me what exactly happened? I am overwhelmed right now...
Recap: host OS Win10 Pro, dedicated one of the SSD partitions to a VM, the VM's max capacity was capped at 320GB (dynamic file size), the partition itself was 365GB, hadnt enabled anything on that disk except NTFS compression, which meant no pagefile, no hibernation, no Windows Search etc. (I put them in another SSD).
-> Was running VM and in the middle the host OS said the partition ran out of space. Went to Explorer and it showed 0 bytes free. VM shut down because of this and could not boot up ever since. Explorer showed the total size of all files on the partition being ~300GB.
-> Ran WinDirStat and all sorts of other software. No hidden files spotted. Nothing but the files for VM.
-> Didn't have any over provisioning enabled in Samsung Magician.
-> After assigning and formatting the partition it was used solely for VM. Didn't put any other files onto it.
-> Ran chkdsk, and problem solved. Free sectors were identified.
How come the host OS screwed up with identifying free sectors? Before running chkdsk all other tools (diskpart, etc.) were all giving false information...