Bacula-users

Re: [Bacula-users] [Bacula-devel] Bscan bug?

2010-10-18 12:09:24
Subject: Re: [Bacula-users] [Bacula-devel] Bscan bug?
From: Kern Sibbald <kern AT sibbald DOT com>
To: bacula-devel AT lists.sourceforge DOT net
Date: Mon, 18 Oct 2010 18:06:25 +0200
If I remember right, bscan does not support autochangers, because it has no 
idea what Volume belongs in what slot.  You must "manually" (e.g. by mtx 
commands) change the Volumes when it asks you.

Kern

On Monday 18 October 2010 15:20:11 Alan Brown wrote:
> 5.03, 64 bit
>
> It looks like bscan isn't referring to the changer device for a given
> tape drive in order to work out what slots to use.
>
> # bscan -m -s  -V
> AMED0001\|AMED0002\|AMED0003\|AMED0004\|AMED0005\|AMED0006\|AMED0007
> MSL6000-0
> bscan: butil.c:281 Using device: "MSL6000-0" for reading.
> 18-Oct 14:10 bscan JobId 0: Invalid slot=0 defined in catalog for Volume
> "AMED0001" on "MSL6000-0" (/dev/tape/by-id/scsi-3500110a0037350e0-nst).
> Manual load may be required.
> 18-Oct 14:10 bscan JobId 0: 3301 Issuing autochanger "loaded? drive 0"
> command.
> 18-Oct 14:10 bscan JobId 0: 3302 Autochanger "loaded? drive 0", result
> is Slot 14.
>
>
> The relevant part of bacula-sd.conf:
>
> Autochanger {
>    Name = MSL6000-changer
>    Device = MSL6000-0
>    Device = MSL6000-1
>    Changer Device = /dev/tape/by-id/scsi-200900d26394d08f0
>    Changer Command = "/usr/lib64/bacula/mtx-changer %c %o %S %a %d"
> }
>
> Device {
>    Name = MSL6000-1                      #
>    Drive Index = 1
>    Device Type = Tape
>    Media Type = LTO-2
>    AutoChanger = yes;
>    Changer Device = /dev/tape/by-id/scsi-200900d26394d08f0
>    Archive Device = /dev/tape/by-id/scsi-350060b00002b041b-nst
>    AutomaticMount = yes;               # when device opened, read it
>    AlwaysOpen = yes;
>    LabelMedia = yes;                   # lets Bacula label unlabeled media
>    RemovableMedia = yes;
>    RandomAccess = no;
>    Volume Poll Interval = 7200
>    Alert Command = "sh -c 'smartctl -H -d scsi -l error
> /etc/bacula/tape0generic'"
>    Spool Directory = /var/bacula/spool/MSL6000-1
>    Maximum Network Buffer Size = 65536
>    Maximum Spool Size     = 250G
>    Maximum Job Spool Size = 100G
> }
>
> have I missed something or is this a genuine bug?
>
>
>
>
> ---------------------------------------------------------------------------
>--- Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> Flex(R) Builder(TM)) enable the development of rich applications that run
> across multiple browsers and platforms. Download your free trials today!
> http://p.sf.net/sfu/adobe-dev2dev
> _______________________________________________
> Bacula-devel mailing list
> Bacula-devel AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-devel



------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
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>