Il 06/12/2011 10:07, Phil Stracchino ha scritto: > 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". > > >
Didn't know about that. Thank you. -- Marcello Romani ------------------------------------------------------------------------------ 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