Re: debian 11, vtapes not found correctly anymore
Kees Meijs | Nefos <[email protected]> Thu, 21 Apr 2022 09:03:46 +0200
| Newsgroups | gmane.comp.archivers.amanda.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, Anything in /var/log/kern.log and the like about the "amcheck-device: new Amanda::Changer::Error: type='failed', reason='notfound', message='No removable disk mounted on '/mnt/externaldisk01'' maybe? Maybe there's a clear error about the drive not being mounted and the root cause if outside of AMANDA. K. On 21-04-2022 08:59, Stefan G. Weichinger wrote: > Am 14.04.22 um 07:28 schrieb Stefan G. Weichinger: >> Am 13.04.22 um 15:29 schrieb Jose M Calhariz: >> >>> My setup is more simple >>> >>> I have several RAID6, each one is always mounted, on /vTapes1, >>> /vTapes2, ... and there is a /vLibrary where there is all slots >>> directories that are symbolic links into /vTapes* >>> >>> Have you look inside /mnt/externaldisk* to check if everything seams >>> OK? >> >> Sure. >> >> Thanks for describing your more basic setup. >> >> Things I am not sure of: >> >> * taperscan: back then JLM told me to use "lexical" because otherwise >> it didn't work (years ago, I think it was related to this >> "chg-aggregate combines multiple chg-disk changers") >> >> * labels: autolabel, metalabel ... maybe I have that wrong >> >> * and why did it break? It worked ok in these 2 sites for years. Both >> Debian, so maybe some perl-library changed or something like that? >> >> So I am basically relabeling a tape or two every day on these 2 >> amanda servers to keep the backups working. > > > Still not solved. See debug file: > > cat amcheck-device.20220421085207.debug > Thu Apr 21 08:52:07.730038795 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: pid 26173 ruid 34 euid 34 version 3.5.1: start at Thu > Apr 21 08:52:07 2022 > Thu Apr 21 08:52:07.730194892 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: reading config file /etc/amanda/vtape_usb/amanda.conf > Thu Apr 21 08:52:07.747494862 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: pid 26173 ruid 34 euid 34 version 3.5.1: rename at Thu > Apr 21 08:52:07 2022 > Thu Apr 21 08:52:07.756287648 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: chg-disk: Dir /mnt/externaldisk01 > Thu Apr 21 08:52:07.756300940 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: chg-disk: Using statefile '/mnt/externaldisk01/state' > Thu Apr 21 08:52:15.465003748 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: new Amanda::Changer::Error: type='failed', > reason='notfound', message='No removable disk mounted on > '/mnt/externaldisk01'' > Thu Apr 21 08:52:15.465126422 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: Changer 'disk01' not quit > Thu Apr 21 08:52:15.466118198 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: chg-disk: Dir /mnt/externaldisk02 > Thu Apr 21 08:52:15.466139627 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: chg-disk: Using statefile '/mnt/externaldisk02/state' > Thu Apr 21 08:52:15.664007096 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: chg-aggragte: Using statefile > '/etc/amanda/vtape_usb/aggregate.stats' > Thu Apr 21 08:52:16.499061286 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: new Amanda::Changer::Error: type='failed', > reason='notfound', message='No acceptable volumes found' > Thu Apr 21 08:52:16.654700142 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: ru_utime : 0 > Thu Apr 21 08:52:16.654750749 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: ru_stime : 0 > Thu Apr 21 08:52:16.654764307 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: ru_maxrss : 39176 > Thu Apr 21 08:52:16.654778894 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: ru_ixrss : 0 > Thu Apr 21 08:52:16.654789168 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: ru_idrss : 0 > Thu Apr 21 08:52:16.654798856 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: ru_isrss : 0 > Thu Apr 21 08:52:16.654808877 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: ru_minflt : 8815 > Thu Apr 21 08:52:16.654818861 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: ru_majflt : 0 > Thu Apr 21 08:52:16.654828484 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: ru_nswap : 0 > Thu Apr 21 08:52:16.654838003 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: ru_inblock : 1168 > Thu Apr 21 08:52:16.654847930 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: ru_oublock : 32 > Thu Apr 21 08:52:16.654857650 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: ru_msgsnd : 0 > Thu Apr 21 08:52:16.654867158 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: ru_msgrcv : 0 > Thu Apr 21 08:52:16.654876613 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: ru_nsignals: 0 > Thu Apr 21 08:52:16.654886249 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: ru_nvcsw : 54 > Thu Apr 21 08:52:16.654895860 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: ru_nivcsw : 50 > Thu Apr 21 08:52:16.655278285 2022: pid 26173: thd-0x55f8b31aac00: > amcheck-device: pid 26173 finish time Thu Apr 21 08:52:16 2022 > > "amadmin vtape_usb inventory" shows all the vtapes correctly. >