On Thu, 19 Apr 2001 14:43:23 -0400
Sandra Panesso <[EMAIL PROTECTED]> (Sandra Panesso) wrote:

> Hi Everybody:

Hi Sandra!

 
> I don't know if you have a chg-zd-mtx 
> configuration file as example to use. I remember that when I used  
> chg-multi the first time I copied the chg-multi configuration example. 
> And I used it in my amanda.conf file but now  I don't know what  I have 
> to do.
> 
> I install mtx 1.2 on red hat linux 6.2 (this my tape server) and it is 
> working but I don't know what it is the next step with amanda.

Maybe you run into problems as your mtx produce a slightly different output
than the chg-zd-mtx script expects. 

Take the following diff and put a line

        tpchanger "chg-zd-mtx"

in your current amanda.conf (besides the correct values for runtapes and tapedev).

Hope this helps

                Thommy

   --------- 8x ----------------- cut here ----------------- x8 ---------



diff ~bahls/Projekt/zucker/amanda-2.4.2p1/changer-src/chg-zd-mtx ../libexec/chg-zd-mtx
46c46
< lastslot=6
---
> lastslot=5
48c48
< cleanslot=-2
---
> cleanslot=6
63,64c63
<   used=`$MTX status |
<     sed -n 's/Data Transfer Element:.Empty/-1/p;s/Data Transfer Element:.Full 
(Storage Element \(.\) Loaded)/\1/p'`
---
>   used=`$MTX status | sed -n 's/Data Transfer Element .:Empty/-1/p;s/Data Transfer 
>Element .:Full (Storage Element \(.\) Loaded)/\1/p'`                                  
>                                             


-- 
   Thomas Bahls     -- s p e e d l i n k . d e --   fon +49-30-28000-183
[EMAIL PROTECTED]     http://www.speedlink.de      fax +49-30-28000-22
    LAN admin             Hardenbergplatz 2            D-10623 Berlin


Reply via email to