]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/scripts/mtx-changer.in
- Tweak install chapter of French manual to add new paragraph
[bacula/bacula] / bacula / scripts / mtx-changer.in
index e1c0d4a98bd6d53a07e8c54757d4aba1bddbbf79..37b7cc63706c4871d0fce183ff39a973c1da108e 100644 (file)
@@ -38,6 +38,9 @@ MTX=@MTX@
 #   not running on Linux, you will probably need to
 #   re-write it.
 #
+# If you have a FreeBSD system, you might want to change
+#  the $(seq 180) to $(jot 180) -- tip from Brian McDonald
+#
 wait_for_drive() {
   for i in $(seq 180); do   # Wait max 180 seconds
     if mt -f $1 status >/dev/null 2>&1; then
@@ -121,6 +124,10 @@ case $cmd in
       ${MTX} -f $ctl status | grep " *Storage Element [0-9]*:.*Full" | awk "{print \$3 \$4}" | sed "s/Full *\(:VolumeTag=\)*//"
 # Comment out the previous line and add a line here
 # to print "fake" barcodes.
+#
+# If you have a VXA PacketLoader and the above does not work, try
+#  turning it off and enabling the following line.
+#     ${MTX} -f $ctl status | grep " *Storage Element [0-9]*:.*Full" | sed "s/*Storage Element //" | sed "s/Full :VolumeTag=//"
       ;;
 
    loaded)