Bad Chunks

Uwe Jans

Active Member
Sep 12, 2017
6
0
41
59
Hallo,

ich möchte mich erkundigen, was man mit "bad chunks" macht. Ich bin durch die GUI von PBS unter Datastore darauf aufmerksam geworden.

Im Forum habe ich nur den Find Befehl dazu gefunden.


find /mnt/datastore/store-pm/.chunks -name "*.bad" | head
/mnt/datastore/store-pm/.chunks/0001/00010ea24cb39579034c8688d3d5bd792cb1b76d6a857f91bc30c7c1e40f35b7.0.bad
/mnt/datastore/store-pm/.chunks/0007/00079db71a2306bf125cb4ba4682da1c70866423d94fc21fa83ac63ff8219fb9.0.bad
/mnt/datastore/store-pm/.chunks/0019/00199d40017c01daf7828786a22050723625eeb281eaef85534675f6a14cea69.0.bad
/mnt/datastore/store-pm/.chunks/001d/001df4ac5fb3c232e05e5278defd0721881faaa8afeb1cb324533ccdcb91f1f2.0.bad
/mnt/datastore/store-pm/.chunks/001f/001f326c7d1b9e68478565fc2a7920eb9461b1800c5a3aa6620105448e36eec6.0.bad
/mnt/datastore/store-pm/.chunks/0026/002605de2d1817db3e1f34f2e72a63b7cc43b279eddbcaab3c512fe74a160623.0.bad
/mnt/datastore/store-pm/.chunks/0029/002998459e3bfe57564f743662fd158ce1c832e7233a80da771e47be340d73f7.0.bad
/mnt/datastore/store-pm/.chunks/0033/003376bcaa4ccc1f8bcee7a4b5b149ff9caac308e2a822d667e0c9d6671debd8.0.bad
/mnt/datastore/store-pm/.chunks/0054/005400299e44091efc72a28f15ada9dd4c961bf21bcf5532b6f50445a47b9008.0.bad
/mnt/datastore/store-pm/.chunks/0069/0069fc1f3b325be29e74464cc442ea9cf7b81e353b231c7488ea3c93e97bab6c.0.bad

Ich habe wohl inzwischen aus zwei Jahren
find /mnt/datastore/store-pm/.chunks -name "*.bad" | wc
9812

9812 bad chunks angesammelt.

VG Uwe
 
Wird regelmäßig ein GC laufen gelassen? Dieser sollte diese meines Wissens nach entfernen.
Die `Bad Chunks` sind ein Resultat des Verifizierens der Backups.
 
Hallo Mira,
Ja, der GC läuft täglich, löscht aber keine Bad Chunks. Kann die per find gefundenen Bad Chunks selber löschen?

VG Uwe
 
Hallo Mira,
ich habe noch diese Informationen am Ende des GC Tasks gefunden:

2023-01-03T06:17:22+01:00: Removed garbage: 229.963 GiB
2023-01-03T06:17:22+01:00: Removed chunks: 174803
2023-01-03T06:17:22+01:00: Pending removals: 223.344 GiB (in 167657 chunks)
2023-01-03T06:17:22+01:00: Removed bad chunks: 1
2023-01-03T06:17:22+01:00: Leftover bad chunks: 9581
2023-01-03T06:17:22+01:00: Original data usage: 420.88 TiB
2023-01-03T06:17:22+01:00: On-Disk usage: 14.458 TiB (3.44%)
2023-01-03T06:17:22+01:00: On-Disk chunks: 8332493
2023-01-03T06:17:22+01:00: Deduplication factor: 29.11
2023-01-03T06:17:22+01:00: Average chunk size: 1.819 MiB
2023-01-03T06:17:23+01:00: TASK WARNINGS: 995
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!