May 21, 201610 yr Hi, I have a 480GB SSD as my cache disk. I have a windows VM & a few dockers running on it. My vdisk share is marked as Cache Only. I recently increased my VDISK size form 25GB to 75GB. This shows up fine in the VM tab as well as within Windows. When I go in the main tab however, my cache disk shows only 47GB used even though my docker is 15GB and my VM is 75GB. I can't quite figure out why that would be. Any ideas? I am running 6.1.9 Plus
May 21, 201610 yr When I go in the main tab however, my cache disk shows only 47GB used even though my docker is 15GB and my VM is 75GB. I can't quite figure out why that would be. Any ideas? The VM image is a sparse file, and only uses whatever space is occupied inside the VM. Be careful you don't accidentally run out of space, whatever you copy to the VM disk will occupy additional space on the cache drive.
May 21, 201610 yr Author When I go in the main tab however, my cache disk shows only 47GB used even though my docker is 15GB and my VM is 75GB. I can't quite figure out why that would be. Any ideas? The VM image is a sparse file, and only uses whatever space is occupied inside the VM. Be careful you don't accidentally run out of space, whatever you copy to the VM disk will occupy additional space on the cache drive. Ok, so if I understand correctly, when I tell the VDISK to be 75GB it doesn't actually reserve the space for the VM? Any unused space is available to anything writing to the cache drive?
May 21, 201610 yr When I go in the main tab however, my cache disk shows only 47GB used even though my docker is 15GB and my VM is 75GB. I can't quite figure out why that would be. Any ideas? The VM image is a sparse file, and only uses whatever space is occupied inside the VM. Be careful you don't accidentally run out of space, whatever you copy to the VM disk will occupy additional space on the cache drive. Ok, so if I understand correctly, when I tell the VDISK to be 75GB it doesn't actually reserve the space for the VM? Any unused space is available to anything writing to the cache drive? Yep. From the VM's point of view, there is 75GB of available space, but until the VM actually fills that space, it's still available on the cache drive. If this behavior is not what you want, you can force the image file to take up the full amount of space.
May 21, 201610 yr Author When I go in the main tab however, my cache disk shows only 47GB used even though my docker is 15GB and my VM is 75GB. I can't quite figure out why that would be. Any ideas? The VM image is a sparse file, and only uses whatever space is occupied inside the VM. Be careful you don't accidentally run out of space, whatever you copy to the VM disk will occupy additional space on the cache drive. Ok, so if I understand correctly, when I tell the VDISK to be 75GB it doesn't actually reserve the space for the VM? Any unused space is available to anything writing to the cache drive? Yep. From the VM's point of view, there is 75GB of available space, but until the VM actually fills that space, it's still available on the cache drive. If this behavior is not what you want, you can force the image file to take up the full amount of space. Thanks for clearing that up. How do you force the image to take the space?
February 20, 20188 yr On 5/21/2016 at 11:46 AM, theGrok said: Thanks for clearing that up. How do you force the image to take the space? Anyone have an answer on this?
February 20, 20188 yr 8 hours ago, Miniwheats said: Anyone have an answer on this? https://unix.stackexchange.com/questions/169669/converting-sparse-file-to-non-sparse-in-place
Archived
This topic is now archived and is closed to further replies.