Re: chg-zd-mtx strange behaviour

2008-12-18 Thread Jean-Francois Malouin
jf > > Jean-Louis > > Jean-Francois Malouin wrote: > >Hi, > >An amanda run last night ended up in the holddisk due to the fact > >that chg-zd-mtx didn't hunt for the requested tape even it's loaded and > >it is in 'reuse' mode. Note that previous t

Re: chg-zd-mtx strange behaviour

2008-12-18 Thread Jean-Francois Malouin
> Is it greater than your tapecycle? ~# grep tapecycle /opt/amanda/etc/amanda/right2/amanda.conf tapecycle 62 thanks! jf > > Jean-Louis > > Jean-Francois Malouin wrote: > >Hi, > >An amanda run last night ended up in the holddisk due to the fact > >that ch

Re: chg-zd-mtx strange behaviour

2008-12-18 Thread Jean-Louis Martineau
What is the error you get in the report? What is the number of 'reuse' tape in the tapelist? Is it greater than your tapecycle? Jean-Louis Jean-Francois Malouin wrote: Hi, An amanda run last night ended up in the holddisk due to the fact that chg-zd-mtx didn't hunt for the requ

chg-zd-mtx strange behaviour

2008-12-18 Thread Jean-Francois Malouin
Hi, An amanda run last night ended up in the holddisk due to the fact that chg-zd-mtx didn't hunt for the requested tape even it's loaded and it is in 'reuse' mode. Note that previous to the run I had put a tape in `no-reuse' mode but that tape wasn't in the expe

Re: problems with chg-zd-mtx and using 2 drives

2007-10-16 Thread Dustin J. Mitchell
On 10/16/07, Krahn, Anderson <[EMAIL PROTECTED]> wrote: > Well here are the permissions for that device: > ls -la /dev/scsi/changer/c3t3d1 > lrwxrwxrwx 1 root root 56 Oct 4 14:52 /dev/scsi/changer/c3t3d1 -> > ../../../devices/[EMAIL PROTECTED],70/[EMAIL PROTECTED],1/[EMAIL > PROTECTED],1:chan

Re: problems with chg-zd-mtx and using 2 drives

2007-10-16 Thread Jon LaBadie
On Tue, Oct 16, 2007 at 04:06:10PM -0500, 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 = "

RE: problems with chg-zd-mtx and using 2 drives

2007-10-16 Thread Krahn, Anderson
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 chan

Re: problems with chg-zd-mtx and using 2 drives

2007-10-16 Thread Chris Hoogendyk
Krahn, Anderson wrote: Well here are the permissions for that device: ls -la /dev/scsi/changer/c3t3d1 lrwxrwxrwx 1 root root 56 Oct 4 14:52 /dev/scsi/changer/c3t3d1 -> ../../../devices/[EMAIL PROTECTED],70/[EMAIL PROTECTED],1/[EMAIL PROTECTED],1:changer that's just a symlink (the "el

Re: problems with chg-zd-mtx and using 2 drives

2007-10-16 Thread Chris Hoogendyk
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 1

RE: problems with chg-zd-mtx and using 2 drives

2007-10-16 Thread Krahn, Anderson
ect: RE: problems with chg-zd-mtx and using 2 drives 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/m

Re: problems with chg-zd-mtx and using 2 drives

2007-10-16 Thread Dustin J. Mitchell
56 Exit (2) -> no slots available > chg-zd-mtx: pid 29607 finish time Tue Oct 16 15:17:56 2007 Ah -- so it's a permissions error. You'll need to make sure that 'amanda', or the group amanda is in, has r/w permissions on the changer device. Usually that's accompl

RE: problems with chg-zd-mtx and using 2 drives

2007-10-16 Thread Krahn, Anderson
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

RE: problems with chg-zd-mtx and using 2 drives

2007-10-16 Thread Krahn, Anderson
That seems to resolve the issue with locating mtx, however the error I get is this now. /opt/amanda/client/libexec/chg-zd-mtx -info no slots available taper: changer problem: no slots available Here is the output from mtx status: mtx -f /dev/scsi/changer/c3t3d1 status Storage Changer /dev

Re: problems with chg-zd-mtx and using 2 drives

2007-10-16 Thread Dustin J. Mitchell
On 10/16/07, Jon LaBadie <[EMAIL PROTECTED]> wrote: > Also, line 389 is a line from which mtx would be executed. > It is the only place where mtx would be executed and it > is only called to from three other places in the script. > When called, the command name is passed as $MTX. From the > messag

Re: problems with chg-zd-mtx and using 2 drives

2007-10-16 Thread Jon LaBadie
ut > > [EMAIL PROTECTED] > [~]#which mtx > /usr/local/sbin/mtx > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Jon LaBadie > Sent: Tuesday, October 16, 2007 11:09 AM > To: amanda-users@amanda.org > Subject: Re: proble

RE: problems with chg-zd-mtx and using 2 drives

2007-10-16 Thread Krahn, Anderson
] [mailto:[EMAIL PROTECTED] On Behalf Of Jon LaBadie Sent: Tuesday, October 16, 2007 11:09 AM To: amanda-users@amanda.org Subject: Re: problems with chg-zd-mtx and using 2 drives On Tue, Oct 16, 2007 at 10:53:09AM -0500, Krahn, Anderson wrote: > Here are some errors i get with chg-zd-mtx: > &g

Re: problems with chg-zd-mtx and using 2 drives

2007-10-16 Thread Jon LaBadie
On Tue, Oct 16, 2007 at 10:53:09AM -0500, Krahn, Anderson wrote: > Here are some errors i get with chg-zd-mtx: > > chg-zd-mtx: debug 1 pid 9380 ruid 30063 euid 30063: start at Mon Oct > > 15 14:34:48 2007 > > 14:34:48 Using config file /etc/amanda/Full/changer.conf &

problems with chg-zd-mtx and using 2 drives

2007-10-16 Thread Krahn, Anderson
Here are some errors i get with chg-zd-mtx: chg-zd-mtx: debug 1 pid 9380 ruid 30063 euid 30063: start at Mon Oct 15 14:34:48 2007 14:34:48 Using config file /etc/amanda/Full/changer.conf 14:34:48 Arg info: $# = 1 $0 = "/opt/amanda/client/libexec/chg-zd-mtx"

problems with chg-zd-mtx and using 2 drives

2007-10-15 Thread Krahn, Anderson
Using Amanda amanda-2.5.2p1 with chg-zd-mtx with the errors below. Another question is I have two drives /dev/rmt/0n /dev/rmt/1n How do I tell Amanda to use both drives? Here is my error: 11:43:56 Using config file /etc/amanda/Full/changer.conf 11:43:56 Arg info: $# = 1

Re: [amanda-2.5.2p1] Bug in chg-zd-mtx: prefix Missing

2007-10-12 Thread Paul Lussier
"Svend Sorensen" <[EMAIL PROTECTED]> writes: > chg-zd-mtx is missing a line for the configured prefix. It has a line > for @exec_prefix@, but if that wasn't specified during configure, it > defaults to @[EMAIL PROTECTED] This results in the following block af

Re: [amanda-2.5.2p1] Bug in chg-zd-mtx: prefix Missing

2007-10-12 Thread Dustin J. Mitchell
Thanks for reporting that! There were actually two more changers with this bug -- I've attached an updated patch, and will commit it shortly. Dustin -- Storage Software Engineer http://www.zmanda.com chg-prefix.patch Description: Binary data

[amanda-2.5.2p1] Bug in chg-zd-mtx: prefix Missing

2007-10-12 Thread Svend Sorensen
chg-zd-mtx is missing a line for the configured prefix. It has a line for @exec_prefix@, but if that wasn't specified during configure, it defaults to @[EMAIL PROTECTED] This results in the following block after `make`. # source utility functions and values from configure exec_p

Re: chg-zd-mtx can't find mtx command.

2007-06-04 Thread Dustin J. Mitchell
On Mon, Jun 04, 2007 at 04:35:20PM -0700, Alan Jedlow wrote: > I've installed the RHEL RPMs from www.zamanda.com... currently > trying to figure out why "chg-zd-mtx" thinks mtx doesn't > exist: > > -bash-3.00$ whoami > amandabackup > -bash-3.00$ which m

chg-zd-mtx can't find mtx command.

2007-06-04 Thread Alan Jedlow
Greetings, I've installed the RHEL RPMs from www.zamanda.com... currently trying to figure out why "chg-zd-mtx" thinks mtx doesn't exist: -bash-3.00$ whoami amandabackup -bash-3.00$ which mtx /usr/sbin/mtx -bash-3.00$ /usr/lib/amanda/chg-zd-mtx -info mtx command (mtx) does

Re: chg-zd-mtx broken in 2.5.1p2-20070202?

2007-02-05 Thread Jean-Francois Malouin
t; > If it still doesn't work, could you send me the > chg-zd-mtx..debug file. > > Jean-Louis > > Jean-Francois Malouin wrote: > >Hello, > > > >Just testing 2.5.1p2-20070202 and looking at the ChangeLog I see that > >some mods have been made concern

Re: chg-zd-mtx broken in 2.5.1p2-20070202?

2007-02-05 Thread Jean-Louis Martineau
Jean-Francois, Maybe it's an incompatibility with the sed command, could you try the attached patch? If it still doesn't work, could you send me the chg-zd-mtx..debug file. Jean-Louis Jean-Francois Malouin wrote: Hello, Just testing 2.5.1p2-20070202 and looking at the ChangeLog

chg-zd-mtx broken in 2.5.1p2-20070202?

2007-02-03 Thread Jean-Francois Malouin
Hello, Just testing 2.5.1p2-20070202 and looking at the ChangeLog I see that some mods have been made concerning the detection of IMPORT/EXPORT slots in the glue script chg-zd-mtx which I think break things up, viz: yorick::# su amanda -c "/opt/amanda/amanda10/sbin/amcheck -t stk_180-c

chg-zd-mtx barcodes [was Re: Couple of doubts about report ...]

2006-09-02 Thread Jon LaBadie
On Fri, Sep 01, 2006 at 08:56:15AM +0200, David Sánchez Martín wrote: > > Now for something completely different ( ;-) ) > > The chg-zd-mtx changer script knows about barcodes, but, > What's the difference between using it or don't? > Just time looking for the next t

Re: chg-zd-mtx and permissions

2006-04-20 Thread Salvatore Enrico Indiogine
2006/4/12, Joshua Baker-LePain <[EMAIL PROTECTED]>: > On Wed, 12 Apr 2006 at 9:11pm, Salvatore Enrico Indiogine wrote > > > This is the default setup of Fedora4 for this device: > > > > $ ls -l /dev/sg1 > > crw--- 1 root root 21, 1 Apr 5 04:40 /dev/sg1 > It looks like they are, and you can c

Re: chg-zd-mtx and permissions

2006-04-12 Thread Joshua Baker-LePain
On Wed, 12 Apr 2006 at 9:11pm, Salvatore Enrico Indiogine wrote This is the default setup of Fedora4 for this device: $ ls -l /dev/sg1 crw--- 1 root root 21, 1 Apr 5 04:40 /dev/sg1 So, what is the modus operandi? Will amanda have problems with these permissions? Do I have to change the

chg-zd-mtx and permissions

2006-04-12 Thread Salvatore Enrico Indiogine
Here is the relevant part of /etc/amanda/archive/amanda.conf runtapes 2 # number of tapes to be used in a single run of amdump tpchanger "chg-zd-mtx"# the tape-changer glue script tapedev "/dev/nst0" # the no-rewind tape device to be used

chg-zd-mtx doesn't automatically store the barcodes in changer-barcodes?

2005-07-29 Thread Cam
Hi, I mailed the list about my setup for chg-zd-mtx being ignored (turned out i had written my config file wrong... i was doing instead of =. Thanks for everyone's speedy reply on that. Anyway, i think i may still have some sort of problem, because /etc/amanda/DailySet1's change

Re: barcode scanners (or, chg-zd-mtx problem)

2005-07-08 Thread Graeme Humphries
On Fri, 2005-07-08 at 10:34 -0600, Cam wrote: > havereader 1 > firstslot 1 > lastslot 17 > cleanslot -1 > offline_before_unload 0 > > but when i run the "/usr/lib/amanda/chg-zd-mtx -info'" it reports "4 30 1 " Where are you running it from? It'l

Re: barcode scanners (or, chg-zd-mtx problem)

2005-07-08 Thread Benjamin Lewis
On July 8 2005, Cam wrote: > havereader 1 > firstslot 1 > lastslot 17 > cleanslot -1 > offline_before_unload 0 > > but when i run the "/usr/lib/amanda/chg-zd-mtx -info'" it reports "4 30 1 " You need equals signs ("=") between the

barcode scanners (or, chg-zd-mtx problem)

2005-07-08 Thread Cam
Hi, My amanda configuration is working nicely, but i have a problem w/ the barcode scanning stuff. MTX reports all the :VolumeTag=blahblah stuff indicating that my barcode scanner should be working. the tape-changer i'm using is chg-zd-mtx. i a line in my /etc/amana/DailySet1/amanda.conf

Re: chg-zd-mtx always cleans?

2005-07-05 Thread Gene Heskett
On Tuesday 05 July 2005 12:55, Jon LaBadie wrote: >On Tue, Jul 05, 2005 at 09:56:52AM -0600, Graeme Humphries wrote: >> Here's another little oddity I've been noticing: when using the >> chg-zd-mtx changer script, even though I've set autoclean to 0 and >>

Re: chg-zd-mtx always cleans?

2005-07-05 Thread Jon LaBadie
On Tue, Jul 05, 2005 at 09:56:52AM -0600, Graeme Humphries wrote: > Here's another little oddity I've been noticing: when using the > chg-zd-mtx changer script, even though I've set autoclean to 0 and > cleanslot to 7, when I do an "amtape update" it *always*

Re: chg-zd-mtx always cleans?

2005-07-05 Thread Graeme Humphries
On Tue, 2005-07-05 at 12:55 -0400, Jon LaBadie wrote: > Do your slot numbers, "first slot" to "last slot" include the > slot with the cleaning tape? Yeah, I had a typo in my changer config file that was breaking this. Once I fixed that, it worked fine. :P > If like my DDS3 changer, amanda may not

chg-zd-mtx always cleans?

2005-07-05 Thread Graeme Humphries
Here's another little oddity I've been noticing: when using the chg-zd-mtx changer script, even though I've set autoclean to 0 and cleanslot to 7, when I do an "amtape update" it *always* loads and runs the cleaning tape, and does a cleaning cycle. This, in turn, screw

Re: Exabyte VXA-2 Packet-Loader and chg-zd-mtx nagging problem

2005-02-24 Thread .
Hi! /usr/sbin/amdump new && /bin/mt -f /dev/nst1 offline && /usr/sbin/amtape new slot next Amanda changes the tapes as needed, i. e. you don´t need to call amtape (and mt) for that. When testing this manually from the console, I receive the following error message when running the amtape command:

Exabyte VXA-2 Packet-Loader and chg-zd-mtx nagging problem

2005-02-16 Thread James D. Freels
e a bar code label Move complete time remove a cartridge, return to cell, position a different cell, and load new cartridge 22 seconds I also followed the instructions in the comments of the /usr/lib/amanda/chg-zd-mtx script and modified the /etc/amanda/new/changer configuration file to read like t

Re: ibm ultrium lto library/tape loader using chg-zd-mtx(freebsd)(amanda2.4.4)

2004-08-25 Thread Frazier Scott
Yup. I was trying to set up amanda using chg-zd-mtx. mtx -f /dev/sg5 yielded info on the changer, and mtx -f /dev/sg4 yielded info on the drive so I figured tapedev should be /dev/sg4. When I couldn't get the tests to work, I looked at the script and discovered that in the places it acc

Re: ibm ultrium lto library/tape loader using chg-zd-mtx (freebsd)(amanda2.4.4)

2004-08-25 Thread Armand Sulter
It comes back with : bash-2.04# mt -f /dev/pass2 status mt: /dev/pass2: Operation not permitted Are you saying i should be able to access /dev/pass2 as a regular tape drive ? i read somewhere sometimes you have to use the changer as tapedev, tried that tho, same results. With best regards, Ar

Re: ibm ultrium lto library/tape loader using chg-zd-mtx (freebsd)(amanda2.4.4)

2004-08-25 Thread Frazier Scott
Question: What does /usr/local/sbin/mt -f /dev/pass2 status give you? >>> Armand Sulter <[EMAIL PROTECTED]> 8/25/2004 9:31:28 AM >>> I'm trying to get this puppy to work with 3 tapes for now, i can control the robot fine with the mtx program but amanda keeps giving me : bash-2.04$ /usr/local/s

ibm ultrium lto library/tape loader using chg-zd-mtx (freebsd)(amanda 2.4.4)

2004-08-25 Thread Armand Sulter
I'm trying to get this puppy to work with 3 tapes for now, i can control the robot fine with the mtx program but amanda keeps giving me : bash-2.04$ /usr/local/sbin/amlabel bef Test01 slot 2 amlabel: could not load slot "2": could not determine current slot, are you sure your drive slot is 2 I

Re: chg-zd-mtx issue ?

2004-08-13 Thread Brian Cuttler
ersion of mtx software did you install ? > >>> You say the mtx software works properly by itself ? > >>> > >>> My binary is /usr/local/sbin/mtx, I believe that is the > >>> default installation location. > >>> > >>> What are the re

Re: chg-zd-mtx issue ?

2004-08-12 Thread Brian Cuttler
; > > > > >On Wed, Aug 11, 2004 at 08:16:25AM -0700, nyohadi wrote: > > > > > >>Dear Brian , > >> thanks for reply my email , i change as your recomend , now when > >>i am issue command get error > >> bash-2.05$ /usr/local/s

Re: chg-zd-mtx issue ?

2004-08-11 Thread Brian Cuttler
> > >I note two things right off, in my config > > > >changerfile "/usr/local/etc/amanda/ninfo/chg-zd-mtx" > >where you have > >changerfile "/usr/local/etc/amanda/daily/changer.conf" > > > >I believe I tried it your way originally, resu

Re: chg-zd-mtx issue ?

2004-08-11 Thread Brian Cuttler
[Original note from user follows .sig] Hadi, Glad to help. I note two things right off, in my config changerfile "/usr/local/etc/amanda/ninfo/chg-zd-mtx" where you have changerfile "/usr/local/etc/amanda/daily/changer.conf" I believe I tried it your way originally, result

Re: chg-zd-mtx Slots

2004-01-07 Thread Frank Smith
apes are in > Amanda order, or you can take your crontab solution writing a "1" the "-slot" file. > > > On Wed, 7 Jan 2004 09:56:33 +0100 > Postaremczak Bernd <[EMAIL PROTECTED]> wrote: > >> Hello, >> >> I've a problem with the c

Re: chg-zd-mtx Slots

2004-01-07 Thread JC Simonetti
This is a feature of the changer: the next slot is "curslot++". Some robotics support a "looped" search: when at last slot, the next slot is first slot, some others don't. I have 2 robots with chg-zd-mtx, one supports this loop search, the other one doesn't. So con

chg-zd-mtx Slots

2004-01-07 Thread Postaremczak Bernd
Hello, I've a problem with the chg-zd-mtx-Configuration. The Loader has some tapes in it and amanda backs up to one tape (e.g. slot 3). The next tape I want to use is in slot 2, but amanda searches the tape only after slot 3. If I set the number in the file chg-zd-mtx.conf-slot to 1, then a

Re: chg-zd-mtx drive question ?

2004-01-06 Thread Gene Heskett
On Tuesday 06 January 2004 09:50, Pierre-Henry DELIEGE wrote: >Dear, >I.m really new with Amanda and I'm trying to understand the > tpchanger chg-zd-mtx before implementing it with a SCSI library > containing 72 slots and 4 drives. >I have a misunderstanding of the usa

chg-zd-mtx drive question ?

2004-01-06 Thread Pierre-Henry DELIEGE
Dear, I.m really new with Amanda and I'm trying to understand the tpchanger chg-zd-mtx before implementing it with a SCSI library containing 72 slots and 4 drives. I have a misunderstanding of the usage of Amanda and the tpchanger with multiple drives. How does it work ? In the amanda.conf

chg-zd-mtx, tape library, multiple tape drives, "driveslot"

2003-11-14 Thread Ron Snyder
Explanation: Our tape library has multiple LTO drives, we have multiple amanda configs, but all of the amanda configs are sharing a single "database" (all of the chg-zd-mtx.* files). Each amanda config (by name: dailyset, archive, tapemgr) is using it's own tape drive, and there

Bug in chg-zd-mtx changer control script?

2003-10-03 Thread Michael D. Beynon
Amanda was working fine on a Solaris box for a couple years now, and started failing recently, as shown below. It turned out that on a linux box where /bin/sh is a symlink to /bin/bash the chg-zd-mtx script runs fine, but fails on a solaris box (SunOS vogue 5.8 Generic_108528-12 sun4u sparc SUNW

Re: last (I hope) chg-zd-mtx question

2003-08-14 Thread Jay Lessert
On Thu, Aug 07, 2003 at 08:12:09AM -0500, Bruntel, Mitchell L wrote: > --Jay said---> ...In addition, you'll be less likely > to get surprised down the road if you run the chg-zd-mtx installed > in libexec. Your copy in DailySet1 won't be updated (by) 'make install&#

last (I hope) chg-zd-mtx question

2003-08-14 Thread Bruntel, Mitchell L
--Jay said---> ...In addition, you'll be less likely to get surprised down the road if you run the chg-zd-mtx installed in libexec. Your copy in DailySet1 won't be updated (by) 'make install'. Thanks again Jay. So you're saying that since the chg-zd-mtx in libe

Re: last (I hope) chg-zd-mtx question

2003-08-07 Thread Jon LaBadie
On Thu, Aug 07, 2003 at 08:12:09AM -0500, Bruntel, Mitchell L wrote: Cutting through the chaff, In libexec put your executable chg-zd-mtx. It undoubtedly already is if you did a "make install". In DailySet1 (or your config dir) put a file of "ANY" name with a ".conf

Re: "no slots available" error with amanda and chg-zd-mtx

2003-08-01 Thread Gene Heskett
; Sent: Friday, August 01, 2003 4:32 PM >> To: Woodman, Joel >> Cc: [EMAIL PROTECTED] >> Subject: Re: "no slots available" error with amanda and chg-zd-mtx >> >> >> Yes. In general, all(?) amanda tape operations leave the >> tape in the drive

RE: "no slots available" error with amanda and chg-zd-mtx

2003-08-01 Thread Woodman, Joel
with small incremental backups (~10GB) without wasting tape. -Joel > -Original Message- > From: Jay Lessert [mailto:[EMAIL PROTECTED] > Sent: Friday, August 01, 2003 4:32 PM > To: Woodman, Joel > Cc: [EMAIL PROTECTED] > Subject: Re: "no slots available" er

Re: "no slots available" error with amanda and chg-zd-mtx

2003-08-01 Thread Jay Lessert
On Fri, Aug 01, 2003 at 03:07:50PM -0400, Woodman, Joel wrote: > # /usr/lib/amanda/chg-zd-mtx -info > 2 2 1 > > As I understand the documentation, this means that my current slot is "2," I > have "2" slots and the changer can travel backwards, as noted by &quo

RE: "no slots available" error with amanda and chg-zd-mtx

2003-08-01 Thread Woodman, Joel
quot; I get the following result: # /usr/lib/amanda/chg-zd-mtx -info 2 2 1 As I understand the documentation, this means that my current slot is "2," I have "2" slots and the changer can travel backwards, as noted by "1." Is it normal for mtx to define "slots&q

Re: "no slots available" error with amanda and chg-zd-mtx

2003-08-01 Thread Jay Lessert
On Fri, Aug 01, 2003 at 09:37:51AM -0700, Jay Lessert wrote: > On Fri, Aug 01, 2003 at 11:44:07AM -0400, Woodman, Joel wrote: > > 11:21:49 Running: mtx status > > 11:21:49 Exit code: 127 > > Stderr: > > /usr/lib/amanda/chg-zd-mtx: line 381: mtx: command not fou

Re: "no slots available" error with amanda and chg-zd-mtx

2003-08-01 Thread Jay Lessert
On Fri, Aug 01, 2003 at 11:44:07AM -0400, Woodman, Joel wrote: > 11:21:49 Running: mtx status > 11:21:49 Exit code: 127 > Stderr: > /usr/lib/amanda/chg-zd-mtx: line 381: mtx: command not found Easy. /usr/lib/amanda/chg-zd-mtx is just a shell script that sets $PATH. c

Re: "no slots available" error with amanda and chg-zd-mtx

2003-08-01 Thread Frank Smith
--On Friday, August 01, 2003 11:44:07 -0400 "Woodman, Joel" <[EMAIL PROTECTED]> wrote: > Hello Amanda folks, > > I'm a shiny new Amanda user, with a Dell PowerEdge 6450 server and a > PowerVault 120T tape pod. The server's running RedHat Linux 9 and Amanda &

Re: "no slots available" error with amanda and chg-zd-mtx

2003-08-01 Thread Darin Dugan
At 10:44 AM 8/1/2003, Woodman, Joel wrote: Hello Amanda folks, I'm a shiny new Amanda user, with a Dell PowerEdge 6450 server and a PowerVault 120T tape pod. The server's running RedHat Linux 9 and Amanda 2.4.4p1, with chg-zd-mtx managing the tape changer. mtx is mtx 1.2.1

"no slots available" error with amanda and chg-zd-mtx

2003-08-01 Thread Woodman, Joel
Hello Amanda folks, I'm a shiny new Amanda user, with a Dell PowerEdge 6450 server and a PowerVault 120T tape pod. The server's running RedHat Linux 9 and Amanda 2.4.4p1, with chg-zd-mtx managing the tape changer. mtx is mtx 1.2.18rel, from ftp.badtux.net. As far as I can tell, I

chg-zd-mtx little coorection on rewinding

2003-06-16 Thread Gregor Ibic
I changed the position of sleep command when tape is inserted with changer. Its better to wait first a poll_drive_ready seconds when tape is inserted and then try to rewind the tape. works really smoothly this way. if the delay is at the end of the loop, the rewind command produces errors, cause

Re: Re: Re: chg-zd-mtx for TSL-9000

2003-06-14 Thread Jean-Louis Martineau
Jim, Could you try this patch? I will add it to next amanda release if it works. Jean-Louis On Fri, Jun 13, 2003 at 03:30:54PM -0500, Jim Rowan wrote: > > Daniel, > > Thanks very much! The link turns out to be a patch against the current version of > chg-zd-mtx, and it appli

Re: Re: Re: chg-zd-mtx for TSL-9000

2003-06-13 Thread Jim Rowan
Daniel, Thanks very much! The link turns out to be a patch against the current version of chg-zd-mtx, and it applied cleanly. It does fix my problem. (In my own googles I had seen the link and ignore it because I don't read Japanese... :) Jim > I just came across an interesting

Re: chg-zd-mtx for TSL-9000

2003-06-13 Thread Jim Rowan
Element". This confuses chg-zd-mtx, and the 'current' and 'next' functions don't work. Thus, amtape doesn't work. (In the following example, the tape from slot 4 was loaded into the drive.) zuum# mtx -f /dev/pass2 status Storage Changer /dev/pass2:1 Drives, 8 Slot

Re: chg-zd-mtx for TSL-9000

2003-06-13 Thread Jim Summers
On Thu, 2003-06-12 at 23:19, Jim Rowan wrote: > Hi, > > I have a SONY TSL-9000. (my copy of) mtx doesn't quite work correctly with > this changer, and thus chg-zd-mtx doesn't work correctly. Does anyone > have a hacked copy that they will share? It seems like I reme

Re: chg-zd-mtx for TSL-9000

2003-06-13 Thread Joshua Baker-LePain
On Thu, 12 Jun 2003 at 11:19pm, Jim Rowan wrote > I have a SONY TSL-9000. (my copy of) mtx doesn't quite work correctly with > this changer, and thus chg-zd-mtx doesn't work correctly. Does anyone > have a hacked copy that they will share? What version of mtx are you usi

chg-zd-mtx for TSL-9000

2003-06-12 Thread Jim Rowan
Hi, I have a SONY TSL-9000. (my copy of) mtx doesn't quite work correctly with this changer, and thus chg-zd-mtx doesn't work correctly. Does anyone have a hacked copy that they will share? Thanks! Jim Rowan DCSI [EMAIL PROTECTED]

chg-zd-mtx configuration file problem

2003-06-11 Thread Gregor Ibic
i configured chg-zd-mtx, it works ok, besides that does not reall all parameters from the config file some parameters are read an some not, strange. i then modified the cgh-zd-mtx directly and it works ok, but it would be nicer if it reads the config file properly. regards, gregor

chg-zd-mtx read configuration

2003-06-07 Thread Gregor Ibic
why only some of configuration parameters are read for example, firstslot and lastslot are read properly but offline_before_unload not (and some others also not)? which is the preferes changer method? chg-zd-mtx , chg-mtx, or chg-scsi? regards, Gregor

RE: chg-zd-mtx help !

2003-05-29 Thread donald . ritchey
: normal processing fi Hope that helps, Don Donald L. (Don) Ritchey E-mail: [EMAIL PROTECTED] -Original Message- From: Roland Schützner [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 8:16 AM To: Manjit Notay Cc: '[EMAIL PROTECTED]' Subject: Re: chg-zd-mtx h

Re: chg-zd-mtx help !

2003-05-28 Thread Roland Schützner
Hi! Manjit Notay wrote: > Hi all > I have successfully managed to install amanda and mtx on a solaris 8 system. > i can use mtx to manipulate my overland 10 tape autochanger, but whenever > i run ./chg-zd-mtx -info i get the response, > > chg-zd-mtx: test: argument expec

Re: chg-zd-mtx issue ?

2003-04-04 Thread Jon LaBadie
On Fri, Apr 04, 2003 at 01:56:13PM -0500, Brian Cuttler wrote: > > Ok, getting smarter... > > following your suggestion > > # truss amtape ninfo newtonl > > Tail of the output (I can script if if you want more) > > amtapewrite(2, " a m t a p e", 6) = 6 > : scanning all wr

Re: chg-zd-mtx issue ?

2003-04-04 Thread Brian Cuttler
t Fri Apr 4 13:31:43 2003 > changer: got exit: 0 str: 3 9 1 1 > changer: got exit: 0 str: 3 /dev/rmt/0cn > changer_label: NTNWKLY10 for slot 3 > changer: got exit: 0 str: 3 9 1 1 > changer_query: changer return was 9 1 1 > changer_query: searchable = 1 > changer_label: calling

Re: chg-zd-mtx issue ?

2003-04-04 Thread Brian Cuttler
as 9 1 1 changer_query: searchable = 1 changer_label: calling changer -label NTNWKLY10 changer: got exit: 0 str: 3 /dev/rmt/0cn # cat chg-zd-mtx.20030404133149000.debug chg-zd-mtx: debug 1 pid 20624 ruid 110 euid 110: start at Fri Apr 4 13:31:49 2003 13:31:49 Arg info: $# = 2 $0

Re: chg-zd-mtx issue ?

2003-04-04 Thread Brian Cuttler
x27;m afraid it might highlight something in the changer script, chg-zd-mtx. So I will try running chg-zd-mtx commands and see if I can't induct an error. coredump blocks nofiles descriptors memory kbytes unlimited unlimited unlimited 08:46 -> status 0, result "" t 3 to

Re: chg-zd-mtx issue ?

2003-04-04 Thread Brian Cuttler
the cables and tightening the screws. > If you first run chg-zd-mtx -reset and then a amcheck , do you receive > the same message or it works ok? If you only load tapes in the first 6 > slots, do you still receive the same message? I'm having a similar problem , > but if I only us

Re: chg-zd-mtx issue ?

2003-04-03 Thread Gene Heskett
t;Actually I was seeing a higher rate of success with amanda 2.4.3 >on Solaris 8 but with the 2.4.4 chg-zd-mtx script. I'm sorry, I >don't recall the version of mtx I was using on Solaris 8. > >Please tell me what additional diagnostic information I can > provide, I just

chg-zd-mtx issue ?

2003-04-03 Thread Brian Cuttler
er: No This is very intermittent... amdump always runs successfully amcheck and amlabel, usually good, sometimes a little less so amtape _always_ fails in the same manner. Actually I was seeing a higher rate of success with amanda 2.4.3 on Solaris 8 but with the 2.4.4 chg-zd-mtx scri

RE: Mtx and chg-zd-mtx

2003-03-03 Thread Pablo Jejcic
A little more information. I f I put one tape in the last slot, then the chg-zd-mtx -info show the right values, but if I change it back to another slot, then it stop working again, and show the number of the last slot use, for example, if I put the last tape into slot 7 I receive: 1 7 1 and if

RE: Mtx and chg-zd-mtx

2003-02-28 Thread Pablo Jejcic
Joshua Baker-LePain [mailto:[EMAIL PROTECTED] Sent: 28 February 2003 16:18 To: Pablo Jejcic Cc: [EMAIL PROTECTED] Subject: RE: Mtx and chg-zd-mtx On Fri, 28 Feb 2003 at 4:08pm, Pablo Jejcic wrote > If I unload all of them, nothing change:( *sigh*. I don't recall if this was in your o

RE: Mtx and chg-zd-mtx

2003-02-28 Thread Joshua Baker-LePain
On Fri, 28 Feb 2003 at 4:08pm, Pablo Jejcic wrote > If I unload all of them, nothing change:( *sigh*. I don't recall if this was in your original mail -- what version of amanda and what version of mtx are we dealing with here? -- Joshua Baker-LePain Department of Biomedical Engineering Du

RE: Mtx and chg-zd-mtx

2003-02-28 Thread Pablo Jejcic
PROTECTED] Sent: 28 February 2003 16:05 To: Pablo Jejcic Cc: [EMAIL PROTECTED] Subject: RE: Mtx and chg-zd-mtx On Fri, 28 Feb 2003 at 3:58pm, Pablo Jejcic wrote > > firstslot=1 First storage slot (element) -- required > lastslot=9 Last stora

RE: Mtx and chg-zd-mtx

2003-02-28 Thread Joshua Baker-LePain
gt; Storage Element 6:Full :VolumeTag= > > Storage Element 7:Empty:VolumeTag= > > Storage Element 8:Empty:VolumeTag= > > Storage Element 9:Empty:VolumeTag= > > > > But if I use chg-zd-mtx, I get: > > > > bash-2.05# /usr/local/libexe

RE: Mtx and chg-zd-mtx

2003-02-28 Thread Pablo Jejcic
ent: 28 February 2003 15:45 To: Pablo Jejcic Cc: [EMAIL PROTECTED] Subject: Re: Mtx and chg-zd-mtx On Fri, 28 Feb 2003 at 3:07pm, Pablo Jejcic wrote > bash-2.05# mtx status > Storage Changer /dev/changer:1 Drives, 9 Slots ( 0 Import/Export ) > Data Transfer Element 0:Full (Storage Elemen

Re: Mtx and chg-zd-mtx

2003-02-28 Thread Joshua Baker-LePain
umeTag= > Storage Element 9:Empty:VolumeTag= > > But if I use chg-zd-mtx, I get: > > bash-2.05# /usr/local/libexec/chg-zd-mtx -info > 5 6 1 > > So, I have 9 slots, 1 drive and the active tape is in slot 5. Can anybody > tell me why this is not what chg-zd-mtx said? What are

Re: Mtx and chg-zd-mtx

2003-02-28 Thread Victor Calzado Mayo
olumeTag= > Storage Element 9:Empty:VolumeTag= > > But if I use chg-zd-mtx, I get: > > bash-2.05# /usr/local/libexec/chg-zd-mtx -info > 5 6 1 you need to define the correct value for lastslot in your amanda.conf or in the /usr/local/libexec/chg-zd-mtx script. lastslot=9 Reg

Mtx and chg-zd-mtx

2003-02-28 Thread Pablo Jejcic
= Storage Element 6:Full :VolumeTag= Storage Element 7:Empty:VolumeTag= Storage Element 8:Empty:VolumeTag= Storage Element 9:Empty:VolumeTag= But if I use chg-zd-mtx, I get: bash-2.05# /usr/local/libexec/chg-zd-mtx -info 5 6 1 So, I have 9 slots, 1 drive and the active tape is

Re: another chg-zd-mtx problem

2003-02-14 Thread Pete Poggione
All of my issues have been solved and Amanda is running like a champ. I wanted to thank all of you that worked with me off list to solve the problem and apologize for posting so many emails at first. The final solution: You know how hard it is to RTFM at times.. In the chg-zd-mtx script itself

Re: another chg-zd-mtx problem

2003-02-13 Thread Gene Heskett
l (Storage Element 2 Loaded) > Storage Element 1:Full > Storage Element 2:Empty > Storage Element 3:Full > Storage Element 4:Full > Storage Element 5:Full > Storage Element 6:Full > >> If that works, try a "cd amanda_config_dir ; chg-zd-m

Re: another chg-zd-mtx problem

2003-02-13 Thread Pete Poggione
/dev/sg2:1 Drives, 6 Slots ( 0 Import/Export ) Data Transfer Element 0:Full (Storage Element 2 Loaded) Storage Element 1:Full Storage Element 2:Empty Storage Element 3:Full Storage Element 4:Full Storage Element 5:Full Storage Element 6:Full > If that

Re: another chg-zd-mtx problem

2003-02-12 Thread Jon LaBadie
On Wed, Feb 12, 2003 at 12:25:40PM -0500, Pete Poggione wrote: > amcheck now gives me: > > Amanda Tape Server Host Check > - > Holding disk /var/tmp: 7048472 KB disk space available, that's plenty > amcheck-server: could not get changer info: could not determine current

Re: another chg-zd-mtx problem

2003-02-12 Thread Jean-Louis Martineau
try amtape. I get the 'could not determine current slot' > error. > > Incidentally there has been some questions as to the version of Amanda I > am running. It's 2.4.3 now. I upgraded from 2.4.2 in hopes that it would > fix the chg-zd-mtx problem. > > The

  1   2   3   >