many thanks for these informations.
Best regards
Enrico

Il giorno dom 3 mar 2024 alle ore 03:23 Gary R. Schmidt <
g...@mcleod-schmidt.id.au> ha scritto:

> On 03/03/2024 03:50, enrico.becche...@gmail.com wrote:
> >
> > Dear all, I need to build a backup system and I would like to use
> > Bacula. My project involves an HP Store Ever MSL 1/8 library with an
> > LTO-8 fiber channel drive. The Bacula server will be an HP Proliant
> > DL380 Gen8 running Almalinux 8 or 9. My idea is to have automatic tape
> > management with Bacula sending the tape change command when needed, and
> > the library identifying the correct cartridge using the barcode. Do you
> > think Bacula can handle all of this with the hardware I have specified?
>
> Yes.  I have a previous version of that autoloader running an LTO06 tape
> drive.
>
> I had to set the timeouts to 30 seconds in mtx-changer.conf, and changed
> the mtx-changer script thus:
>
> =======================
> wait_for_drive() {
>    i=0
>    while [ $i -le 300 ]; do  # Wait max 300 seconds
>      # grs, try once before checking...
>      mt -f $1 status > /dev/null 2>&1
>      if mt -f $1 status 2>&1 | grep "${ready}" >/dev/null 2>&1; then
>        break
>      fi
>      debug $dbglvl "Device $1 - not ready, retrying..."
>      sleep 1
>      i=`expr $i + 1`
>    done
> }
> =======================
>
> And, in the "list)" command, I changed
> =======================
> ##      cat ${TMPFILE} | grep " Storage Element [0-9]*:.*Full" | awk
> "{print \$3 \$4}" | sed "s/Full *\(:VolumeTag=\)*//"
> ## grs 20150529
>          cat ${TMPFILE} | grep " Storage Element [0-9].*:.*Full"| sed
> "s/.*Storage Element //" | sed "s? IMPORT/EXPORT??" | sed "s/Full
> :VolumeTag=//"
> =======================
> To recognise the mail slot correctly.
>
> Be wary of line-wrapping in the above code.
>
> I haven't updated for a while, newer versions of mtx-changer may not
> need these changes.
>
> And the Python version may not either.
>
>         Cheers,
>                 Gary    B-)
>
>
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to