On Friday 22 December 2006 23:15, Meidal, Knut wrote:
> Hello,
> 
>  
> 
> I'm currently considering setting up a small "below the radar" Bacula
> installation.
> 
> I happen to have NetApp NearStore VTLs with capacity on them, that I can use
> as my back-end.
> 
>  
> 
> VTL is a virtual tape library, i.e a collection of disk that presents itself
> on a FibreChannel port as being a regular tape library.
> 
>  
> 
> These VTLs are connected to a physical tape library. The backup application
> doesn't see the physical tape library directly.
> 
> The way it works is that I will define virtual libraries on the VTL, define
> drives and slots, and assign to a server. This server thinks he's talking to
> a regular tape library; mounts/reads/writes like always.
> 
> The magic happens when the application or OS issues an "EJECT" command to
> move a tape (it doesn't know it's a virtual tape) to the I/O slot. 

This question is not possible to answer because you are using a terminology 
that does not correspond to that which I know.

There is to the best of my knowledge (in the Unix world) no "EJECT" command.

On the contrary there are exist two commands that Bacula uses.  One is 
the "offline" command, and normally will discharge a tape from a tape reader.  
This is equivalent to the mt offline command, and Bacula can do offlines at 
particular times on request -- in fact, it is an OS API done through ioctl().

The second is an "unload" command that unloads a cassette from an autoloader 
drive.  This command is a SCSI control command that Bacula issues by calling 
a program named mtx on most Unix systems (FreeBSD typically uses a different 
program).  Bacula does not directly issue SCSI command such as the unload, 
but relies on mtx to do so for it.  mtx will unload a tape in a particular 
drive into a specified "slot", which must be empty.

If your concept of "EJECT" corresponds to one of the above, then most likely 
it can be done in Bacula. 


> The VTL 
> then "fakes" such an eject and goes to work mounting a corresponding
> physical tape and copies the data from disk(on VTL) on to this physical
> tape. 
> 
> Works great with Veritas NetBackup.
> 
>  
> 
> My question is about the media ejects in Bacula. 
> 
> Is there such a thing?
> 
> How can it be scripted or requested? Using the bconsole utility? A
> combination with MT or MTX?
> 
>  
> 
> Any ideas appreciated.
> 
>  
> 
> Knut E. Meidal 
> 
> 
> 
>  
> 
> 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to