Bacula-users

Re: [Bacula-users] Problem with 'label barcodes' - SOLVED

2008-06-11 16:48:54
Subject: Re: [Bacula-users] Problem with 'label barcodes' - SOLVED
From: Dave Phillips <phillips AT nemesis.tucson.saic DOT com>
To: Bacula-users AT lists.sourceforge DOT net
Date: Wed, 11 Jun 2008 13:46:39 -0700 (MST)
For the Quantum Superloader 3, the 'label barcode' issue is fixed by the
following changes to the mtx-changer script:

   list)
      debug "Doing mtx -f $ctl -- to list volumes"
      make_temp_file
# Enable the following if you are using barcodes and need an inventory
#     ${MTX} -f $ctl inventory
      ${MTX} -f $ctl status >${TMPFILE}
      rtn=$?
# ***following is original command***
#      cat ${TMPFILE} | grep " Storage Element [0-9]*:.*Full" | awk "{print \$3 
\$4}" | sed "s/Full*\(:VolumeTag=\)*//"
# ***following is modified command for Quantum Superloader 3***
      cat ${TMPFILE} | grep " Storage Element [0-9]*:.*Full" | awk "{print \$3 
\$4}" | sed "s/Full*:VolumeTag=*//"


Thanks everyone for the fast help tracking this down.  It was an easy
fix.

Dave


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Bacula-users] Problem with 'label barcodes' - SOLVED, Dave Phillips <=