Bacula-users

[Bacula-users] Repeated attempts to load non-present tape

2010-08-09 21:51:11
Subject: [Bacula-users] Repeated attempts to load non-present tape
From: Craig Miskell <craig.miskell AT opus.co DOT nz>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 10 Aug 2010 13:23:18 +1200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

        This past weekend, a weekly job decided it didn't want to use the 
volumes that were available in the autochanger.
Consequently, bacula tried to load a tape that was in the catalog, but wasn't 
present.  Unfortunately, it tried to do
this repeatedly, logging the following set of logs every few seconds:
        ausv01-sd JobId 350: Invalid slot=0 defined in catalog for Volume 
"000020L4" on "Drive-1" (/dev/nst0). Manual load may
be required.
ausv01-sd JobId 350: 3301 Issuing autochanger "loaded? drive 0" command.
ausv01-sd JobId 350: 3302 Autochanger "loaded? drive 0", result: nothing loaded.
ausv01-sd JobId 350: 3301 Issuing autochanger "loaded? drive 0" command.
ausv01-sd JobId 350: 3302 Autochanger "loaded? drive 0", result: nothing loaded.
ausv01-sd JobId 350: Warning: mount.c:227 Open device "Drive-1" (/dev/nst0) 
Volume "000020L4" failed: ERR=dev.c:491
Unable to open device "Drive-1"
 (/dev/nst0): ERR=No medium found

By Monday, there were > 1million log records there.  I would expect it to 
realise that the tape isn't available, report
that once, with reminders, and otherwise sit quietly waiting for operator 
intervention to provide the tape it wanted.
It's done similar before but I've never quite nailed down the scenario (there 
were some situations where the operator
hadn't run "update slots").

Has anyone else seen this behaviour?  If so, is there a simple known fix?  
Alternatively, any suggestions/guesses as to
why this might happen would be gratefully received, as I might then be able to 
come up with some sort of fix.

Bacula version is 5.0.0.

Thanks,

- --
Craig Miskell
Senior Systems Administrator
Opus International Consultants
Phone: +64 4 471 7209
"Criticizing a man for not holding political office is like criticizing a
dog for not humping your leg. Both have the ability to do the deed but the
superior ones choose not to."
        -- ronniecat, in rec.arts.comics.strips

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxgqgQACgkQmDveRtxWqnYwXgCfWPN8yx65zPFfRw+yTv0/SEH/
VkUAoKb2TDGRCUE9V3OH/BGtN9e6L0oW
=oac3
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-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>
  • [Bacula-users] Repeated attempts to load non-present tape, Craig Miskell <=