Re: [Bacula-users] Pool unknown
2008-06-24 11:47:02
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.
>>
>> 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*'.
Device status:
Device "SONY-SDX-470V" (/dev/nst0) is mounted with Volume="TAG-2"
Pool="*unknown*"
Total Bytes Read=0 Blocks Read=0 Bytes/block=0
Positioned at File=0 Block=0
====
In Use Volume status:
TAG-2 on device "SONY-SDX-470V" (/dev/nst0)
====
*list volumes
Pool: Default
No results to list.
Pool: Day Pool
+---------+------------+-----------+-------------+----------+--------------+---------+------+-----------+-------------+---------------------+
| MediaId | VolumeName | VolStatus | VolBytes | VolFiles | VolRetention |
Recycle | Slot | InChanger | MediaType | LastWritten |
+---------+------------+-----------+-------------+----------+--------------+---------+------+-----------+-------------+---------------------+
| 13 | TAG-4 | Append | 12326916534 | 16 | 432000 | 1
| 0 | 1 | AIT-1-TURBO | 2008-06-12 23:48:16 |
| 14 | TAG-2 | Append | 6143168258 | 8 | 432000 | 1
| 0 | 1 | AIT-1-TURBO | 2008-06-17 23:47:40 |
| 18 | TAG-3 | Append | 6148875636 | 8 | 432000 | 1
| 0 | 1 | AIT-1-TURBO | 2008-06-19 15:28:05 |
| 20 | TAG-1 | Append | 6154930521 | 8 | 432000 | 1
| 0 | 1 | AIT-1-TURBO | 2008-06-23 23:47:32 |
+---------+------------+-----------+-------------+----------+--------------+---------+------+-----------+-------------+---------------------+
Is there something I don't understand here?
Felix
-------------------------------------------------------------------------
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
|
|
|