On 02/18/16 02:44 PM, David Lawley wrote:
> Been working on Bareos for a couple of months now in some spare time that I 
> get ;)
> 
> 
> Guess I need to understand why when I list volumes I can see its there but 
> when mounted its unknown?
> 
> 
> 
> Anyway, still plugging away with autochanger / multiple drive setup.
> 
> I have noticed that when I mount a tape/slot/volume with mount in bconsle I 
> get the requested action.
> 
> but when I ask for a status storage of the changer I get the following back 
> giving a pool unknown.
> 
> Device status:
> Autochanger "ML6000" with devices:
>    "tapedrive0" (/dev/tape/by-id/scsi-3500308c09c7cf000-nst)
>    "tapedrive1" (/dev/tape/by-id/scsi-3500308c09c7cf004-nst)
> 
> Device "tapedrive0" (/dev/tape/by-id/scsi-3500308c09c7cf000-nst) is mounted 
> with:
>     Volume:      000009
>     Pool:        *unknown*
>     Media type:  LT03-4
>     Slot 2 is loaded in drive 0.
>     Total Bytes Read=396 Blocks Read=2 Bytes/block=198
>     Positioned at File=0 Block=0
> ==
> 
> Device "tapedrive1" (/dev/tape/by-id/scsi-3500308c09c7cf004-nst) is mounted 
> with:
>     Volume:      001061
>     Pool:        *unknown*
>     Media type:  LTO3-4
>     Slot 18 is loaded in drive 1.
>     Total Bytes Read=198 Blocks Read=1 Bytes/block=198
>     Positioned at File=0 Block=0
> 
> 
> But when I ask for list volumes I get, so it knows what pools these volumes 
> belong to.
> 
The answer is pretty simple. As the Director knows the Storage Daemon does not.
So when it mounts the volume it knows the Volume Name (as that is in the label)
but the Pool info it will only know after it wrote to the volume as part of
the protocol it will lookup that info as part of the interaction between DIR 
and SD
when doing a backup or restore. The design choose not to contact the DIR on 
startup
of the SD to lookup this info.

I guess when you have run a restore or backup to the volume the pool will be 
showed
at least that is my recollection of how things work. 

-- 
Marco van Wieringen                   [email protected]
Bareos GmbH & Co. KG                  Phone: +49-221-63069389
http://www.bareos.com                     

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer: Stephan Dühr, M. Außendorf, J. Steffens,
                 P. Storz, M. v. Wieringen

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to