On Thursday 16 November 2006 18:49, Michael Nelson wrote:
> I am running Bacula 1.38.11 under CentOS 4.4 with a Quantum SuperLoader3
> LTO-3 changer.  I have only one magazine for it so it can hold 8 tapes.  I
> keep a cleaning tape in slot 8 and rotate backup tapes in slots 1-7.
> 
> My problem is that sometimes bacula goes into this loop and I just don't
> know what to do:
> 
> 16-Nov 09:28 nts-sd: 3301 Issuing autochanger "loaded drive 0" command.
> 16-Nov 09:28 nts-sd: 3302 Autochanger "loaded drive 0", result is Slot 3.
> 16-Nov 09:28 nts-sd: 3301 Issuing autochanger "loaded drive 0" command.
> 16-Nov 09:28 nts-sd: 3302 Autochanger "loaded drive 0", result is Slot 3.
> 16-Nov 09:28 nts-sd: 3301 Issuing autochanger "loaded drive 0" command.
> 16-Nov 09:28 nts-sd: 3302 Autochanger "loaded drive 0", result is Slot 3.
> 16-Nov 09:28 nts-sd: 3301 Issuing autochanger "loaded drive 0" command.
> 16-Nov 09:28 nts-sd: 3302 Autochanger "loaded drive 0", result is Slot 3.
> 16-Nov 09:28 nts-sd: 3301 Issuing autochanger "loaded drive 0" command.
> 16-Nov 09:28 nts-sd: 3302 Autochanger "loaded drive 0", result is Slot 3.
> 16-Nov 09:28 nts-sd: 3301 Issuing autochanger "loaded drive 0" command.
> 16-Nov 09:29 nts-sd: 3302 Autochanger "loaded drive 0", result is Slot 3.
> 
> Why does it keep doing that, over and over again?
> 
> 16-Nov 09:29 nts-sd: Please mount Volume "MCL376L3" on Storage Device
> "Drive-1" (/dev/nst0) for Job nsecure.2006-11-16_09.28.42
> *mount
> The defined Storage resources are:
>      1: File
>           2: Autochanger
>           Select Storage resource (1-2): 2
> Connecting to Storage daemon Autochanger at 10.10.0.8:9103 ...
> 3001 OK mount. Device="Drive-1" (/dev/nst0)
> *
> 16-Nov 09:29 nts-sd: 3301 Issuing autochanger "loaded drive 0" command.
> 16-Nov 09:29 nts-sd: 3302 Autochanger "loaded drive 0", result is Slot 3.
> 16-Nov 09:29 nts-sd: Please mount Volume "MCL376L3" on Storage Device
> "Drive-1" (/dev/nst0) for Job nsecure.2006-11-16_09.28.42
> *umount
> The defined Storage resources are:
>      1: File
>           2: Autochanger
>           Select Storage resource (1-2): 2
> 3301 Issuing autochanger "loaded drive 0" command.
> 3302 Autochanger "loaded drive 0", result is Slot 3.
> 3307 Issuing autochanger "unload slot 3, drive 0" command.
> 3001 Device "Drive-1" (/dev/nst0) unmounted.
> *mount
> The defined Storage resources are:
>     1: File
>     2: Autochanger
>     Select Storage resource (1-2): 2
> 3301 Issuing autochanger "loaded drive 0" command.
> 3302 Autochanger "loaded drive 0", result: nothing loaded.
> 3301 Issuing autochanger "loaded drive 0" command.
> 3302 Autochanger "loaded drive 0", result: nothing loaded.
> 3905 Device "Drive-1" (/dev/nst0) open but no Bacula volume is mounted.
> If this is not a blank tape, try unmounting and remounting the Volume.
> 
> 
> What the hell does it want from me?  I have tried umounting and
> remounting, it just goes back into this crazy loop.  I tried deleting all
> the volumes, erasing all the tapes, doing "label barcode"... it is driving
> me NUTS.
> 
> I have 2 sets of 7 LTO-3 tapes.  I would like to be able to go over to the
> colocation site where the drive is once a week, remove the used tapes and
> put in fresh ones, and have bacula continue to back up every night.  But
> everytime I have to change the tapes it literally takes me DAYS of
> screwing with it before it stabilizes again.

You can try five things:
1. Read the autochanger chapter of the manual.  Especially about how to change 
"magazines".
2. Learn how to do "update slots" or "update slots scan 1-7" if you do not 
have barcodes.
3. Upgrade to 1.39.28
4. Cross your fingers.
5. If the problem occurs again, be *much* more specific about what happened 
(with complete console and Job report output) and what commands you issued 
when.

Note, in general, if you unmount a drive, remove a volume from an autochanger, 
then remount the drive, Bacula just is not going to work.  The manual 
explains why -- and Arno as well as others have explained why a number of 
times on this list.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to