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.

-- 
Erik P. Olsen, Civilingeniør, MSc
Solsortvej 30, DK-2000 Frederiksberg, Denmark
Phone: +45 38346480, Fax: +45 32106480, Mobil: +45 40765300



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