问题描述
我的主分区有 2.93 Tb 供快照使用:
root@ncloud:~# zfs list -o space bionic-rpool/home/nickc
NAME AVAIL USED USEDSNAP USEDDS USEDREFRESERV USEDCHILD
bionic-rpool/home/nickc 1.42T 6.98T 2.93T 4.04T 0B 0B
但是,所有快照的完整列表给出的总使用量仅为 165 Gb:
root@ncloud:~# zfs list -t snap -o space | grep home/nickc | awk '{print $3}' | numfmt --from=iec | awk '{sum += $1} END {print sum}' | numfmt --to=iec
165G
我正在按照 root-on-zfs 说明运行 Ubuntu 18.04 here:
以下是快照的完整列表:
root@ncloud:~# echo "NAME USED AVAIL REFER MOUNTPOINT"; zfs list -t snap | grep home/nickc | sort -k 2,2h
NAME USED AVAIL REFER MOUNTPOINT
bionic-rpool/home/nickc@zfs-auto-snap_daily-2021-01-08-0005 704K - 6.23T -
bionic-rpool/home/nickc@zfs-auto-snap_weekly-2021-01-08-0010 716K - 6.23T -
bionic-rpool/home/nickc@zfs-auto-snap_hourly-2021-01-11-1317 816K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_hourly-2021-01-12-0017 840K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_frequent-2021-01-12-1115 844K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_hourly-2021-01-11-1617 844K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_hourly-2021-01-12-1117 848K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_hourly-2021-01-11-2217 852K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_hourly-2021-01-11-1417 856K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_hourly-2021-01-12-1017 856K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_frequent-2021-01-12-1045 860K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_daily-2021-01-12-0008 864K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_hourly-2021-01-11-1917 864K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_hourly-2021-01-12-0117 864K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_hourly-2021-01-11-1517 868K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_hourly-2021-01-12-0717 868K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_hourly-2021-01-12-0317 876K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_hourly-2021-01-12-0617 876K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_hourly-2021-01-12-0917 876K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_frequent-2021-01-12-1030 880K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_hourly-2021-01-12-0417 904K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_hourly-2021-01-11-1717 908K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_hourly-2021-01-11-2117 908K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_hourly-2021-01-12-0217 908K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_frequent-2021-01-12-1100 916K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_hourly-2021-01-12-0817 916K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_hourly-2021-01-11-2317 920K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_hourly-2021-01-11-1817 924K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_hourly-2021-01-11-2017 936K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_hourly-2021-01-11-1217 944K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_hourly-2021-01-12-0517 944K - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_daily-2021-01-11-0007 1.47M - 4.04T -
bionic-rpool/home/nickc@zfs-auto-snap_daily-2021-01-09-0005 1.77M - 6.23T -
bionic-rpool/home/nickc@zfs-auto-snap_daily-2021-01-06-0008 2.20M - 6.23T -
bionic-rpool/home/nickc@zfs-auto-snap_weekly-2020-12-25-0014 5.84M - 6.03T -
bionic-rpool/home/nickc@zfs-auto-snap_monthly-2020-06-22-2318 6.35M - 3.98T -
bionic-rpool/home/nickc@zfs-auto-snap_daily-2021-01-07-0008 6.83M - 6.23T -
bionic-rpool/home/nickc@zfs-auto-snap_monthly-2020-07-22-2318 9.16M - 3.98T -
bionic-rpool/home/nickc@zfs-auto-snap_daily-2021-01-10-0006 10.0M - 6.24T -
bionic-rpool/home/nickc@zfs-auto-snap_monthly-2020-03-25-0019 16.7M - 34.1G -
bionic-rpool/home/nickc@zfs-auto-snap_monthly-2020-08-22-2318 22.5M - 3.99T -
bionic-rpool/home/nickc@zfs-auto-snap_monthly-2020-10-21-2316 23.5M - 4.39T -
bionic-rpool/home/nickc@zfs-auto-snap_monthly-2020-11-21-0018 24.7M - 4.42T -
bionic-rpool/home/nickc@zfs-auto-snap_monthly-2020-02-25-0018 28.7M - 24.6G -
bionic-rpool/home/nickc@zfs-auto-snap_monthly-2020-09-21-2316 37.5M - 3.96T -
bionic-rpool/home/nickc@zfs-auto-snap_weekly-2021-01-01-0010 380M - 6.23T -
bionic-rpool/home/nickc@zfs-auto-snap_weekly-2020-12-18-0011 382M - 4.44T -
bionic-rpool/home/nickc@zfs-auto-snap_monthly-2020-01-27-0017 13.3G - 16.0G -
bionic-rpool/home/nickc@zfs-auto-snap_monthly-2020-12-21-0019 63.3G - 4.50T -
bionic-rpool/home/nickc@zfs-auto-snap_monthly-2020-05-23-2318 87.3G - 3.85T -
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)