Bacula-users

Re: [Bacula-users] Device is BLOCKED waiting to create a volume for:

2009-01-06 03:23:25
Subject: Re: [Bacula-users] Device is BLOCKED waiting to create a volume for:
From: Apple Jack <marvinoid AT yahoo DOT com>
To: "Bacula-users AT lists.sourceforge DOT net" <Bacula-users AT lists.sourceforge DOT net>
Date: Tue, 6 Jan 2009 00:20:49 -0800 (PST)
--- On Mon, 1/5/09, John Drescher <drescherjm AT gmail DOT com> wrote:

> From: John Drescher <drescherjm AT gmail DOT com>
> Subject: Re: [Bacula-users] Device is BLOCKED waiting to create a volume for:
> To: "Apple Jack" <marvinoid AT yahoo DOT com>, "Bacula-users AT 
> lists.sourceforge DOT net" <Bacula-users AT lists.sourceforge DOT net>
> Date: Monday, January 5, 2009, 6:23 AM
> On Mon, Jan 5, 2009 at 8:40 AM, Apple Jack
> <marvinoid AT yahoo DOT com> wrote:
> > --- On Sat, 1/3/09, John Drescher
> <drescherjm AT gmail DOT com> wrote:
> >
> >> From: John Drescher <drescherjm AT gmail DOT com>
> >> Subject: Re: [Bacula-users] Device is BLOCKED
> waiting to create a volume for:
> >> To: marvinoid AT yahoo DOT com
> >> Date: Saturday, January 3, 2009, 8:32 AM
> >> On Sat, Jan 3, 2009 at 5:20 AM, Apple Jack
> >> <marvinoid AT yahoo DOT com> wrote:
> >> > Hi list,
> >> >
> >> > I have a recurring problem.
> >> > 2 pools: poolA poolB
> >> >
> >> > 1. Overnight a job runs and does not find
> appendable
> >> media for poolA (which is correct)
> >> > 2. I cancel the job
> >> > 3. I start a job that writes to poolB, for
> which there
> >> are tapes in the autochanger
> >> >
> >> > In this scenario the director asks me to:
> >> > Please use the "label"  command to
> create a
> >> new Volume for:
> >> >    Storage:      "Drive-1"
> (/dev/nst0)
> >> >    Pool:         PoolB
> >> >    Media type:   DLT-8000
> >> >
> >> > I tried update slots, which reads the correct
> labels.
> >> But to no avail, I get:
> >> > status storage=TapeLibrary_TL891
> >> >
> >> > Connecting to Storage daemon
> TapeLibrary_TL891 at
> >> naja.example.com:9103
> >> >
> >> > naja.example.com-sd Version: 2.4.3 (10
> October 2008)
> >> i486-pc-linux-gnu debian lenny/sid
> >> > Daemon started 02-Jan-09 18:12, 10 Jobs run
> since
> >> started.
> >> >  Heap: heap=462,848 smbytes=288,923
> max_bytes=289,033
> >> bufs=128 max_bufs=131
> >> > Sizes: boffset_t=8 size_t=4 int32_t=4
> int64_t=8
> >> >
> >> > Running Jobs:
> >> > Writing: Incremental Backup job
> Dell_Windows_XP
> >> JobId=153 Volume=""
> >> >    pool="PoolB"
> device="Drive-1"
> >> (/dev/nst0)
> >> >    spooling=0 despooling=0 despool_wait=0
> >> >    Files=0 Bytes=0 Bytes/sec=0
> >> >    FDReadSeqNo=6 in_msg=6 out_msg=4 fd=5
> >> > ====
> >> > .......
> >> > Device status:
> >> > Autochanger "TL891" with devices:
> >> >   "Drive-1" (/dev/nst0)
> >> >   "Drive-2" (/dev/nst1)
> >> > Device "FileStorage" is not open or
> does not
> >> exist.
> >> > Device "Drive-1" (/dev/nst0) is not
> open.
> >> >    Device is BLOCKED waiting to create a
> volume for:
> >> >       Pool:        PoolB
> >> >       Media type:  DLT-8000
> >> >    Drive 0 status unknown.
> >> > Device "Drive-2" (/dev/nst1) is not
> open.
> >> >    Drive 1 status unknown.
> >> > ====
> >> >
> >> > Used Volume status:
> >> > TBB022 on device "Drive-1"
> (/dev/nst0)
> >> >    Reader=0 writers=0 devres=1 volinuse=1
> >> > ====
> >> >
> >> > ====
> >> >
> >> > Is there something I am overlooking or is
> this a bug?
> >> >
> >>
> >> Can you post the output of list media
> >>
> >> John
> > Hi John,
> >
> > Thanks for looking at this!
> > I have attached what you asked for, makes it easier to
> read.
> >
> 
> It looks like the SD got confused after being blocked for
> PoolA. Try
> the mount command and see if that fixes the problem.
> 
> John

I tried that as far as I remember, but it didn't work. I will try to reproduce 
when I get back home.
I tried to register in the bugreport website and got a message that I would 
receive confirmation, but that didn't happen. Do I need to do anything else in 
case I want to submit a bug?

marvin



      

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