Hello,
mtx-changer (bacula 2.2.8) does not recognize the IMPORT/EXPORT slot
in my autochanger. Attached is a small patch to fix this.
Attila
--- mtx-changer.old 2008-05-15 15:32:59.000000000 +0200
+++ mtx-changer 2008-05-15 15:13:12.000000000 +0200
@@ -188,7 +188,7 @@
# ${MTX} -f $ctl inventory
${MTX} -f $ctl status >${TMPFILE}
rtn=$?
- cat ${TMPFILE} | grep " Storage Element [0-9]*:.*Full" | awk "{print \$3 \$4}" | sed "s/Full *\(:VolumeTag=\)*//"
+ cat ${TMPFILE} | sed "s/ IMPORT\/EXPORT//" | grep " Storage Element [0-9]*:.*Full" | awk "{print \$3 \$4}" | sed "s/Full *\(:VolumeTag=\)*//"
#
# If you have a VXA PacketLoader and the above does not work, try
# turning it off and enabling the following line.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel