Sorry to ask this again, but .. it could be one of the reason why my
tape drive doesn't work properly: 
is it not safe to press the eject button when the tape is mounted by
Bacula (AlwaysOpen=yes) but no jobs are running ? If it's not safe then
I suggest to add a remark about this in the FAQ ...

On Thu, 2007-02-01 at 21:19 +0100, Kern Sibbald wrote:
> On Thursday 01 February 2007 21:01, Erik P. Olsen wrote:
> > Martin Simmons wrote:
> > >>>>>> On Thu, 01 Feb 2007 14:50:10 +0100, Erik P Olsen said:
> > >>
> > >> Maybe I did something really stupid. I ejected an already bacula-mounted
> > >> tape and inserted a cleaning cartridge. After the cleaning process was
> > >> finished I reinserted the backup tape. I did it without an unmount/mount
> > >> cycle. When the backup run later started the tape was ejected with tape
> > >> error and it was no longer possible to read the tape because bacula
> > >> claimed that it had no volume label and that proved to be true when I
> > >> tried to read the tape.
> > >>
> > >> Why was this proceedue not possible and why was the backup tape
> > >> overwritten?
> > >
> > > It was overwritten because Bacula remembers the tape's position while it
> > > is bacula-mounted.  When you ejected the tape, it was rewound without
> > > Bacula knowing, so the position was different when you reinserted it.
> > >
> > > Normally, when you bacula-mount a tape, Bacula knows that the tape is
> > > positioned at the start, so it winds the taoe forward to the end before
> > > writing the next job.
> >
> > OK, so I was stupid.
> >
> > >>                                                                         
> > >>     Is it a bug or did I just do something stupid?
> > >
> > > Do you have AlwaysOpen = yes (the default)in the device config?  If so,
> > > then I think the bug is in the OS or tape drive -- it should be
> > > impossible to eject the tape while it is mounted (and open) by Bacula.
> >
> > I have AlwaysOpen = yes but I ejected the tape by pressing the eject button
> > on the tape drive.
> >
> > Thanks for the answer, I've learned a lesson.
> 
> Unfortunately, you aren't the first person to whom this has happened.
> 
> Bacula version 2.0+ will lock the door on your tape drive, while Bacula is 
> using the drive, providing your tape drive/OS permit it.
> 
> -------------------------------------------------------------------------
> 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
-- 
Julien Cigar
Belgian Biodiversity Platform
http://www.biodiversity.be
Université Libre de Bruxelles
Campus de la Plaine CP 257
Bâtiment NO, Bureau 4 N4 115C (Niveau 4)
Boulevard du Triomphe, entrée ULB 2
B-1050 Bruxelles
mail: [EMAIL PROTECTED]


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

Reply via email to