Amanda-Users

[Fwd: Re: Tape Autoloader]

2008-10-20 06:57:19
Subject: [Fwd: Re: Tape Autoloader]
From: Prashant Ramhit <prashant AT bluebarracuda DOT com>
To: amanda-users <amanda-users AT amanda DOT org>, amanda-users-request AT amanda DOT org
Date: Mon, 20 Oct 2008 11:44:43 +0100

--- Begin Message ---
Subject: Re: Tape Autoloader
From: Prashant Ramhit <prashant AT bluebarracuda DOT com>
To: Angelo Höngens <A.Hongens AT netmatch DOT nl>
Date: Mon, 20 Oct 2008 12:02:05 +0100
Hi Angelo,

Thanks for your reply.
I was using the Labels for Cleaning tapes, but now the labels for Mondays tape - please find below.



1. amcheck

Amanda Tape Server Host Check
-----------------------------
Holding disk /var/tmp/amanda: 16113212 kB disk space available, using 2048000 kB as requested
Changer problem: mtx command (mtx) doesn't exist
changer problem: mtx command (mtx) doesn't exist (expecting a new tape)
Server check took 0.052 seconds

Amanda Backup Client Hosts Check
--------------------------------
Client check: 1 host checked in 0.111 seconds, 0 problems found

(brought to you by Amanda 2.5.2)
amanda@backupserver:~$

2. No access to mtx
amanda@backupserver:~$ mtx -f /dev/sg2 status
cannot open SCSI device '/dev/sg2' - Permission denied

although path is set
amanda@backupserver:~$ more .profile
export PATH=/usr/sbin:/usr/libexec/amanda:/usr/bin:/bin:/usr/sbin


The new tapes are

root@backupserver:/etc/amanda/fullback# mtx -f /dev/sg2 status
Storage Changer /dev/sg2:1 Drives, 16 Slots ( 0 Import/Export )
Data Transfer Element 0:Empty
    Storage Element 1:Full :VolumeTag=MONDAY - 01
    Storage Element 2:Full :VolumeTag=MONDAY - 02
    Storage Element 3:Empty
    Storage Element 4:Empty
    Storage Element 5:Empty
    Storage Element 6:Empty
    Storage Element 7:Empty
    Storage Element 8:Empty
    Storage Element 9:Empty
    Storage Element 10:Empty
    Storage Element 11:Empty
    Storage Element 12:Empty
    Storage Element 13:Empty
    Storage Element 14:Empty
    Storage Element 15:Empty
    Storage Element 16:Empty


Amanda.conf is

runtapes 2
tpchanger "chg-zd-mtx"
changerfile "/var/lib/amanda/changer.conf"
changerdev "/dev/sg0"
tapetype LTO-4
tapedev "/dev/nst0"
labelstr "^MONDAY-0[1-2]*$"
amrecover_changer "chg-zd-mtx"


changer.conf

eject > 1 # Tapedrives need an eject command
sleep 10 # Seconds to wait until the tape gets ready
cleanmax 10
havebarcode 1
havereader=1
offline_before_unload=1
offlinestatus=1
OFFLINE_BEFORE_UNLOAD=1




Angelo Höngens wrote:
Prashant Ramhit wrote:
Hi All,

I have been using a LT04 Tape for backup. And now I received a new LT04
Quantum Superloader.

I am trying to get it working but it is not.

My config is as follows,

amanda.conf

runtapes 2
tpchanger "chg-zd-mtx"
changerfile "/var/lib/amanda/changer.conf"
changerdev "/dev/sg0"
tapetype LTO-4
tapedev "/dev/nst0"
labelstr "^CLN14[1-2]L2*$"
amrecover_changer "chg-zd-mtx"


changer.conf

eject > 1 # Tapedrives need an eject command
sleep 10 # Seconds to wait until the tape gets ready
cleanmax 10
havebarcode 1
havereader=1
offline_before_unload=1
offlinestatus=1
OFFLINE_BEFORE_UNLOAD=1


root@backupserver:/etc/amanda/fullback# mtx -f /dev/sg2 status
 Storage Changer /dev/sg2:1 Drives, 16 Slots ( 0 Import/Export )
Data Transfer Element 0:Empty
     Storage Element 1:Full :VolumeTag=CLN141L2
     Storage Element 2:Full :VolumeTag=CLN142L2
     Storage Element 3:Empty
     Storage Element 4:Empty
     Storage Element 5:Empty
     Storage Element 6:Empty
     Storage Element 7:Empty
     Storage Element 8:Empty
     Storage Element 9:Empty
     Storage Element 10:Empty
     Storage Element 11:Empty
     Storage Element 12:Empty
     Storage Element 13:Empty
     Storage Element 14:Empty
     Storage Element 15:Empty
     Storage Element 16:Empty


Anyone has an idea, what is wrong.

Thanks
Prashant


Prashant,

What exactly does not work?

And you do know you're probably working with only cleaning tapes?
Usually the cleaning tapes get a label 'CLN'. Please make sure there are 'normal' tapes in the drive..


Angelo.




--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>