This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-users] behaviour of autochanger when slot is empty?

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] behaviour of autochanger when slot is empty?
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Fri, 4 Sep 2009 22:01:08 +1000
Delivery-date: Fri, 04 Sep 2009 05:03:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcotV2MGIgqqQ8BZTbic7yRZzpc2VQ==
Thread-topic: behaviour of autochanger when slot is empty?
What should the autochanger script do when the slot is empty on a 'load'
command (eg because the magazine has been changed)?

If the autochanger script exits with a return code of 1 then the job
fails with:

04-Sep 21:44 xxx-sd JobId 63: Fatal error:
/home/kern/bacula/k/src/stored/fd_cmds.c:166 Command error with FD,
hanging up. Append data error.

04-Sep 21:44 xxx-fd JobId 63: Fatal error:
/home/kern/bacula/k/src/filed/job.c:1921 Bad response to Append Data
command. Wanted 3000 OK data, got 3903 Error append data

When it exits with a 0 bacula figures out that there is nothing in the
drive and asks for a volume.

I want it to rescan the (virtual) magazine when this happens... is that

In my case the magazine is a USB external disk that has just been
swapped over.



Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] behaviour of autochanger when slot is empty?, James Harper <=