Hello
I'm trying to config a Tape Library with Amanda 2.6.1 with CentOS 5.4 server and clients. I've gotten Amanda to work with vtapes and harddisk backups, as well as backups to a single tape drive, but I'm struggling with configuring our Tape Library (HP StorageWorks MSL 2024).
I tried the following:
$ amserverconfig TestLibrary --template tape-changer \
--mailto [email protected] --dumpcycle 7 --runspercycle 5 \
--tapecycle 12 --runtapes 2 --tapetype HP-LTO4 \
--tapedev /dev/sg3 --tpchanger chg-zd-mtx --changerdev /dev/sg3
which appeared to work until I ran the amcheck, and got the following:
$ amcheck TestLibrary
Amanda Tape Server Host Check
-----------------------------
slot 1:Error reading label: File /dev/sg3 is not a tape device.
slot 2:Error reading label: File /dev/sg3 is not a tape device.
Which seems odd to me, as the output of
#mtx -f /dev/sg3 inquiry
#mtx -f /dev/sg3 status
commands returns valid output when using /dev/sg3...
I'm not sure about the tpchanger, tapetype, tapedev, changerdev and changerfile config options, so these are kind of a best guess, but I'm surpised that /dev/sg3 doesn't seem correct as my mtx commands return valid output:
$ mtx -f /dev/changer inquiry
Product Type: Medium Changer
Vendor ID: 'HP '
Product ID: 'MSL G3 Series '
Revision: '4.60'
Attached Changer: No
$ mtx -f /dev/changer status
Storage Changer /dev/changer:1 Drives, 24 Slots ( 0 Import/Export )
Data Transfer Element 0:Full (Storage Element 1 Loaded):VolumeTag = CS7100L4
Storage Element 1:Empty
Storage Element 2:Full :VolumeTag=CS7101L4
Storage Element 3:Full :VolumeTag=CS7102L4
Storage Element 4:Full :VolumeTag=CS7103L4
Storage Element 5:Full :VolumeTag=CS7104L4
Storage Element 6:Full :VolumeTag=CS7105L4
Storage Element 7:Full :VolumeTag=CS7106L4
...
I'm labeling my tapes now and will try it again using /dev/nst1 for tapedev, but I'm still grasping at straws and could use some helpful advice or direction on working with changers/libraries.
Many thanks in advance.
-pkb