On Friday 24 November 2006 18:17, James Ray wrote:
> Kern Sibbald wrote:
> > On Friday 24 November 2006 17:57, James Ray wrote:
> >> All,
> >>    I think I have a nasty problem with a tape label:
> >> *read label
> >> btape: btape.c:385 Volume has no label.
> >>
> >> Volume Label:
> >> Id                : **error**VerNo             : 0
> >> VolName           :
> >> PrevVolName       :
> >> VolFile           : 0
> >> LabelType         : Unknown 0
> >> LabelSize         : 0
> >> PoolName          :
> >> MediaType         :
> >> PoolType          :
> >> HostName          :
> >> Date label written: -4712-01-01 at 00:00
> >>
> >> Looks like some how its been ruined in some way, not quite sure how yet.
> >>
> >> Is there any way to see if there is any valid bacula data on the tape 
still?
> > 
> > Run almost any of the SD utility programs such as bls or even bacula-sd 
and 
> > add the -p option.  It will *try* to ignore ugly things like missing 
labels, 
> > but your chance of success is pretty small ...
> > 
> 
> Thanks for the suggestions Kern, tried and failed ;(
> 
> Here is what I think has happened, I have been experiancing nasty hard
> hangs for unrelated reasons on my tape library (it hard hangs on the
> mis-read of a barcode!).
> 
> 1) Tape Library hard hangs
> 2) I restart the library
> 3) Bacula starts writing to the tape from where it thinks it is,
> un-known to bacula the library re-winds tapes when it restarts
> 4) bacula over writes from file:block 0:0
> 
> Is that possible do you think Kern?

Yes, that is quite possible.  

If you ever "manually" operate the tape/library/drive while the SD is running, 
either restart the SD, or simply "unmount" and re "mount" the drive and 
Bacula will take notice that the tape position has changed.

Bacula 1.39 locks the door so having unappropriate operator manipulation of 
the tape while Bacula thinks it has exclusive use is a bit harder.

One user was able to recover much of the data off a tape that had a damaged 
label (first file was lost if I remember right).  It is a bit painful and not 
worth trying unless critical needed data is on the tape.  He sent an email to 
the list describing how he did it.  It was reasonably straight forward if you 
understand Unix tape tools and a bit about what Bacula wants ...

Regards,

Kern

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