On 21 Sep 2006 at 10:08, Sarath Jayewardena wrote:

> Hi,
> 
> I am experimenting to see whether bacula would be a good system for me to
> backup our department's servers. I am running bacula director and storage
> daemon on a Debian (sarge) machine which has a scsi DLT tape drive
> attached to it. The version of bacula is 1.36.2. It looks promising,
> except for one annoying, and in my view, serious problem:
> 
> The tape drive allows me to eject the tape by pressing an 'unload'
> button. However, afterwards, when I re-insert the tape, bacula cannot
> read it, so all the backup data is useless. (Of course, if I have
> 'unmounted' the tape from within bconsole before ejecting, bacula has
> no problem accessing the data afterwards.) The question is, is there
> any way to make bacula accept the tape if the tape was accidientally,
> 'improperly' ejected? 
>
> I have browsed the mailing list archive and seen the advice that I
> could use AlwaysOpen = no and OfflineOnUnmount = yes to guarantee that
> bacula unmounts the tape after each backup. But the advice comes with
> the warning that for each backup bacula will be rewinding and
> re-positioning the tape consuming a lot of time, so leaving the
> default behaviour is really preferred. 
> 
> If someone knows that this problem does not exist in newer versions of
> bacula, I could upgrade to the version (1.38.11) in the Debian testing
> distribution.

My tape drive does not allow me to eject the tape if Bacula has the 
device. I think the key directive from my SD config is:

Offline on Unmount = yes

I do not specify AlwaysOpen, but that defaults to Yes.

What is wrong with unmounting withing bconsole before ejecting the 
tape?

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