<div dir="ltr"><div>My LXD was configured by me to be 100GB during install but after a week or two it grew to take the entire host disc:<br></div><div><br></div>stat /mnt/var/snap/lxd/common/lxd/disks/default.img<br>  File: /mnt/var/snap/lxd/common/lxd/disks/default.img<br><div>  Size: 256000000000    Blocks: 441883848  IO Block: 4096   regular file</div><div><br></div><div></div><div>The data inside the container is actually only 30GB.</div><div><br></div><div>Now even the host machine cannot boot because there is no space left on the device.<br></div><div><br></div><div># df .<br>Filesystem     1K-blocks      Used Available Use% Mounted on<br>/dev/md2       227923708 225440664         0 100% /mnt<br></div><div><br></div><div>default.img seems to be ZFS because:</div><div><br></div><div>mount -o loop /mnt/var/snap/lxd/common/lxd/disks/default.img /mnt1<br>mount: /mnt1: unknown filesystem type 'zfs_member'.</div><div><br></div><div>I read entire mans for zfs and zpool and googled for hours, and browser LXD manual as well, but I can't find any way to fix the problem. I need to shrink the default.img some how. Please help!</div><div><br></div><div>Currently I can only access the host machine through the Rescue boot on Hetzner. So I can use zfs/zpool more or less with zfs-fuse.</div><div><br></div><div>Our production system is down, sigh.<br></div><div><br></div><div>Yash</div><div><br></div><div><br></div><br></div>