Bacula-users

Re: [Bacula-users] cannot find any appendable volumes

2010-07-28 06:29:56
Subject: Re: [Bacula-users] cannot find any appendable volumes
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 28 Jul 2010 11:27:30 +0100
>>>>> On Tue, 27 Jul 2010 14:45:37 -0700, Maria Mckinley said:
> 
> On 7/26/10 12:13 PM, John Drescher wrote:
> >snip<
> >>>
> >>> Did it try to use B0000002  and fail?
> >>>
> >>> John
> >>
> >> Both B0000001 and B0000002 are in the changer. I tried loading each of them
> >> in the drive, and after each time running the mount command in bacula, but 
> >> I
> >> just keep getting the message that there are no appendable volumes.
> >>
> > Did you change the status of these volumes after the job started?
> >
> > John
> 
> So, I just tried moving a volume from my scratch pool to my Servers 
> pool, and pruned it. Bacula marked it purged. I then ran the mount 
> command, and again I got the message that there are no appendable volumes:
> 
> *messages
> 27-Jul 14:35 billie-sd JobId 1700: Job MailBackup.2010-07-25_01.10.00.28 
> waiting. Cannot find any appendable volumes.
> Please use the "label"  command to create a new Volume for:
>      Storage:      "Drive-1" (/dev/st0)

Using /dev/st0 is risky.  You should use /dev/nst0 to prevent the tape from
rewinding unexpectedly and then overwriting the label.



>      Pool:         Servers
>      Media type:   VXA-2
> *list volumes pool=Servers
> +---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> | MediaId | VolumeName | VolStatus | Enabled | VolBytes        | VolFiles | 
> VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         |
> +---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> |       8 | A0000007   | Purged    |       1 | 123,725,887,488 | 196      |   
>    864,000 |       1 |    7 |         1 | VXA-2     | 2009-06-26 11:10:47 |
> |      10 | A0000010   | Full      |       1 |  85,035,073,536 | 94       |   
>  2,592,000 |       1 |    9 |         1 | VXA-2     | 2010-07-04 04:21:32 |
> |      11 | B0000001   | Recycle   |       1 |               1 | 0        |   
>  1,814,400 |       1 |    2 |         1 | VXA-2     | 2010-06-27 06:48:34 |
> |      12 | B0000002   | Append    |       1 |               0 | 0        |   
>  2,592,000 |       1 |    5 |         1 | VXA-2     | 2010-06-13 05:50:03 |
> |      31 | C0000006   | Full      |       1 |  71,120,738,304 | 76       |   
>  2,592,000 |       1 |    8 |         1 | VXA-2     | 2010-07-23 16:15:26 |
> +---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> 
> What the heck could be going on here?

Try setting debug level 200 in the Director:

setdebug director level=200 trace=1

Then get Bacula to recheck the volume to use (probably unmount followed by
mount will do this).  The trace file from the working directory might give
more clues about what it is trying to find.


>                                       I have recently ran into some 
> weirdnesses with my setup. Everything had been running fine for a long 
> time, and then when I rebooted the machine, the tape drive showed up on 
> a different device address. I had to change this, and then it appeared 
> that suddenly there were some strange problems with my config file, 
> which I fixed (stuff like it suddenly didn't like upper case letters, 
> where apparently it didn't care before). But, now I have run a couple of 
> successful backups since then, until I ran into this weirdness, and I'm 
> not sure what to do...  Using bacula 2.4.4-1 on debian lenny.

Which parts of the config were affected by the upper case letter problem?
AFAIK, all of the keywords are case-insensitive but the names of things
(pools, clients, mediatypes etc) are case-sensitive.

__Martin

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users