On 12/06/11 03:10, Marcello Romani wrote:
> Il 05/12/2011 03:39, Jesse Molina ha scritto:
> 
> [snip food for thought]
> 
> The closest thing to a custom "eject tape" builtin command in bconsole I 
> could came up with is this:
> 
> # admin job to manually eject tape from within bconsole
> Job {
>      Name = "TapeEject"
>      Type = Admin
>      FileSet = "LinuxDefaultSet"
>      Client = serverlinux-fd
>      Storage = Tape
>      Pool = Tape
>      Messages = Standard
>      RunBeforeJob = "echo 'umount storage=Tape' | bconsole"
>      RunAfterJob = "mt-st -f /dev/nst0 offl"
> }
> 
> This works on my setup, where I have a single tape drive (LTO-1, for the 
> record). No autochanger.


You know, personally I just set "OfflineOnUnmount = yes".



-- 
  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
  Renaissance Man, Unix ronin, Perl hacker, SQL wrangler, Free Stater
                 It's not the years, it's the mileage.

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to