Re: [Bacula-users] Pool unknown
2008-06-24 16:44:46
Hi,
24.06.2008 17:49, Felix Brack wrote:
> John Drescher wrote:
>> On Fri, Jun 20, 2008 at 9:38 AM, Felix Brack <fb AT ltec DOT ch> wrote:
>>> Hello,
>>>
>>> I am using bacula version 1.38.11.
Time for an upgrade, I think...
>>> The storage daemon often reports that a tape belongs to pool "*unknown*"
>>> as shown below after I enter 'status sd' in the console:
>>>
>>> Device status:
>>> Device "SONY-SDX-470V" (/dev/nst0) is mounted with Volume="WOCHE-3"
>>> Pool="*unknown*"
>>> Total Bytes Read=0 Blocks Read=0 Bytes/block=0
>>> Positioned at File=0 Block=0
>>>
>>> However when I enter 'list volumes' in the console I get:
>>>
>>> Pool: Week Pool
>>> +---------+------------+-----------+-------------+----------+--------------+---------+------+-----------+-------------+---------------------+
>>> | MediaId | VolumeName | VolStatus | VolBytes | VolFiles | VolRetention
>>> | Recycle | Slot | InChanger | MediaType | LastWritten |
>>> +---------+------------+-----------+-------------+----------+--------------+---------+------+-----------+-------------+---------------------+
>>> | 5 | WOCHE-1 | Recycle | 1 | 0 | 2592000
>>> | 1 | 0 | 1 | AIT-1-TURBO | 2008-05-30 14:04:29 |
>>> | 6 | WOCHE-2 | Append | 6190782808 | 8 | 2592000
>>> | 1 | 0 | 1 | AIT-1-TURBO | 2008-06-13 23:47:36 |
>>> | 7 | WOCHE-3 | Purged | 2103397 | 1 | 2592000
>>> | 1 | 0 | 1 | AIT-1-TURBO | 2008-05-30 14:17:13 |
>>> | 8 | WOCHE-4 | Purged | 2103978 | 2 | 2592000
>>> | 1 | 0 | 1 | AIT-1-TURBO | 2008-05-30 14:23:04 |
>>> | 16 | WOCHE-5 | Purged | 12151169541 | 15 | 2592000
>>> | 1 | 0 | 1 | AIT-1-TURBO | 2008-05-30 23:47:08 |
>>> +---------+------------+-----------+-------------+----------+--------------+---------+------+-----------+-------------+---------------------+
>>>
>>> To my understanding bacula knows what pool the tape 'WOCHE-3' is in, so
>>> why does the storage daemon report pool "'*unknown*"? Shouldn't it return
>>> pool "Week" ?
>>>
>> This is a known feature. It will do that until it actually uses the media.
>>
>> John
>
> Are you sure? From the output of 'status sd' below one can see that tape
> 'TAG-2' is in use but the storage daemon still reports a poolname '*unknown*'.
This is correct. The SD itself doesn't know about pools. It knows the
pool assignment of a volume only after the DIR told it, and until that
volume is used, the DIR doesn't tell the SD.
Arno
--
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|