Bacula-users

Re: [Bacula-users] How to load a tape using its VolumeTag

2012-05-15 07:45:11
Subject: Re: [Bacula-users] How to load a tape using its VolumeTag
From: John Drescher <drescherjm AT gmail DOT com>
To: Rushdhi Mohamed <zmrushdhi AT gmail DOT com>
Date: Tue, 15 May 2012 07:42:17 -0400
> This is a part of the output of my Tape Library status..
>
> backup-server01:~ # mtx -f /dev/sg4 status
>  Storage Changer /dev/sg4:1 Drives, 24 Slots ( 1 Import/Export )
> Data Transfer Element 0:Empty
>      Storage Element 1:Full :VolumeTag=W11018L4
>      Storage Element 2:Empty
>      Storage Element 3:Empty
>
> I can load and unload the tapes from storage element to Derive and Drive to
> slot using the command mtx -f  /dev/sg4 [load/unload] [storage
> Element:(1-24)] [Drives:(0)].
>
> My problem is how can i load and unload tapes using its VolumeTag or
> Barcode?
>
> i am expecting a command like mtx -f /dev/sg4 load [TapeName(using bar
> code)],
>
> Is it possible or what? some one please reply?
>

I do not know about that and I have had a 2 drive autochanger for 6 years...

However after issuing update slots in bacula it will remember what
tapes are in what slots so then when it needs a tape it will know what
slot to load. So every time you change volumes you need to issue
update slots. You also should use the label barcodes command in bacula
to add new volumes to a pool. I add the volumes to the Scratch pool
and whenever bacula needs a volume in other pools (and there are no
volumes that can be recycled) it will grab a volume from the scratch.

John

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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>