Bacula-users

Re: [Bacula-users] Still InChanger issue

2008-10-28 07:05:57
Subject: Re: [Bacula-users] Still InChanger issue
From: Thomas <thomas AT ic3s DOT de>
To: LeJav <lejav AT ibs-tls DOT com>
Date: Tue, 28 Oct 2008 11:58:11 +0100
i can confirm this problem,
bacula loads the slot where the tape is last seen,
even if the inchanger flag ist set to 0.
(you can find more about my problem in "Re: [Bacula-users] Restore Bug?" on 
20.10.2008.)

i think this is a bug.

Best Regards

Thomas

LeJav schrieb:
> Hello,
> 
> I have removed a tape from my autochanger, and I have set the InChanger flag 
> to 0
>   with the update volume command
> Now, I try to restore a file from this tape.
> I would expect that bacula asks for an intervention to insert the missing 
> tape; instead,
>   bacula trie to mount the missing tape (the slot has been left empty), fails 
> with timeout
>   and my restore session terminates with fatal error.
> 
> *list media
> Pool: System
> +---------+------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> | MediaId | VolumeName | VolStatus | Enabled | VolBytes    | VolFiles | 
> VolRetention | Recycle | Slot | InChanger | MediaType |
> LastWritten         |
> +---------+------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> |       1 | NF0018L3   | Used      |       1 | 489,194,496 |       30 |      
> 176,400 |       1 |    1 |         1 | LTO4      |
> 2008-10-25 12:16:05 |
> |       3 | NF0020L3   | Used      |       1 | 251,274,240 |       24 |      
> 176,400 |       1 |    3 |         0 | LTO4      |
> 2008-10-26 10:16:04 |
> |       4 | NF0028L3   | Append    |       1 | 254,822,400 |       27 |      
> 176,400 |       1 |    4 |         1 | LTO4      |
> 2008-10-27 12:37:56 |
> +---------+------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> ...
> 
> MediaId 3 / slot 3 is not in the autochanger; the InChanger flag is 0
> 
> and the traces for the restore session:
> 
> 27-Oct 13:56 fn-archnfs-dir JobId 224: Start Restore Job 
> RestoreFiles.2008-10-27_13.56.40
> 27-Oct 13:56 fn-archnfs-dir JobId 224: Using Device "Drive-1"
> 27-Oct 13:56 fn-archnfs-sd JobId 224: Invalid slot=0 defined in catalog for 
> Volume "NF0020L3" on "Drive-1" (/dev/nst0). Manual load
> may be required.
> 27-Oct 13:56 fn-archnfs-sd JobId 224: 3307 Issuing autochanger "unload slot 
> 4, drive 0" command.
> 27-Oct 13:57 fn-archnfs-sd JobId 224: Warning: acquire.c:260 Wrong Volume 
> mounted on device "Drive-1" (/dev/nst0): Wanted NF0020L3
> have NF0028L3
> 27-Oct 13:57 fn-archnfs-sd JobId 224: 3301 Issuing autochanger "loaded? drive 
> 0" command.
> 27-Oct 13:57 fn-archnfs-sd JobId 224: 3302 Autochanger "loaded? drive 0", 
> result: nothing loaded.
> 27-Oct 13:57 fn-archnfs-sd JobId 224: 3304 Issuing autochanger "load slot 3, 
> drive 0" command.
> 27-Oct 14:02 fn-archnfs-sd JobId 224: Fatal error: 3992 Bad autochanger "load 
> slot 3, drive 0": ERR=Child died from signal 15:
> Termination.
> Results=source Element Address 1003 is Empty
> Program killed by Bacula watchdog (timeout)
> 
> 
> is this the normal behaviour ?
> 
> thx for your help
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
[:O]###[O:]

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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>