Amvault hangs while trying to vault backups from holding disk.

Rami Lehti <[email protected]>
Newsgroups gmane.comp.archivers.amanda.user
Organization Bitwise Oy
Message-ID <[email protected]>
Hi all,

I have a setup where I have a holding disk and vtapes. Then I try to use
amvault to copy the latest full backups to tape.
This works if I use amvault's --fulls-only with --src-storage parameter
and use the vtapes as the source.
But if I try to vault backups that are still on the holding disk by
using --latest-fulls. Amvault tries to copy the first full to tape but
hangs indefinitely.

The full redacted command line is
sudo -u backup amvault --dest-storage tapelibrary --latest-fulls backupset

Here's the relevant part of the redacted log file.

ma loka 11 09:23:13.626028751 2021: pid 1126324: thd-0x562b5502a400:
amvault: Amanda::Taper::Scan::traditional result: 'redacted-vault-1014'
on tape:/dev/nst0 slot 8, mode 2
ma loka 11 09:23:13.627741696 2021: pid 1126324: thd-0x562b5502a400:
amvault:
/usr/lib/x86_64-linux-gnu/amanda/perl/Amanda/Vault.pm:1196:info:2500017
Reading '/backup/amanda/holding/20211004180502/<redacted>._.0': FILE:
date 20211004180502 host <redacted> disk / lev 0 comp .gz program
/bin/tar crypt enc client_encrypt /usr/sbin/amcrypt-ossl
client_decrypt_option -d
ma loka 11 09:23:13.627958672 2021: pid 1126324: thd-0x562b5502a400:
amvault: Amanda::Recovery::Clerk: successfully located holding file for
recovery
ma loka 11 09:23:13.628001640 2021: pid 1126324: thd-0x562b5502a400:
amvault: start_recovery called
ma loka 11 09:23:13.628634814 2021: pid 1126324: thd-0x562b5502a400:
amvault: Amanda::Taper::Scribe preparing to write, part size 0, using
LEOM detection (no caching) (splitter)  (LEOM supported)
ma loka 11 09:23:13.639842536 2021: pid 1126324: thd-0x562b5502a400:
amvault: Starting <Xfer@0x562b572a4850
(<XferSourceHolding@0x562b57f15010> ->
<XferDestTaperSplitter@0x562b57fdf060>)>
ma loka 11 09:23:13.639865559 2021: pid 1126324: thd-0x562b5502a400:
amvault: Final linkage: <XferSourceHolding@0x562b57f15010> -(MEM_RING)->
<XferDestTaperSplitter@0x562b57fdf060>
ma loka 11 09:23:13.639986931 2021: pid 1126324: thd-0x562b5502a400:
amvault: Amanda::Recovery::Clerk: starting recovery
ma loka 11 09:23:13.641060521 2021: pid 1126324: thd-0x562b5502a400:
amvault: start_recovery called

And then nothing.

Is this a bug or am I doing something wrong?

Kind regards,
Rami Lehti
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.