On 12 Mar 2006 at 14:05, Dave wrote:

> Hello,
>     I've got some new dlt tapes that were given to me. Before i put them in 
> to production i'd like to fully clear them and ensure they're good to work 
> with bacula. I'm getting an error that the tape in question is not in the 
> catalog, which is correct it isn't, it's new to bacula, yet it already has a 
> label on it from it's previous place of work.
>     Thanks.

This sounds like the tapes already have a Bacula label on them.

If you want nothing off those tapes, do this:

mt -f /dev/sa0 rewind
mt -f /dev/sa0 weof

Given /dev/sa0 is your tape drive.  This will rewind the tape and 
write an End Of File to the drive.  Then Bacula will not see the 
label, and allow you to write a new Bacula label.

If you want to test the tapes, all i do is use tar, and then compare 
what I backup with what I get back.  Full details here, but the error 
checking etc will probably only work with FreeBSD:

   http://www.freebsddiary.org/tape-testing.php



-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to