garbage collect: free orphaned chunks from disks?

Heiko Schlittermann <[email protected]> Wed, 8 Mar 2023 08:14:41 +0100
Newsgroups gmane.comp.archivers.amanda.user
Organization schlittermann -- internet & unix support
Message-ID <[email protected]>
Hi,

if I understand and observed well, then for a disk based backup we have the chunks as
single files in the slot* directories.

Given a series of dumps like

        a-host a-disk 1 1 1 0 1 1

the left most level 1 dumps are worthless, because we already dropped
the "base" level 0.

- Does amanda delete these files? From the output of `amadmin find` it
  does not look as if it does.
- Is there any pre-existing tool / procedure to do so?
  - If not: 
    - Would this be useful?
    - Where would you look for it?
    - Where would it fit best (amtape? amadmin? amcleanup?)

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
--
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: F69376CE -
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEE0L/WueylaUpvFJ3Or0zGdqa2wUIFAmQINeAACgkQr0zGdqa2
wUI1Dgf/SVwSYRhxsLdyhCYAMb9ppyh7FOFldlTmD7vtYb5P+iksafBQGUiabLYm
QhJV0XvgwU5929xuUDdlZNSrtxLLOopl06Yf8dLghAMRgZPoybOd6vlZW3O7Sbem
VSTQ2P5Zic2YR7D6OtsAVsG1COVVgnNaKA9hzIilbtEqiCfWRD+h3HqjEMgfU4BN
gXs6uHyvEWjaAzu3aka1MYCj6l7HbrCyEitbU3s6Ujy4CMqEyJs3wG9wxLr83bwj
V+z6B930HNk6Y9kvILpByM7+deSWNIAGdxZNOiXvjrly7fegQ7fmAZ2EULxApPCR
Nty7X+htJmyBiIGliyci0Onv5zTPuA==
=qAFn
-----END PGP SIGNATURE-----