Im attempting to setup AMANDA to use a TL4000 system with 3 drives and 45 slots. I've run into a few issues that have me stymied:
amlabel
seems to work about half the time. The rest I get messages likeError reading volume label: Tape device /dev/nst0 is not ready or is empty
. Often rerunning the command will get a success.When I run
amcheck daily
I get errors like this:ERROR: server.edu /var: data-path is AMANDA but device do not support it
ERROR: server.edu /etc: data-path is AMANDA but device do not support it(related to label issue) The
amcheck
also gives me errors like this:slot ?: Slot 34, label 'backup-008', mismatch barcode between changer '000001L6' and tapelist file '000008L6'
ERROR: Slot 34, label 'backup-008', mismatch barcode between changer '000001L6' and tapelist file '000008L6'
Somewhere there is a file of settings that is trying to tie the specific tape to a changer location but I can't find it. I know this is doable as I'm attempting to retire a 10 year old tape system that has used AMANDA all along. 400 tapes into 40 slots. It's been too long since this was configured to find the clues.
Suggestions on what I'm missing here?
Turns out that my definitions in 'changer.conf' were a bit confused. There are three drives in this unit and the numbering for
/dev/nstX
created during theiscsiadm
run wasn't truly sequential.To debug this: use a combination of
mtx -f /dev/sgX load SLOT DRIVE#
and thenmt -f /dev/nstX status
to see which actual drive your tape ended up in.This is the file I ended up with: