So, da bin ich wieder.
# btrfs fi df /
Data, single: total=921.99GiB, used=921.98GiB
System, single: total=32.00MiB, used=144.00KiB
Metadata, single: total=7.00GiB, used=4.02GiB
GlobalReserve, single: total=512.00MiB, used=0.00B
# snapper list
# | Type | Pre # | Date | User | Used Space | Cleanup | Description | Userdata
-----+--------+-------+--------------------------+------+------------+---------+-----------------------+--------------
0 | single | | | root | | | current |
1* | single | | Thu Jul 11 19:12:11 2019 | root | 63.30 GiB | | first root filesystem |
256 | pre | | Wed Sep 4 06:34:11 2019 | root | 917.36 MiB | number | zypp(zypper) | important=yes
257 | post | 256 | Wed Sep 4 06:37:41 2019 | root | 710.71 MiB | number | | important=yes
274 | pre | | Wed Sep 18 06:19:44 2019 | root | 581.74 MiB | number | zypp(zypper) | important=yes
275 | post | 274 | Wed Sep 18 06:23:41 2019 | root | 513.89 MiB | number | | important=yes
278 | pre | | Fri Sep 20 06:23:42 2019 | root | 179.54 MiB | number | zypp(zypper) | important=no
279 | post | 278 | Fri Sep 20 06:26:32 2019 | root | 51.34 MiB | number | | important=no
Alles anzeigen
Zusätzlich habe ich noch das gemacht:
# btrfs filesystem du -s /*
Total Exclusive Set shared Filename
0.00B 0.00B 0.00B /backup
760.00KiB 0.00B 760.00KiB /bin
99.52MiB 3.25MiB 96.27MiB /boot
0.00B 0.00B 0.00B /control
0.00B 0.00B 0.00B /data
ERROR: cannot check space of '/dev': Inappropriate ioctl for device
ERROR: cannot check space of '/ds': Inappropriate ioctl for device
14.80MiB 0.00B 14.80MiB /etc
397.02GiB 364.45GiB 32.57GiB /home
1.02GiB 0.00B 1.02GiB /lib
11.90MiB 0.00B 11.90MiB /lib64
0.00B 0.00B 0.00B /mnt
242.77MiB 242.77MiB 0.00B /opt
ERROR: cannot check space of '/proc': Inappropriate ioctl for device
16.67MiB 16.67MiB 0.00B /root
ERROR: cannot check space of '/run': Inappropriate ioctl for device
8.59MiB 0.00B 8.59MiB /sbin
0.00B 0.00B 0.00B /selinux
44.00KiB 44.00KiB 0.00B /srv
ERROR: cannot check space of '/sys': Inappropriate ioctl for device
0.00B 0.00B 0.00B /tmp
7.99GiB 314.07MiB 7.68GiB /usr
833.79MiB 833.79MiB 0.00B /var
Alles anzeigen
/ds ist ein Mountpoint für autofs, da werden bei Bedarf einige Verzeichnisse vom NAS eingeblendet. Alle anderen (statischen) NFS-Mounts vom NAS habe ich mal abgehängt.
Dabei ist mir auch aufgefallen, warum die 65 GB plötzlich weg waren: in /backup lagen nämlich rund 65 GB. Eigentlich wird da über die /etc/fstab nachts das Backup-Verzeichnis vom NAS gemountet. Das scheint aber sporadisch nicht zu funktionieren, vor etwa 2 Wochen lagen da mal gut 400 GB drin, quasi die komplette Sicherung statt aufs NAS nochmal auf die SSD :-(. Das obige btrfs filesystem du -s /* habe ich abgesetzt, nachdem ich mittels rm -r den Inhalt von /backup gelöscht hatte.
Somit habe ich jetzt auch wieder etwas Platz gewonnen:
# btrfs fi df /
Data, single: total=887.02GiB, used=858.96GiB
System, single: total=32.00MiB, used=128.00KiB
Metadata, single: total=7.00GiB, used=3.80GiB
GlobalReserve, single: total=512.00MiB, used=0.00B
# snapper list
# | Type | Pre # | Date | User | Used Space | Cleanup | Description | Userdata
-----+--------+-------+--------------------------+------+------------+---------+-----------------------+--------------
0 | single | | | root | | | current |
1* | single | | Thu Jul 11 19:12:11 2019 | root | 147.74 MiB | | first root filesystem |
256 | pre | | Wed Sep 4 06:34:11 2019 | root | 917.36 MiB | number | zypp(zypper) | important=yes
257 | post | 256 | Wed Sep 4 06:37:41 2019 | root | 710.71 MiB | number | | important=yes
274 | pre | | Wed Sep 18 06:19:44 2019 | root | 581.74 MiB | number | zypp(zypper) | important=yes
275 | post | 274 | Wed Sep 18 06:23:41 2019 | root | 513.89 MiB | number | | important=yes
278 | pre | | Fri Sep 20 06:23:42 2019 | root | 179.54 MiB | number | zypp(zypper) | important=no
279 | post | 278 | Fri Sep 20 06:26:32 2019 | root | 51.34 MiB | number | | important=no
Alles anzeigen
Aber die über 400 GB, die ich aus /backup mal gelöscht habe, sind anscheinend nicht wieder freigegeben worden. Und wenn ich mir den Output von btrfs filesystem du -s /* anschaue und aufaddiere (gut 410 GB), dann frage ich mich: was macht btrfs mit den knapp 600 GB, die eigentlich noch frei sein sollten? Die Snapshots belegen doch nur wenige GB.
Zum Problem der NFS-Mounts: die Einträge in /etc/fstab sehen wie folgt aus:
diskstation:/volume1/backup /backup nfs defaults 0 0
In letzter Zeit passiert es mir aber öfter, dass die Mounts nicht da sind. Wenn ich dann (als root) noch mal ein mount -a absetze, ist alles da. Insgesamt habe ich 6 NFS-Mounts in der fstab, das NAS ist ein Synology DS918+, zwischen PC und NAS hängt ein einfacher D-Link-Switch (8 Ports).