On Mon, 25 Sep 2006, Alan Brown wrote:

> On Fri, 22 Sep 2006, Sarath Jayewardena wrote:
> 
> > How about if I had not started a new
> > backup after re-inserting the tape, yet?
> 
> You would probably be ok.
> 
> > Will an unmount/mount before
> > running any jobs make bacula accept the tape?
> 
> Probably.
> 
I have verified (at least in the experiments I did) that bacula
forgets and forgives if I ran umount/mount after manually ejecting
the tape and re-inserting. I tried backing up and restoring both.
Immediately after umount/mount, the tape is postitioned at file
0; nevertheless, it looks like bacula moves the tape to the end
of data before actually performing the backup.

> The safest action is to NEVER insert a new tape before doing an 
> unmount/mount operation.
> 
I will remember this and take all possible precautions that the tape
is never manually ejected without unmounting.

> Kern, is it possible to insert some sanity checks when starting jobs to 
> ensure the tape is positioned where bacula thinks it should be? If not, 
> I'd suggest rereading the label.
> 
As I mentioned above, after umount/mount, the tape is still positioned
at file 0, although when a backup is performed it is moved to the
correct position. It would be really great if some kind of sanity check
can notice what happened and block the tape, or at least give a warning.

> I have to say I am surprised that a tape drive which was held open by any 
> software wasn't locked. I've never been able to remove a DAT or other 
> individual tape from a drive without using emergency eject procedures.
> 
> AB
> 
If it is going to be helpful, I am using a Quantum DLT7000 connected
to an Alpha server (ES20) running Debian (sarge). The drive has two
buttons on the front, one for selecting the tape (type) and the other
is the 'unload' button. I don't know whether you consider the 'unload'
button as an 'emergency' button, but that's the one I use to eject
the tape. With no complains, it ejects the tape.

Thank you all for responding to my request for help.

- Sarath


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to