Bacula-users

Re: [Bacula-users] Autochanger Tandberg

2013-02-09 10:54:46
Subject: Re: [Bacula-users] Autochanger Tandberg
From: "Jürgen Ecker" <trexman AT gmx DOT de>
To: "RadosÅ?aw Korzeniewski" <radoslaw AT korzeniewski DOT net>, trexman AT gmx DOT de
Date: Sat, 09 Feb 2013 16:50:43 +0100
Hi,

thanks for help! See below.

-------- Original-Nachricht --------
> Datum: Sat, 9 Feb 2013 14:52:40 +0100
> Von: "Radosław Korzeniewski" <radoslaw AT korzeniewski DOT net>
> An: "Jürgen Ecker" <trexman AT gmx DOT de>
> CC: bacula-users <bacula-users AT lists.sourceforge DOT net>
> Betreff: Re: [Bacula-users] Autochanger Tandberg

> Hello,
> 
> 2013/2/8 "Jürgen Ecker" <trexman AT gmx DOT de>
> 
> > Hi,
> >
> > i have another problem with our tape library. The problem is that i get
> > the following error.
> >
> > 94 Full   Tape.2013-02-08_16.37.17_03 is waiting for an appendable
> Volume
> >
> >
> Your Bacula do not have a ready volume in required pool. Show us an output
> of the command:
> * list media pool=Tape
> 
> 
>

Here the output:

*list media pool=Tape
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+-------------+
| mediaid | volumename | volstatus | enabled | volbytes | volfiles | 
volretention | recycle | slot | inchanger | mediatype | lastwritten |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+-------------+
|     183 | AAC720     | Append    |       1 |   64,512 |        0 |    
2,419,200 |       1 |    1 |         1 | LT0-4     |             |
|     184 | AAC721     | Append    |       1 |   64,512 |        0 |    
2,419,200 |       1 |    2 |         1 | LT0-4     |             |
|     185 | AAC731     | Append    |       1 |   64,512 |        0 |    
2,419,200 |       1 |    3 |         1 | LT0-4     |             |
|     186 | AAC723     | Append    |       1 |   64,512 |        0 |    
2,419,200 |       1 |    4 |         1 | LT0-4     |             |
|     187 | AAC724     | Append    |       1 |   64,512 |        0 |    
2,419,200 |       1 |    5 |         1 | LT0-4     |             |
|     188 | AAC728     | Append    |       1 |   64,512 |        0 |    
2,419,200 |       1 |    9 |         1 | LT0-4     |             |
|     189 | AAC729     | Append    |       1 |   64,512 |        0 |    
2,419,200 |       1 |   10 |         1 | LT0-4     |             |
|     190 | AAC732     | Append    |       1 |   64,512 |        0 |    
2,419,200 |       1 |   13 |         1 | LT0-4     |             |
|     191 | AAC733     | Append    |       1 |   64,512 |        0 |    
2,419,200 |       1 |   14 |         1 | LT0-4     |             |
|     192 | AAC734     | Append    |       1 |   64,512 |        0 |    
2,419,200 |       1 |   15 |         1 | LT0-4     |             |
|     193 | AAC735     | Append    |       1 |   64,512 |        0 |    
2,419,200 |       1 |   16 |         1 | LT0-4     |             |
|     194 | AAC736     | Append    |       1 |   64,512 |        0 |    
2,419,200 |       1 |   17 |         1 | LT0-4     |             |
|     195 | AAC737     | Append    |       1 |   64,512 |        0 |    
2,419,200 |       1 |   18 |         1 | LT0-4     |             |
|     196 | AAC738     | Append    |       1 |   64,512 |        0 |    
2,419,200 |       1 |    6 |         1 | LT0-4     |             |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+-------------+

> > If i check the storage with stat->2: Storage->Autochanger it shows me
> the
> > following information:
> >
> > Device "LTO-4" (/dev/nst0) is mounted with:
> >     Volume:      AAC720
> >     Pool:        Tape
> >     Media type:  LT0
> >     Device is BLOCKED waiting to create a volume for:
> >        Pool:        Tape
> >        Media type:  LT0
> >     Slot 1 is loaded in drive 0.
> >     Total Bytes Read=64,512 Blocks Read=1 Bytes/block=64,512
> >     Positioned at File=0 Block=0
> > ====
> >
> >
> What is the status of volume AAC720? Append? Full? Used? Error?
> 

If I execute "*list media pool=Tape" then you can see that the status of AAC720 
is Append.

> 
> > Used Volume status:
> > AAC720 on device "LTO-4" (/dev/nst0)
> >     Reader=0 writers=0 devres=1 volinuse=0
> >
> > The tape library supports a barcodescanner and i have labeled the tapes
> > with "label barcodes".
> >
> >
> Did you label all available tapes?
> 

Yes i think. If i retry "label barcodes" bacula says:

Media record for Slot 1 Volume "AAC720" already exists.
Media record for Slot 2 Volume "AAC721" already exists.
Media record for Slot 3 Volume "AAC731" already exists.
Media record for Slot 4 Volume "AAC723" already exists.
Media record for Slot 5 Volume "AAC724" already exists.
Media record for Slot 6 Volume "AAC738" already exists.
Media record for Slot 9 Volume "AAC728" already exists.
Media record for Slot 10 Volume "AAC729" already exists.
Media record for Slot 13 Volume "AAC732" already exists.
Media record for Slot 14 Volume "AAC733" already exists.
Media record for Slot 15 Volume "AAC734" already exists.
Media record for Slot 16 Volume "AAC735" already exists.
Media record for Slot 17 Volume "AAC736" already exists.
Media record for Slot 18 Volume "AAC737" already exists.

There are no errors and no new labeled tapes.

> 
> > Why it hangs? I don´t want to label a volume by hand. It should be auto
> > labeled. What is wrong in my configuration.
> >
> >
> What do you mean by "auto labeled"? Autolabel is working only when using a
> disk/file type volumes. When you are using tapes then you have to label
> tapes manually using i.e. label barcodes console command.

I was confused. Disregard this question.

Do you have any ideas?

best regards

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
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>