Hi, one of my VMs expanded to fill the pool, and maxed out the storage. I was able to use a rescue disk to remove some files and reduce the size of the VM, but the pool is still full.
Within the VM if I run df I see I have 4TB free space on /sdb:
fstrim is enabled, and in my VM settings I have Discard checked.
My pool is ZFS and the disk is RAW format. Should I be able to shrink the disk file within the pool, or will it always stay at that size, just with free space within it?
Thanks for any help
Within the VM if I run df I see I have 4TB free space on /sdb:
Code:
~$ df -H
Filesystem Size Used Avail Use% Mounted on
tmpfs 3.4G 1.2M 3.4G 1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv 32G 21G 9.9G 68% /
tmpfs 17G 0 17G 0% /dev/shm
tmpfs 5.3M 0 5.3M 0% /run/lock
/dev/sda2 2.1G 264M 1.7G 14% /boot
/dev/sdb 35T 31T 4.2T 88% /data
tmpfs 3.4G 4.1k 3.4G 1% /run/user/1000
fstrim is enabled, and in my VM settings I have Discard checked.
My pool is ZFS and the disk is RAW format. Should I be able to shrink the disk file within the pool, or will it always stay at that size, just with free space within it?
Thanks for any help