On Wednesday 07 September 2005 22:25, Martin Simmons wrote:
> >>>>> On Wed, 07 Sep 2005 16:18:45 +0200, Daniel Holtkamp
> >>>>> <[EMAIL PROTECTED]> said:
>
>   Daniel> Hello !
>
>   Daniel> 07-Sep 10:58 backup-sd: Committing spooled data to Volume.
> Despooling Daniel> 2,277,939,503 bytes ...
>   Daniel> 07-Sep 11:01 backup-sd: Alert: mtx: cannot open SCSI device
> '*None*' - Daniel> No such file or directory
>   Daniel> 07-Sep 11:01 backup-sd: Sending spooled attrs to the Director.
>   Daniel> Despooling 9,194,993 bytes ...
>
>   Daniel> Uh, why does it try anything with mtx ?
>
>   Daniel> ------- bacula-sd.conf excerpt -------
>   Daniel> Device {
>   Daniel>    Name = backup-storage
>   Daniel>    Drive Index = 0
>   Daniel>    Media Type = backup-tape
>   Daniel>    Archive Device = /dev/nst1
>   Daniel>    AutomaticMount = yes;               # when device opened, read
> it Daniel>    AlwaysOpen = yes;
>   Daniel>    RemovableMedia = yes;
>   Daniel>    RandomAccess =  no;
>   Daniel>    Spool Directory = /var/backup/bacula/spool
>   Daniel>    AutoChanger = no
>   Daniel>    Alert Command = "sh -c '/usr/local/sbin/tapeinfo -f %c |grep
>   Daniel> TapeAlert|cat'"
>   Daniel> }
>   Daniel> --------------------------------------
>
>   Daniel> We don`t have a tape changer just 4x LTO-1 drives attached ...
>
> The tapeinfo binary comes from the mtx package, so it might just be bad
> reporting.
>
> You will need to specify /dev/nst1 as the Changer Device or put /dev/nst1
> instead of %c in the Alert command.
>

tapeinfo works equally well on non-changer devices.  It may not supply 
TapeAlert info if the drive is not a newer model.

The %c is in fact correct. tapeinfo works using the control channel. I've 
modified bacula-sd.conf so that tapealert won't be automatically turned on if 
the user enables a Device, and added a message telling him that he will need 
to install the mtx package.

> __Martin
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to