Hi All, I'm wondering if anyone else has run across this. I'm running bacula5.0.2 on Linux (Centos 5) and I'm getting a timeout whenever I use the mtx-changer script to load a tape.
I looked at the script and it determines timeout from this: wait_for_drive() { i=0 while [ $i -le 300 ]; do # Wait max 300 seconds if mt -f $1 status 2>&1 | grep "${ready}" >/dev/null 2>&1; then break fi debug "Device $1 - not ready, retrying..." sleep 1 i=`expr $i + 1` done } but when I issue: mt -f /dev/nst0 status I get this: SCSI 2 tape drive: File number=-1, block number=-1, partition=0. Tape block size 0 bytes. Density code 0x0 (default). Soft error count since last status=0 General status bits on (50000): DR_OPEN IM_REP_EN No where does it say 'ready' . I might be able to kludge something, but I wonder if anyone has a solution to this. I'd be surprised if it hadn't come up before, unless I'm missing something obvious, which is certainly very possible. thanks, Eli +---------------------------------------------------------------------- |This was sent by ermor...@ucsc.edu via Backup Central. |Forward SPAM to ab...@backupcentral.com. +---------------------------------------------------------------------- ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users