* Jean-Louis Martineau <[EMAIL PROTECTED]> [20070205 07:35]:
> Jean-Francois,
> 
> Maybe it's an incompatibility with the sed command,
> could you try the attached patch?

Thanks Jean-Louis, it looks all good now:

su amanda -c "/opt/amanda/amanda10/sbin/amcheck -t stk_180-conf10"
Amanda Tape Server Host Check
-----------------------------
slot 36: read label `stk_180-conf10-000036', date `20061222'
NOTE: skipping tape-writable test
Tape stk_180-conf10-000036 label ok
Server check took 146.575 seconds

(brought to you by Amanda 2.5.1p2-20070202)

> 
> If it still doesn't work, could you send me the 
> chg-zd-mtx.<timestamps>.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 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-conf10"
> >Amanda Tape Server Host Check
> >-----------------------------
> >Changer problem: no slots available
> >changer problem: no slots available       (expecting tape
> >stk_180-conf10-000029 or a new tape)
> >Server check took 3.158 seconds
> >
> >(brought to you by Amanda 2.5.1p2-20070202)
> >
> >Tape stk_180-conf10-000029 is in the library and available.
> >If I use chg-zd-mtx from amanda-2.5.1p1 amcheck detects and load
> >the tape correctly.
> >
> >mtx version 1.2.16rel is installed and its status ouput from a STK-L180
> >library looks like:
> >
> >  Storage Changer /dev/changer-l180:2 Drives, 184 Slots ( 10 Import/Export 
> >  )
> >Data Transfer Element 0:Full (Storage Element 93 Loaded):VolumeTag = 
> >R00005                          Data Transfer Element 1:Empty
> >      Storage Element 1:Full :VolumeTag=Q00510                          
> >      Storage Element 2:Full :VolumeTag=Q00511                          
> >      Storage Element 3:Full :VolumeTag=Q00512                          
> >      Storage Element 4:Full :VolumeTag=Q00513                          
> >[...]
> >      Storage Element 174:Full :VolumeTag=Q00500                          
> >      Storage Element 175 IMPORT/EXPORT:Empty
> >      Storage Element 176 IMPORT/EXPORT:Empty
> >      Storage Element 177 IMPORT/EXPORT:Empty
> >      Storage Element 178 IMPORT/EXPORT:Empty
> >      Storage Element 179 IMPORT/EXPORT:Empty
> >      Storage Element 180 IMPORT/EXPORT:Empty
> >      Storage Element 181 IMPORT/EXPORT:Empty
> >      Storage Element 182 IMPORT/EXPORT:Empty
> >      Storage Element 183 IMPORT/EXPORT:Empty
> >      Storage Element 184 IMPORT/EXPORT:Empty
> >
> >regards,
> >jf
> >
> >  
> 



-- 
<° ><

Reply via email to