On Thu, 2007-02-01 at 22:31 +0100, Kern Sibbald wrote: > On Thursday 01 February 2007 23:18, Julien Cigar wrote: > > Sorry to ask this again, but .. it could be one of the reason why my > > tape drive doesn't work properly: > > I've read a huge number of emails today and answered a good number of them, > but I wasn't aware that your tape drive doesn't work or why, so I cannot > answer that question. >
I didn't send any mail about that today, but I had problems with one tape drive (sony sdx 500c) in the past (which has been replaced now), and I think that the reason could be that I've always pressed the eject button while the tape was mounted by Bacula. > > is it not safe to press the eject button when the tape is mounted by > > Bacula (AlwaysOpen=yes) but no jobs are running ? > > No, it will most likely be fatal to your data and make the Volume unreadable. > then the Linux SCSI kernel driver for the Adaptec 2940 Ultra SCSI is buggy, because I'm able to eject the tape while it's mounted. I will test it on FreeBSD. > > If it's not safe then > > I suggest to add a remark about this in the FAQ ... > > I believe that this is already documented in the manual. > mmh seems that I missed this ... > If you would like it documented in additional places, then please send in a > patch to the manual source -- or next best the exact words you want included > and the *precise* location where it should go in the manual. > > > > > > > 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