It is working after mt -f /dev/st0 rewind, mt -f /dev/st0 weof and
relabeling all barcodes again . Thank you very much all. ismail On Thu, Dec 24, 2009 at 9:19 AM, John Drescher <dresche...@gmail.com> wrote:You are right tapes are already labeled before. But I deleted old database and created the new one. Also I tried 'label barcodes' command again yesterday but nothing happend because it says it is already labeled for all. And you said that before put a 'wait' option in your mtx-changer script but i could not find any option for it.The problem here is bacula will not use these tapes without the labels being in the database. For now forget about the wait option I talked about. I believe you need to erase the label from each tape. To do this you need to stop bacula-sd then load a tape and execute the following commands mt -f /dev/st0 rewind mt -f /dev/st0 weof Then unload the tape. At this point I would restart bacula-sd and try label barcodes again. If this worked I would write a script that gets mtx to load tapes and erase them so I would not have to manually label dozens of volumes.There is such a script here: https://typo3.digipen.edu/index.php?id=1240 but you will have to change /dev/pass to whatever your autochanger device is and /dev/nsa0 to /dev/st0 John |
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users