Ozon Posted July 14, 2019 Share Posted July 14, 2019 Hello! I'm quite a rookie at this but I have a gaming setup with 2 VM's running windows 10. I'm only running unraid for the gaming VM purpose but my problem is that every time I delete/remove a file from within the windows/vm I delete the files just like you would do on a normal computer by either deleting the files or shift+delete, however hard drive size never updates within the Unraid so my hard drives keep getting full and when they are full the VM get's paused and I end up having to format the hard drive. What is it that I'm doing wrong here? See on the pictures I attached, in Windows it shows 157GB free space but unraid shows it as 836MB. Quote Link to comment
itimpi Posted July 14, 2019 Share Posted July 14, 2019 (edited) I think you are misunderstanding how a vdisk used by a VM works? According to your screen shot the VM has a vdisk size of 239 GB and this is the space used at the Unraid level. UnRAID has no idea of the free space inside the vdisk - this is only visible to the Windows VM. linux allocates the vdisk as ‘sparse’ films which means that not all the space is initially allocated but as the VM runs more space will be used (potentially up to the size you specified for the vdisk). You must therefore have enough space on the Unraid drive for all vdisk files to grow to the size specified when you created them if you want to avoid problems. Edited July 14, 2019 by itimpi Quote Link to comment
Squid Posted July 14, 2019 Share Posted July 14, 2019 You still need to ensure that the vdisk size you've set is able to grow for all the VMs to their max size, (otherwise why would you set them to be so big if they won't fit), but to have the OS shrink the vdisk size if/when you delete files / uninstall / etc then you do this: https://forums.unraid.net/topic/51703-vm-faq/#comment-557606 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.