On Thu, 5 Jan 2006 - 12:21pm, Kern Sibbald wrote: >> If Bacula releases /dev/nst0, e.g. a non-rewinding tape, that doesnt >> matter. The tape will keep its position as long as no rewind or offline is >> executed. > >True, but the very first thing that Bacula *always* does after opening a drive >is to rewind it, otherwise it cannot be sure where the tape is positioned. >So the effect is the same. Ok, you win. ;)
>> Now my question, again, when I execute 'unmount storage=LTO' with the >> RunAfterJob, what do I have to do to satisfy Baculas needs after I changed >> the tapes? >> - mtx inventory >> - update slots storage=LTO >> - mount storage=LTO >> => which should throw an error cause theres no tape loaded in the drive, >> cause I expect Bacula to examine what tapes are there and therefor pick the >> right one. Examination works good as "status director" is showing me. > >I'm not 100% sure about the need for the mtx inventory, but I guess it is safe >to do. In my case, the autochanger always does an inventory itself after any >change of tapes, so you might be able to leave that step out -- what counts >is that the autochanger is aware of what it has internally. mtx inventory is need to read the barcodes, sorry, didnt mention that ;) I'll send you an extended version of the mtx-changer script where I added an mtx inventory to the list command, when there are filled slots with no barcodes read. So that does an automagical inventory if there are new tapes. >The above should work fine. Bacula may complain that there is no tape when >you issue the mount command, but that is not a problem. When the first job >starts, Bacula should make the changer mount a tape that it wants ... Grrrrrrrreat, lets try. >> Ok, did I baffle you enough? good. ;) >No, that was very clear :-) Wow, usually I'm not an explanation-guy but as it seems, I'm improving. Greetings, Michael -- I love deadlines, especially the sound they make as they go whooshing by. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users