Bacula-users

Re: [Bacula-users] bacula wants me to mount already mounted volume

2008-08-07 17:36:33
Subject: Re: [Bacula-users] bacula wants me to mount already mounted volume
From: Ryan Novosielski <novosirj AT umdnj DOT edu>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 07 Aug 2008 17:36:10 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nils Blanck-Wehde wrote:
> Hello list,
> 
> I am running bacula 2.4.2 on CentOS 5.2
> 
> I can't get backups to tape work again. They worked well for weeks now 
> and I did not touch any config-file....
> Right now it looks like bacula is waiting for a volume, that's already 
> in the drive:
> 
> 07-Aug 11:42 company_bacula-dir JobId 216: Using Device "DLT-Drive-1"
> 07-Aug 11:42 company_bacula-sd JobId 216: 3301 Issuing autochanger 
> "loaded? drive 0" command.
> 07-Aug 11:42 company_bacula-sd JobId 216: 3302 Autochanger "loaded? 
> drive 0", result is Slot 8.
> *messages
> 07-Aug 11:44 company_bacula-sd JobId 216: Please mount Volume "CNV768" 
> or label a new one for:
>     Job:          Fileserver_Lexware_Exchange_to_Tape.2008-08-07_11.42.14
>     Storage:      "DLT-Drive-1" (/dev/nst0)
>     Pool:         Weekly_Full_Backup_to_DLT
>     Media type:   DLT-VS1
> 
> 
> This is the output of "list volumes":
> 
> Pool: Weekly_Full_Backup_to_DLT
> +---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> | MediaId | VolumeName | VolStatus | Enabled | VolBytes       | VolFiles 
> | VolRetention | Recycle | Slot | InChanger | MediaType | 
> LastWritten         |
> +---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> |      11 | CNV762     | Purged    |       1 | 31,852,800,000 |       32 
> |    4,233,600 |       1 |    2 |         1 | DLT-VS1   | 2008-07-20 
> 04:03:14 |
> |      12 | CNV763     | Purged    |       1 |        129,024 |        1 
> |    4,233,600 |       1 |    3 |         1 | DLT-VS1   | 2008-07-21 
> 13:12:19 |
> |      13 | CNV764     | Purged    |       1 | 32,039,949,312 |       33 
> |    4,233,600 |       1 |    4 |         1 | DLT-VS1   | 2008-07-22 
> 04:04:08 |
> |      14 | CNV765     | Purged    |       1 | 32,240,130,048 |       33 
> |    4,233,600 |       1 |    5 |         1 | DLT-VS1   | 2008-07-23 
> 04:04:55 |
> |      15 | CNV766     | Purged    |       1 | 32,438,375,424 |       33 
> |    4,233,600 |       1 |    6 |         1 | DLT-VS1   | 2008-07-24 
> 04:06:35 |
> |      16 | CNV767     | Purged    |       1 | 32,641,846,272 |       33 
> |    4,233,600 |       1 |    7 |         0 | DLT-VS1   | 2008-07-25 
> 04:10:36 |
> |      17 | CNV768     | Recycle   |       1 |              1 |        0 
> |    4,233,600 |       1 |    8 |         1 | DLT-VS1   | 2008-07-09 
> 10:25:56 |
> |      18 | CNV760     | Cleaning  |       1 |              0 |        0 
> |    4,233,600 |       1 |   16 |         1 |           | 0000-00-00 
> 00:00:00 |
> |     163 | CNV761     | Recycle   |       1 |              1 |        0 
> |    4,233,600 |       1 |    1 |         1 | DLT-VS1   | 2008-08-03 
> 13:25:16 |
> +---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> *
> 
> To me this looks like bacula knows, that slot 8 contains volume "CNV768" 
> and it knows that slot 8 ist loaded into the drive (which it is). Still 
> it wants me to load Volume "CNV768". What am I missing?
> 
> Another thing that I don't quite understand is why bacula asks me to 
> label new volumes if I can't provide volume CNV768, all other tapes are 
> marked purged to.
> 
> I would be very glad if someone could spread some light...

Maybe a stupid question, but did you try issuing a mount command on the
right drive?

- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |novosirj AT umdnj DOT edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIm2rKmb+gadEcsb4RApXFAKCyIp/BEVVw2KZBy/2O0lqDltCInQCffiBa
TbeKFrcyKSqsZyrxrgh/YDk=
=2qKf
-----END PGP SIGNATURE-----

Attachment: novosirj.vcf
Description: Vcard

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