Yup, that will do. I had the same problem and did exactly as Ryan instructed. I have a little script I put together.
# Run bconsole # unmount # delete media volume=<volume-name> # Quit bconsole # Rewind the tape mt -f /dev/nst0 rewind # Write physical End Of File (EOF) to the tape mt -f /dev/nst0 weof # Run bconsole # label # mount Adapt the device file name to your environment. Regards, Georger ----- Mensagem original ---- De: Ryan Novosielski <[EMAIL PROTECTED]> Para: [EMAIL PROTECTED] Cc: bacula-users@lists.sourceforge.net Enviadas: Segunda-feira, 13 de Novembro de 2006 12:10:24 Assunto: Re: [Bacula-users] electrical cut during a job -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 If all you need is to re-init the tape and don't care about what's on it, mt rewind and mt weof will do fine. Look at mt's man page for more information. [EMAIL PROTECTED] wrote: > Hi List, > > I have a trouble with bacula > > Last night when backup was being executed, suddenly there was an electrical > cut. Bacula stopped and I don't not know how to continue doing backup with > that tape. > > The error when I try to run a job it's: > 13-nov 12:53 doom-sd: PCD-05.2006-11-13_12.49.42 Error: Unable to position > to end of data on device "LTO3" (/dev/nst0): ERR=dev.c:839 ioctl MTEOM error > on "LTO3" (/dev/nst0). ERR=Error de entrada/salida. > > > It's possible to format the tape? > or verify the integrity > > Thanks > > jean > > > > > ______________________________________________ > LLama Gratis a cualquier PC del Mundo. > Llamadas a fijos y móviles desde 1 céntimo por minuto. > http://es.voice.yahoo.com > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users - -- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer III |$&| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFWIrgmb+gadEcsb4RAjd/AJ9bObGl/N9LVP0l3zkDeC9E0CI0oQCdHQjL h238paL5Mg7XIPe4QvwrN6Q= =FJ7h -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users _______________________________________________________ Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users