Il 06/12/2011 11:15, James Harper ha scritto: >> 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. >> > > It also supposes that the tape drive is local to the director, and not > connected to another machine. > > james
You're right. I should have mentioned it. Thanks. -- 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