Amanda-Users

RE: please help - autoloader problem !

2004-08-17 10:41:35
Subject: RE: please help - autoloader problem !
From: Ernest Byaruhanga <ernest AT afrinic DOT org>
To: Postaremczak Bernd <Bernd.Postaremczak AT SMS-Eumuco DOT de>
Date: Tue, 17 Aug 2004 16:38:23 -0700 (PDT)
hello,

On Tue, 17 Aug 2004, Postaremczak Bernd wrote:
> > > > amtape: could not reset changer: no slots available
> > > > changerdev "/dev/nst0"
> > > 
> > > That's your Problem. It must be something like "/dev/sg1". 
> > Try to use
> > > the command
> > 
> > yeah, actually, the system sees the changer as /dev/sg2 but 
> > that is what 
> > was in the amanda.conf before. Now amanda.conf has:
> > 
> > changerdev "/dev/sg2"
> 
> Good. Your next Problem is this line:
> 
> > rawtapedev "/dev/nst0"               # the raw device to be used (ftape
> only)
> 
> There must be also a "/dev/sg1" line. This must be the SCSI-Device of your
> tape, not your loader. /dev/sg2 may be wrong, because it is your loader.

/dev/sg1 is the autoloader drive SCSI controller,
/dev/sg2 is the powervault itself

should i then use /dev/sg1.. but i have also used it and i get the same 
error!

> Does "mtx -f /dev/sg2 status" work? 

yes, see below:

[root@oshe root]# mtx -f /dev/sg2 status
  Storage Changer /dev/sg2:1 Drives, 8 Slots ( 0 Import/Export )
Data Transfer Element 0:Full (Storage Element 1 Loaded)
      Storage Element 1:Empty
      Storage Element 2:Full
      Storage Element 3:Empty
      Storage Element 4:Empty
      Storage Element 5:Empty
      Storage Element 6:Empty
      Storage Element 7:Empty
      Storage Element 8:Empty

> Try it first before you try it with amanda. Then try to load/unload
> tapes with mtx. And then try it with amanda.

i have already tried loading from one slot to another, etc. with mtx, and 
it works beautifully !

i am still stuck at the moment!

ernest.

> Regards
> 
> Bernd
> 


<Prev in Thread] Current Thread [Next in Thread>