April 13, 20197 yr Hey there, trying to figure out how to pre-allocate the full disk size on my Ubuntu 18.04 server VM. I'm running unifi nvr and there's a setting to keep at least X space free, and the lowest setting is 10gb. my VM only has ~500mb free because it has an expanding disk size it seems. Trying to figure the best way to go about this. I suppose I could mount one of my unraid shares, but i haven't been able to get that to work either. any ideas?
April 13, 20197 yr Not sure I understand your issue. Inside a VM you should see whatever vdisk size you specified regardless of the actual amount occupied on the physical disk. Are you perhaps asking how to set up the vdisk so that it actually occupies on the physical disk the amount of logical space you specified (I.e. avoid setting the vdisk as a ‘sparse’ file).
April 13, 20197 yr Author hmm ok so i'm stupid, the drive just isn't mounted apparently looking at `df -h` i don't see it listed anywhere, but when i run a `fdisk -l` i see it i was thinking the disk and partitons would be automatically be mounted. should i be mounting this manually with `/etc/fstab`?
Archived
This topic is now archived and is closed to further replies.