Hi all,
Ernest Byaruhanga schrieb:
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)
AFAIK This is wrong.
1.) it is for use with the linux-ftape (aka floppy-tape) driver only
2.) for the use with changers this has to be something like:
tapedev "0"
it refers to the section in your chg-mtx-conf where you define the tapedrive and give it a name. (in my case 0 )
christoph
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:
[EMAIL PROTECTED] 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
