-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

OK, here's how I got into this mess:

Operations staff has a calendar for which tape goes in when -- they
wrote it out because they really don't have the knowhow to check for
themselves. Well, they messed up because I don't have a full backup
scheduled for the fifth Tuesday:

Schedule {
  Name = "UMD-F13T-Inc"
  Run = Level=Full Storage=helios_DAT72 1st,3rd tue at 21:00
  Run = Level=Incremental Storage=helios_DDS 1st,3rd mon,wed-fri at 23:00
  Run = Level=Incremental Storage=helios_DDS 2nd,4th-5th mon-fri at 23:00
}

Schedule {
  Name = "UMD-F24T-Inc"
  Run = Level=Full Storage=helios_DAT72 2nd,4th tue at 21:00
  Run = Level=Incremental Storage=helios_DDS 2nd,4th mon,wed-fri at 23:00
  Run = Level=Incremental Storage=helios_DDS 1st,3rd,5th mon-fri at 23:00
}

...however, their calendar had a fifth Tuesday and messed up the
rotation. Today, as a result, the wrong tape went into the drive. Here
is my storage config:

Device {
  Name = helios_DAT72                       #
  Media Type = DDS-4
  Archive Device = /dev/rmt/1lbn
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = no;
  Volume Poll Interval = 30 minutes;
  Close on Poll = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Spool Directory = /usr/local/bacula/var/spool;
}

I meant to set AlwaysOpen to yes here, but apparently did not -- so now
I'm even more confused. Anyway, what happened... it tried to run a
backup, but it looked at the tape and saw that it was used and in the
wrong pool, and rightly refused. We noticed the error and now have the
proper tape in the drive. However:

#umount
Using default Catalog name=MyCatalog DB=bacula
The defined Storage resources are:
     1: File
     2: helios_DDS
     3: helios_DAT72
Select Storage resource (1-3): Unexpected question has been received.
3
3901 Device "helios_DAT72" (/dev/rmt/1lbn) is already unmounted.
#mount
The defined Storage resources are:
     1: File
     2: helios_DDS
     3: helios_DAT72
Select Storage resource (1-3): Unexpected question has been received.
3
3001 Mounted Volume: catalyst_BW1
3001 Device "helios_DAT72" (/dev/rmt/1lbn) is already mounted with
Volume "catalyst_BW1"
#

...as you can see, my tape is both "already unmounted" and "already
mounted", and claims that the tape that is in the drive is the tape that
I've taken out of the drive and replaced with the right tape. It has
requested the tape I'd expect it to, but will not be convinced that it's
in the drive:

15-Nov 10:37 helios-sd: CFMX-dev.2006-11-14_21.00.00 Warning: Director
wanted Volume "combined_BW1" for device "helios_DAT72" (/dev/rmt/1lbn).
    Current Volume "catalyst_BW1" not acceptable because:
    1998 Volume "catalyst_BW1" status is Used, not in Pool.
15-Nov 10:37 helios-sd: Please mount Volume "combined_BW1" on Storage
Device "helios_DAT72" (/dev/rmt/1lbn) for Job CFMX-dev.2006-11-14_21.00.00

I've restarted bacula already and this hasn't helped at all. This is
version 1.38.11. I've never actually had a problem before like this that
I couldn't figure out -- seems to be that the worst case scenario has
you restart and that's that. I'm totally stumped here. Can anyone point
me in the right direction?

Thanks,
=R

- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
 |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFWzSqmb+gadEcsb4RAuvxAJ0XjTYoUMuBdDjQE0zr/cNl/y4rHQCeNGS1
wE3Jr6yrCmGiC/rGQk/BjJ4=
=mpzy
-----END PGP SIGNATURE-----


-------------------------------------------------------------------------
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