Hallo,
ich glaube, Snapper sorgt dafür, dass meine Linux-Partition fast voll ist. Ich vermute, es liegt an der /home-Sub-Partition, die ich in Snapper angelegt habe. Timeline-Snapshots sind aktiviert. Ich habe in den letzten Stunden sehr viele Daten geändert.
Zuletzt habe ich meine Home-Config wie folgt geändert. Ich habe diesen Bereich angegeben. Vorher standen dort nur 50 bzw. 10.
NUMBER_LIMIT="2-50"
NUMBER_LIMIT_IMPORTANT="4-10"
df -h
sagt:
/dev/nvme0n1p8 943G 907G 35G 97% /
Laut config müsste deutlich mehr Platz sein.
Der einzige Unterschied zwischen den configs ist QGROUP=""
. Ich weiß nicht, ob ich das in /home
auch ändern muss.
Der verwendete Platz, der mir mit snapper -c home list
angezeigt wird, ist deutlich geringer als mir ein du -sch /home/.snapshots
anzeigt.
> sudo du -sch /home/.snapshots
7,7T /home/.snapshots
7,7T insgesamt
> sudo snapper -c home list ~@ZenbookOpenSuse
# │ Typ │ Vorher # │ Datum │ Benutzer │ Verwendeter Platz │ Bereinigen │ Beschreibung │ Benutzerdaten
───┼────────┼──────────┼──────────────────────────────┼──────────┼───────────────────┼────────────┼──────────────┼──────────────
0 │ single │ │ │ root │ │ │ current │
2 │ single │ │ Mo 28 Apr 2025 09:00:00 CEST │ root │ 4,58 GiB │ timeline │ timeline │
12 │ single │ │ Di 29 Apr 2025 09:12:18 CEST │ root │ 2,31 GiB │ timeline │ timeline │
32 │ single │ │ Mi 30 Apr 2025 07:26:20 CEST │ root │ 5,27 GiB │ timeline │ timeline │
46 │ single │ │ Do 01 Mai 2025 00:00:01 CEST │ root │ 279,06 MiB │ timeline │ timeline │
49 │ single │ │ Do 01 Mai 2025 03:00:01 CEST │ root │ 188,43 MiB │ timeline │ timeline │
50 │ single │ │ Do 01 Mai 2025 04:00:01 CEST │ root │ 28,50 MiB │ timeline │ timeline │
51 │ single │ │ Do 01 Mai 2025 05:00:01 CEST │ root │ 26,70 MiB │ timeline │ timeline │
52 │ single │ │ Do 01 Mai 2025 06:00:01 CEST │ root │ 27,56 MiB │ timeline │ timeline │
53 │ single │ │ Do 01 Mai 2025 07:00:01 CEST │ root │ 36,39 MiB │ timeline │ timeline │
54 │ single │ │ Do 01 Mai 2025 08:00:01 CEST │ root │ 80,97 MiB │ timeline │ timeline │
55 │ single │ │ Do 01 Mai 2025 09:00:01 CEST │ root │ 108,93 MiB │ timeline │ timeline │
56 │ single │ │ Do 01 Mai 2025 12:48:09 CEST │ root │ 26,76 MiB │ timeline │ timeline │
57 │ single │ │ Do 01 Mai 2025 13:00:00 CEST │ root │ 26,59 MiB │ timeline │ timeline │
58 │ single │ │ Do 01 Mai 2025 15:15:08 CEST │ root │ 59,64 MiB │ timeline │ timeline │
Hier meine config für home und root:
home:
# subvolume to snapshot
SUBVOLUME="/home"
# filesystem type
FSTYPE="btrfs"
# btrfs qgroup for space aware cleanup algorithms
QGROUP=""
# fraction or absolute size of the filesystems space the snapshots may use
SPACE_LIMIT="0.5"
# fraction or absolute size of the filesystems space that should be free
FREE_LIMIT="0.2"
# users and groups allowed to work with config
ALLOW_USERS=""
ALLOW_GROUPS=""
# sync users and groups from ALLOW_USERS and ALLOW_GROUPS to .snapshots
# directory
SYNC_ACL="no"
# start comparing pre- and post-snapshot in background after creating
# post-snapshot
BACKGROUND_COMPARISON="yes"
# run daily number cleanup
NUMBER_CLEANUP="yes"
# limit for number cleanup
NUMBER_MIN_AGE="3600"
NUMBER_LIMIT="2-50"
NUMBER_LIMIT_IMPORTANT="4-10"
# create hourly snapshots
TIMELINE_CREATE="yes"
# cleanup hourly snapshots after some time
TIMELINE_CLEANUP="yes"
# limits for timeline cleanup
TIMELINE_MIN_AGE="3600"
TIMELINE_LIMIT_HOURLY="10"
TIMELINE_LIMIT_DAILY="10"
TIMELINE_LIMIT_WEEKLY="0"
TIMELINE_LIMIT_MONTHLY="10"
TIMELINE_LIMIT_QUARTERLY="0"
TIMELINE_LIMIT_YEARLY="10"
# cleanup empty pre-post-pairs
EMPTY_PRE_POST_CLEANUP="yes"
# limits for empty pre-post-pair cleanup
EMPTY_PRE_POST_MIN_AGE="3600"
root:
# subvolume to snapshot
SUBVOLUME="/"
# filesystem type
FSTYPE="btrfs"
# btrfs qgroup for space aware cleanup algorithms
QGROUP="1/0"
# fraction or absolute size of the filesystems space the snapshots may use
SPACE_LIMIT="0.5"
# fraction or absolute size of the filesystems space that should be free
FREE_LIMIT="0.2"
# users and groups allowed to work with config
ALLOW_USERS=""
ALLOW_GROUPS=""
# sync users and groups from ALLOW_USERS and ALLOW_GROUPS to .snapshots
# directory
SYNC_ACL="no"
# start comparing pre- and post-snapshot in background after creating
# post-snapshot
BACKGROUND_COMPARISON="yes"
# run daily number cleanup
NUMBER_CLEANUP="yes"
# limit for number cleanup
NUMBER_MIN_AGE="3600"
NUMBER_LIMIT="2-10"
NUMBER_LIMIT_IMPORTANT="4-10"
# create hourly snapshots
TIMELINE_CREATE="no"
# cleanup hourly snapshots after some time
TIMELINE_CLEANUP="yes"
# limits for timeline cleanup
TIMELINE_MIN_AGE="3600"
TIMELINE_LIMIT_HOURLY="10"
TIMELINE_LIMIT_DAILY="10"
TIMELINE_LIMIT_WEEKLY="0"
TIMELINE_LIMIT_MONTHLY="10"
TIMELINE_LIMIT_QUARTERLY="0"
TIMELINE_LIMIT_YEARLY="10"
# cleanup empty pre-post-pairs
EMPTY_PRE_POST_CLEANUP="yes"
# limits for empty pre-post-pair cleanup
EMPTY_PRE_POST_MIN_AGE="3600"
Vielen Dank für alle Tipps.
Viele Grüße
Kay