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.

-- 
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

Reply via email to