Bacula-users

Re: [Bacula-users] vchanger and "intervention needed"

2013-10-31 12:57:29
Subject: Re: [Bacula-users] vchanger and "intervention needed"
From: Josh Fisher <jfisher AT pvct DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 31 Oct 2013 12:55:02 -0400

On 10/31/2013 12:29 PM, Dimitri Maziuk wrote:
Hi everyone,

I've 9 sata disks in a vchanger. One dies, I replace the disk, do the
'update slot' and 'label barcodes'.

Then for good measure I delete & purge all volumes from the dead disk.

That fixes it for vchanger, but you still have to fix Bacula's catalog, which still has records for the volumes on changer1_0006. In bconsole, use 'delete volume=changer1_0006_0001' and etc. to delete the volumes that were on the broken disk.


Now I'm getting

Bacula: Intervention needed for rendena.2013-10-30_20.05.00_04
30-Oct 20:05 rendena-sd JobId 551: Please mount Volume
"changer1_0006_0002" or label a new one for:
    Job:          rendena.2013-10-30_20.05.00_04
    Storage:      "Vchanger-drive" (/var/spool/bacula/changer1/0/drive0)
    Pool:         Default
    Media type:   BDRSizedFile

Yesterday I got one for another job but same volume.

I restarted bacula=dir again yesterday in the hope of clearing any
"stale" jobs -- but this doesn't look like it: I replaced the disk on
the 27th, the errors are from 29th and 30th.

changer1_0006 is the dead disk. All its volumes show up as "offline" in bat.

changer1_0011 is the new disk. There's also changer1_0007..0010 that are
due for recycling but show the expiration date of next year -- I've max
volumes, auto prune, and purge oldest volume set in the pool defn.

What gives? How do I a)  tell it "0006 is not there, start recycling the
next one" and b) make it do that automagically from now on?

TIA
Dima




------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk


_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
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>