Bacula-users

Re: [Bacula-users] bacula confused about slots on autochanger

2010-08-04 07:44:22
Subject: Re: [Bacula-users] bacula confused about slots on autochanger
From: John Drescher <drescherjm AT gmail DOT com>
To: Maria McKinley <maria AT shadlen DOT org>
Date: Wed, 4 Aug 2010 07:40:54 -0400
On Tue, Aug 3, 2010 at 9:20 PM, Maria McKinley <maria AT shadlen DOT org> wrote:
> It seems that part of the problem I have been having with backup is that
> bacula is having communication problems with the autochanger. Bacula
> tells the autochanger to load slot 3, but instead slot 2 is loaded:
>
> *messages
> 03-Aug 18:14 billie-sd JobId 1728: 3301 Issuing autochanger "loaded?
> drive 0" command.
> 03-Aug 18:14 billie-sd JobId 1728: 3302 Autochanger "loaded? drive 0",
> result: nothing loaded.
> 03-Aug 18:14 billie-sd JobId 1728: 3304 Issuing autochanger "load slot
> 3, drive 0" command.
> *
> 03-Aug 18:15 billie-sd JobId 1728: 3305 Autochanger "load slot 3, drive
> 0", status is OK.
> *
> 03-Aug 18:15 billie-sd JobId 1728: Warning: Director wanted Volume
> "A0000005".
>     Current Volume "B0000005" not acceptable because:
>     1998 Volume "B0000005" status is Full, not in Pool.
> 03-Aug 18:15 billie-sd JobId 1728: Please mount Volume "A0000005" or
> label a new one for:
>     Job:          NightlySave.2010-08-01_01.05.00.32
>     Storage:      "Drive-1" (/dev/nst0)
>     Pool:         Daily
>     Media type:   VXA-2
> *exit
> billie:~# mtx -f /dev/sg2 status
>   Storage Changer /dev/sg2:1 Drives, 10 Slots ( 0 Import/Export )
> Data Transfer Element 0:Full (Storage Element 2 Loaded):VolumeTag =
> B0000005
>       Storage Element 1:Full :VolumeTag=A0000006
>
>       Storage Element 2:Empty:VolumeTag=
>
>       Storage Element 3:Full :VolumeTag=A0000005
>
>       Storage Element 4:Full :VolumeTag=A0000004
>
>       Storage Element 5:Full :VolumeTag=B0000004
>
>       Storage Element 6:Full :VolumeTag=C0000005
>
>       Storage Element 7:Full :VolumeTag=A0000007
>
>       Storage Element 8:Full :VolumeTag=C0000006
>
>       Storage Element 9:Full :VolumeTag=A0000010
>
>       Storage Element 10:Full :VolumeTag=CLNA0001
>
> Any ideas what is going on or how to fix it?
>

You probably need to edit mtx-changer to get it to do the right thing.
Did you specify that you have a vxa changer in your mtx-changer.conf?

John

------------------------------------------------------------------------------
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://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users