Привет, lxd сожрал место в моей песочнице. совокупный объем данных контейнеров 4.80G , объем сожраного места 17.6G.
Снепшотов контейнеров нет, снепшотов zfs нет
По моим расчетам оно должно скушать пустой имидж от ubuntu 18 плюс то, что наизменяли контейнеры.
root@sdf:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
zfs 17.6G 1.61G 24K none
zfs/containers 4.80G 1.61G 24K none
zfs/containers/git 677M 1.61G 1.60G /var/snap/lxd/common/lxd/storage-pools/zfs/containers/git
zfs/containers/mail 1.95G 1.61G 5.72G /var/snap/lxd/common/lxd/storage-pools/zfs/containers/mail
zfs/containers/nginx 268M 1.61G 998M /var/snap/lxd/common/lxd/storage-pools/zfs/containers/nginx
zfs/containers/seafile 1.92G 1.61G 4.11G /var/snap/lxd/common/lxd/storage-pools/zfs/containers/seafile
zfs/custom 24K 1.61G 24K none
zfs/custom-snapshots 24K 1.61G 24K none
zfs/deleted 48K 1.61G 24K none
zfs/deleted/images 24K 1.61G 24K none
zfs/images 12.2G 1.61G 24K none
zfs/images/59d25aabc614ab51c0cd935d0064087b09ae57cd6aa617d06b6337dccd04a4a0 6.55G 1.61G 6.55G none
zfs/images/9e3f0c60bacc14576c5765b4cb2b5777330dc25b955f04f2bac3721b5f38b5f2 994M 1.61G 994M none
zfs/images/b9545f01667a09e59ec668e3f6ba5ccee6aaa4690a4d9e33403ef66e23961e6e 1.43G 1.61G 1.43G none
zfs/images/e2dab92d3ed16585cf17634c23a465b35c729a58c0b492373e8a2c866b50788e 3.28G 1.61G 3.28G none
zfs/share 615M 1.61G 24K none
zfs/share/sdf 615M 1.61G 615M /zfs/share/sdf
zfs/snapshots 24K 1.61G 24K none
root@sdf:~# lxc image list
+-------+--------------+--------+--------------------------------------+--------+-----------+-----------+-------------------------------+
| ALIAS | FINGERPRINT | PUBLIC | DESCRIPTION | ARCH | TYPE | SIZE | UPLOAD DATE |
+-------+--------------+--------+--------------------------------------+--------+-----------+-----------+-------------------------------+
| git | b9545f01667a | no | Ubuntu 18.04 LTS server (20190529) | x86_64 | CONTAINER | 412.69MB | Jul 10, 2019 at 9:39am (UTC) |
+-------+--------------+--------+--------------------------------------+--------+-----------+-----------+-------------------------------+
| mail | 59d25aabc614 | no | Ubuntu 18.04 LTS server (20190627.1) | x86_64 | CONTAINER | 2497.76MB | Jul 10, 2019 at 10:23am (UTC) |
+-------+--------------+--------+--------------------------------------+--------+-----------+-----------+-------------------------------+
| nginx | 9e3f0c60bacc | no | Ubuntu 18.04 LTS server (20190529) | x86_64 | CONTAINER | 320.05MB | Jul 10, 2019 at 9:35am (UTC) |
+-------+--------------+--------+--------------------------------------+--------+-----------+-----------+-------------------------------+
| sea | e2dab92d3ed1 | no | Ubuntu 18.04 LTS server (20190627.1) | x86_64 | CONTAINER | 1605.87MB | Jul 10, 2019 at 10:26am (UTC) |
+-------+--------------+--------+--------------------------------------+--------+-----------+-----------+-------------------------------+
root@sdf:~# zpool status
pool: zfs
state: ONLINE
scan: scrub repaired 0B in 0h3m with 0 errors on Thu Oct 10 12:44:09 2019
config:
NAME STATE READ WRITE CKSUM
zfs ONLINE 0 0 0
scsi-0HC_Volume_2876945 ONLINE 0 0 0
errors: No known data errors
root@sdf:~# zpool history zfs
History for 'zfs':
2019-07-10.11:08:22 zpool create zfs /dev/disk/by-id/scsi-0HC_Volume_2876945