Re: debian 11, vtapes not found correctly anymore

"Stefan G. Weichinger" <[email protected]> Thu, 21 Apr 2022 12:51:25 +0200
Newsgroups gmane.comp.archivers.amanda.user
Message-ID <[email protected]>
Am 21.04.22 um 09:12 schrieb Stefan G. Weichinger:
> Am 21.04.22 um 09:03 schrieb Kees Meijs | Nefos:
>> 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.
> 
> It gets mounted.
> 
> lines in kern.log like:
> 
> Apr 21 08:52:15 server kernel: [5431442.882110] EXT4-fs (sdb1): mounted 
> filesystem with ordered data mode. Opts: (null)
> Apr 21 08:53:53 server kernel: [5431540.968731] EXT4-fs (sdb1): mounted 
> filesystem with ordered data mode. Opts: (null)

Something else:

when I run "amadmin vtape tape" it tells me it looks for a tape on the 
non-attached usb disk. Or a new tape.

This explains why it accepts a relabeled tape (it's new then).

So something with the rotation and/or number of tapes seems wrong, right?

There are 15 slots on the currently attached disk.

"num_slot" = 14

When I reduce tapecycle to 14 tapes, the vtape is recognized OK!

I had tapecycle = 28 tapes before: 2 changers with 14 tapes each.

That has worked so far, I wonder why.

I adjust to 14 now and monitor the next runs.