There has been alot of discussion lately on how to use RAIT. I have attempted to setup rait on my site and I haven't had much success.
I have and AIT-3 Overland library system that can hold 38 tapes. My setup is like this I split the library system in have the first 18 slots and its drive belong to a certain number of hosts. The other half is meant for one host ane one host alone. The first have uses one tape device and the chg-zd-mtx tape changer and that works well. When I tried to configure RAIT with chg-manual I am getting prompted to insert tapes that are already in the library. Here is an example bash-2.04$ ~/sbin/amcheck-2.4.3b3 bric2 Amanda Tape Server Host Check ----------------------------- WARNING: holding disk /home/holding: only 768305316 KB free (933160960 KB requested) amcheck-server: slot 22: rewinding tape: No such file or directory insert tape into slot 23 and press return In the changerdebugfile this is what it shows. T -> /home/amanda/sbin/ammt-2.4.3b3 -f DD -> /home/amanda/sbin/amdd-2.4.3b3 Args -> -info -> rewind rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rewind failed: Success -> status rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE -> loaded <rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE> Exit -> 22 99 1 MT -> /home/amanda/sbin/ammt-2.4.3b3 -f DD -> /home/amanda/sbin/amdd-2.4.3b3 Args -> -slot current -> rewind rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rewind failed: Success -> status rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE -> loaded <rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE> Exit -> 22 rait:{tape:/dev/nst0,tape:/dev/nst1,null:} MT -> /home/amanda/sbin/ammt-2.4.3b3 -f DD -> /home/amanda/sbin/amdd-2.4.3b3 Args -> -slot next -> rewind rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rewind failed: Success -> status rait:{tape:/dev/nst0,tape:/dev/nst1,null:} rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE -> loaded <rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE rait:{tape:/dev/nst0,tape:/dev/nst1,null:} status: ONLINE All the sections that say fail what does that mean. I've also looked at the mailing list archive to see about if people had the same problem and I don't see much mention there was post were a person recommended that you comment out this section in the script $DD if=$tape bs=32k count=1 >> $logfile 2>&1 which I did. I still keep getting prompted for a tape. Here is the relevant lines of my amanda.conf file org "bric2" mailto "[EMAIL PROTECTED]" dumpuser "amanda" inparallel 4 netusage 600 Kbps dumpcycle 4 weeks runspercycle 4 weeks tapecycle 18 tapes bumpsize 20 Mb bumpdays 1 bumpmult 4 runtapes 1 tpchanger "chg-manual" tapedev "rait:{tape:/dev/nst0,tape:/dev/nst1,null:}" #rawtapedev "/dev/null" #changerfile "/home/amanda/etc/amanda/bric2/changerfile" #changerdev "/dev/sg2" holdingdisk hd1 { comment "main holding disk" directory "/home/holding" use 911290 Mb define tapetype AIT-3x2 { comment "Sony AIT-3 Tape 100/200GB RAIT drive" length 159440 mbyteS filemark 17229 kbytes speed 3268 kps My last question in rait the way that I have it setup when I label tapes are they looked at as one tape or 2 seperate tapes. Craig Hancock } -- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9P+Y5awsElDuSDs0RAgxoAJ40NBfXWSP5dwsRK6AWZRXP6fNm+wCgpWf4 MwLEwsq3TDVGR8ntq3+w65k= =qTeY -----END PGP SIGNATURE-----