{"id":70,"date":"2026-11-11T22:37:00","date_gmt":"2026-11-11T21:37:00","guid":{"rendered":"https:\/\/www.bloy.info\/?p=70"},"modified":"2026-11-11T12:09:40","modified_gmt":"2026-11-11T11:09:40","slug":"proxmox-datastore-vollgelaufen","status":"publish","type":"post","link":"https:\/\/www.bloy.info\/index.php\/2026\/11\/11\/proxmox-datastore-vollgelaufen\/","title":{"rendered":"Proxmox Datastore vollgelaufen"},"content":{"rendered":"\n<pre class=\"wp-block-preformatted\">Datastore: HDD-RAIDz1<br><br>Garbage collection failed: atime safety check failed: update atime failed for chunk\/file \"\/HDD-RAIDZ1\/.chunks\/bb9f\/bb9f8df61474d25e71fa00722318cd387396ca1736605e1248821cc0de3d3af8\" - ENOSPC: No space left on device<br><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Kurz geschaut, was voll ist auf dem entsprechenden host, in diesem fall ein Proxmox Backup Server. Daf\u00fcr melde ich mich via ssh an, es w\u00fcrde ebenso reichen in der WebGui zu schauen.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>NAME                       USED  AVAIL  QUOTA  REFQUOTA  USEDSNAP  MOUNTPOINT\nHDD-RAIDZ1                3.57T     0B   none      none        0B  \/HDD-RAIDZ1\nrpool                      158G   715G   none      none        0B  \/rpool\nrpool\/ROOT                11.7G   715G   none      none        0B  \/rpool\/ROOT\nrpool\/ROOT\/pve-1          11.7G   715G   none      none        0B  \/\nrpool\/data                 129G   715G   none      none        0B  \/rpool\/data\nrpool\/data\/vm-100-disk-0  3.80G   715G      -         -        0B  -\nrpool\/data\/vm-101-disk-0  7.31G   715G      -         -        0B  -\nrpool\/data\/vm-102-disk-0  9.89G   715G      -         -        0B  -\nrpool\/data\/vm-103-disk-0  4.04G   715G      -         -        0B  -\nrpool\/data\/vm-104-disk-0  3.02G   715G      -         -        0B  -\nrpool\/data\/vm-105-disk-0  24.4G   715G      -         -        0B  -\nrpool\/data\/vm-106-disk-0  9.95G   715G      -         -        0B  -\nrpool\/data\/vm-108-disk-0  9.05G   715G      -         -        0B  -\nrpool\/data\/vm-109-disk-0  18.6G   715G      -         -        0B  -\nrpool\/data\/vm-110-disk-0  1.90G   715G      -         -        0B  -\nrpool\/data\/vm-111-disk-0  5.09G   715G      -         -        0B  -\nrpool\/data\/vm-112-disk-0  4.44G   715G      -         -        0B  -\nrpool\/data\/vm-113-disk-0  9.48G   715G      -         -        0B  -\nrpool\/data\/vm-114-disk-0  16.4G   715G      -         -        0B  -\nrpool\/data\/vm-115-disk-0  1.81G   715G      -         -        0B  -\nrpool\/var-lib-vz          17.1G   715G   none      none        0B  \/var\/lib\/vz\nroot@host1:~#<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Da ist schnell klar: HDD-RAIDZ1 ist vollgelaufen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ziel ist nun den Reservespeicher des Dateisystems zu verkleinern, um genug Platz zu haben, dass wieder Dateitransaktionen m\u00f6glich sind, um alte Backups zu l\u00f6schen.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cat \/sys\/module\/zfs\/parameters\/spa_slop_shift\n5<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Gibt den aktuellen Status aus, mit 6 w\u00e4re der Reservespeicher geringer, das setze ich nun um<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo 6 > \/sys\/module\/zfs\/parameters\/spa_slop_shift<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">und schon habe ich genug Speicherplatz, Backups wieder bearbeiten zu k\u00f6nnen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Das Ergebnis spricht f\u00fcr sich<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>root@host1:~# zfs list -o name,used,avail,quota,refquota,usedbysnapshots,mountpoint\nNAME                       USED  AVAIL  QUOTA  REFQUOTA  USEDSNAP  MOUNTPOINT\nHDD-RAIDZ1                3.50T  69.5G   none      none        0B  \/HDD-RAIDZ1\nrpool                      153G   720G   none      none        0B  \/rpool\nrpool\/ROOT                11.7G   720G   none      none        0B  \/rpool\/ROOT\nrpool\/ROOT\/pve-1          11.7G   720G   none      none        0B  \/\nrpool\/data                 124G   720G   none      none        0B  \/rpool\/data\nrpool\/data\/vm-100-disk-0  3.80G   720G      -         -        0B  -\nrpool\/data\/vm-101-disk-0  7.31G   720G      -         -        0B  -\nrpool\/data\/vm-102-disk-0  9.52G   720G      -         -        0B  -\nrpool\/data\/vm-103-disk-0  3.65G   720G      -         -        0B  -\nrpool\/data\/vm-104-disk-0  3.02G   720G      -         -        0B  -\nrpool\/data\/vm-105-disk-0  21.6G   720G      -         -        0B  -\nrpool\/data\/vm-106-disk-0  9.63G   720G      -         -        0B  -\nrpool\/data\/vm-108-disk-0  7.91G   720G      -         -        0B  -\nrpool\/data\/vm-109-disk-0  18.7G   720G      -         -        0B  -\nrpool\/data\/vm-110-disk-0  1.90G   720G      -         -        0B  -\nrpool\/data\/vm-111-disk-0  5.09G   720G      -         -        0B  -\nrpool\/data\/vm-112-disk-0  4.43G   720G      -         -        0B  -\nrpool\/data\/vm-113-disk-0  9.46G   720G      -         -        0B  -\nrpool\/data\/vm-114-disk-0  16.4G   720G      -         -        0B  -\nrpool\/data\/vm-115-disk-0  1.81G   720G      -         -        0B  -\nrpool\/var-lib-vz          17.1G   720G   none      none        0B  \/var\/lib\/vz<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Danach setze ich noch den Wert f\u00fcr &#8222;L\u00f6schschutz von 24h05Minuten (1445 Minuten) auf 4 Minuten. Dazu gehe ich \u00fcber den Namen des Storages->Optionen->Tuning Options<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"779\" height=\"446\" src=\"https:\/\/www.bloy.info\/wp-content\/uploads\/2026\/11\/Bildschirmfoto_20261111_112712.webp\" alt=\"Screenshot des Dialogs \u201eTuning Options\u201c in Proxmox Backup Server. Die Pr\u00fcfung der Zugriffszeit f\u00fcr die Garbage Collection ist aktiviert. Das hervorgehobene Feld \u201eGC Access-Time Cutoff (minutes)\u201c zeigt 1445 Minuten (24 Stunden und 5 Minuten).\" class=\"wp-image-72\" srcset=\"https:\/\/www.bloy.info\/wp-content\/uploads\/2026\/11\/Bildschirmfoto_20261111_112712.webp 779w, https:\/\/www.bloy.info\/wp-content\/uploads\/2026\/11\/Bildschirmfoto_20261111_112712-300x172.webp 300w, https:\/\/www.bloy.info\/wp-content\/uploads\/2026\/11\/Bildschirmfoto_20261111_112712-768x440.webp 768w\" sizes=\"auto, (max-width: 779px) 100vw, 779px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">L\u00f6sche die Backups, welche nicht mehr ben\u00f6tigt werden. Dabei ist es sinnvoll auch die Vorhaltezeiten der Backups anzupassen, damit der Fehler nicht erneut auftritt.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sobald das erledigt ist lasse ich erst &#8222;prune&#8220; einmal direkt durchlaufen und danach den Garbage Collect Job.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Via <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>name,used,avail,quota,refquota,usedbysnapshots,mountpoint<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">kann ich nun sehen, wie nach und nach Speicher freigeben wird.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\nNAME                       USED  AVAIL  QUOTA  REFQUOTA  USEDSNAP  MOUNTPOINT\nHDD-RAIDZ1                3.48T  86.7G   none      none        0B  \/HDD-RAIDZ1\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Das dauert alles etwas.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>NAME                       USED  AVAIL  QUOTA  REFQUOTA  USEDSNAP  MOUNTPOINT\nHDD-RAIDZ1                1.35T  2.22T   none      none        0B  \/HDD-RAIDZ1\nrpool                      153G   720G   none      <\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Danach ist es sinnvoll nicht zu vergessen die entsprechenden Werte wieder hochzusetzen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo 5 > \/sys\/module\/zfs\/parameters\/spa_slop_shift<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">und<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"779\" height=\"446\" src=\"https:\/\/www.bloy.info\/wp-content\/uploads\/2026\/11\/Bildschirmfoto_20261111_112712.webp\" alt=\"Screenshot des Dialogs \u201eTuning Options\u201c in Proxmox Backup Server. Die Pr\u00fcfung der Zugriffszeit f\u00fcr die Garbage Collection ist aktiviert. Das hervorgehobene Feld \u201eGC Access-Time Cutoff (minutes)\u201c zeigt 1445 Minuten (24 Stunden und 5 Minuten).\" class=\"wp-image-72\" srcset=\"https:\/\/www.bloy.info\/wp-content\/uploads\/2026\/11\/Bildschirmfoto_20261111_112712.webp 779w, https:\/\/www.bloy.info\/wp-content\/uploads\/2026\/11\/Bildschirmfoto_20261111_112712-300x172.webp 300w, https:\/\/www.bloy.info\/wp-content\/uploads\/2026\/11\/Bildschirmfoto_20261111_112712-768x440.webp 768w\" sizes=\"auto, (max-width: 779px) 100vw, 779px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">wieder hochzusetzen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Das Beitragsbild wurde mit einer KI erzeugt. Der Rest des Textes ist Handarbeit. Zur Recherche wurde google verwendet.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Datastore: HDD-RAIDz1Garbage collection failed: atime safety check failed: update atime failed for chunk\/file &#8222;\/HDD-RAIDZ1\/.chunks\/bb9f\/bb9f8df61474d25e71fa00722318cd387396ca1736605e1248821cc0de3d3af8&#8220; &#8211; ENOSPC: No space left on device Kurz geschaut, was voll ist auf dem entsprechenden host, in diesem fall ein Proxmox Backup Server. Daf\u00fcr melde ich mich via ssh an, es w\u00fcrde ebenso reichen in der WebGui zu schauen. Da ist [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":79,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-70","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-allgemein"],"_links":{"self":[{"href":"https:\/\/www.bloy.info\/index.php\/wp-json\/wp\/v2\/posts\/70","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bloy.info\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bloy.info\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bloy.info\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bloy.info\/index.php\/wp-json\/wp\/v2\/comments?post=70"}],"version-history":[{"count":7,"href":"https:\/\/www.bloy.info\/index.php\/wp-json\/wp\/v2\/posts\/70\/revisions"}],"predecessor-version":[{"id":80,"href":"https:\/\/www.bloy.info\/index.php\/wp-json\/wp\/v2\/posts\/70\/revisions\/80"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bloy.info\/index.php\/wp-json\/wp\/v2\/media\/79"}],"wp:attachment":[{"href":"https:\/\/www.bloy.info\/index.php\/wp-json\/wp\/v2\/media?parent=70"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bloy.info\/index.php\/wp-json\/wp\/v2\/categories?post=70"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bloy.info\/index.php\/wp-json\/wp\/v2\/tags?post=70"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}