RE: problems with chg-zd-mtx and using 2 drives
2007-10-16 18:17:18
Yes, I should be paying more attention to these details.....ugh.....
I appreciate the help running a dump right now.
Final question hopefully ...
Are the any configuration changes needed to have Amanda use both drives inside
the tape library?
mtx -f /dev/scsi/changer/c3t3d1 status
Storage Changer /dev/scsi/changer/c3t3d1:2 Drives, 12 Slots ( 1 Import/Export
)
Data Transfer Element 0:Full (Storage Element 1 Loaded):VolumeTag = EGV002
Data Transfer Element 1:Empty
Storage Element 1:Empty:VolumeTag=
Storage Element 2:Full :VolumeTag=EGV003
Storage Element 3:Full :VolumeTag=EGV004
Storage Element 4:Full :VolumeTag=EGV005
Storage Element 5:Full :VolumeTag=EGV006
Storage Element 6:Full :VolumeTag=EGV007
Storage Element 7:Full :VolumeTag=EGV008
Storage Element 8:Full :VolumeTag=EGV009
Storage Element 9:Full :VolumeTag=EGV010
Storage Element 10:Full :VolumeTag=EGV011
Storage Element 11:Full :VolumeTag=EGV012
Storage Element 12 IMPORT/EXPORT:Empty:VolumeTag=
Amanda.conf
tpchanger "chg-zd-mtx" # the tape-changer glue script
tapedev "/dev/rmt/1n" # the no-rewind tape device to be used
changerfile "/etc/amanda/Full/changer.conf"
changerdev "/dev/scsi/changer/c3t3d1"
cat changer.conf
firstslot=1
lastslot=11
driveslot=0
cleanslot=-1
autoclean=0
autocleancount=99
havereader=1
offline_before_unload=0
initial_poll_delay=0
Or will it automatically load another tape in the second drive , so far it has
not.
Thanks again for the information
-----Original Message-----
From: owner-amanda-users AT amanda DOT org [mailto:owner-amanda-users AT amanda
DOT org] On Behalf Of Chris Hoogendyk
Sent: Tuesday, October 16, 2007 4:43 PM
To: amanda-users AT amanda DOT org
Subject: Re: problems with chg-zd-mtx and using 2 drives
Krahn, Anderson wrote:
> Here are the debug logs:
> 15:17:56 Using config file /etc/amanda/Full/changer.conf
> 15:17:56 Arg info:
> $# = 1
> $0 = "/opt/amanda/client/libexec/chg-zd-mtx"
> $1 = "-reset"
> 15:17:56 Running: /usr/local/sbin/mtxRunning: status
> 15:17:56 Exit code: 1
> Stderr:
> cannot open SCSI device '/dev/scsi/changer/c3t3d1' - Permission denied
>
^^^^^^^^^^^^^^^^^
you gotta read these things. ;-)
> 15:17:56 Exit (2) -> <none> no slots available
> chg-zd-mtx: pid 29607 finish time Tue Oct 16 15:17:56 2007
On my system, I have:
mormyrid:amanda$ ls -l /dev/scsi/changer
lrwxrwxrwx 1 root root 52 Jan 16 2007 c7t0d0 ->
../../../devices/pci@1f,2000/scsi@1/sgen@0,0:changer
mormyrid:amanda$ ls -l /devices/pci@1f,2000/scsi@1/sgen@0,0:changer
crw-rw-rw- 1 root sys 151, 48 Jan 16 2007
/devices/pci@1f,2000/scsi@1/sgen@0,0:changer
I never modified permissions on any of this. I just edited the
/kernel/drv/sgen.conf, did a touch /reconfigure, and rebooted. It worked
with mtx immediately.
---------------
Chris Hoogendyk
-
O__ ---- Systems Administrator
c/ /'_ --- Biology & Geology Departments
(*) \(*) -- 140 Morrill Science Center
~~~~~~~~~~ - University of Massachusetts, Amherst
<hoogendyk AT bio.umass DOT edu>
---------------
Erdös 4
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- problems with chg-zd-mtx and using 2 drives, Krahn, Anderson
- problems with chg-zd-mtx and using 2 drives, Krahn, Anderson
- Re: problems with chg-zd-mtx and using 2 drives, Jon LaBadie
- RE: problems with chg-zd-mtx and using 2 drives, Krahn, Anderson
- Re: problems with chg-zd-mtx and using 2 drives, Jon LaBadie
- Re: problems with chg-zd-mtx and using 2 drives, Dustin J. Mitchell
- RE: problems with chg-zd-mtx and using 2 drives, Krahn, Anderson
- RE: problems with chg-zd-mtx and using 2 drives, Krahn, Anderson
- Re: problems with chg-zd-mtx and using 2 drives, Dustin J. Mitchell
- Re: problems with chg-zd-mtx and using 2 drives, Chris Hoogendyk
- RE: problems with chg-zd-mtx and using 2 drives,
Krahn, Anderson <=
- Re: problems with chg-zd-mtx and using 2 drives, Jon LaBadie
RE: problems with chg-zd-mtx and using 2 drives, Krahn, Anderson
|
|
|