>>>>> On Fri, 16 Feb 2007 11:22:02 +0100, Andrea Venturoli said: > > Martin Simmons wrote: > > > Hmmm, there are a few strange things here: > > > > 1) bls says that the tape ends at file 6, which matches the jobmedia table, > > which is good. More importantly, it also matches the catalog value from > > the mismatch in bacula-sd of 06-Feb 17:59. However, that bacula-sd run > > saw > > end of tape at file 5 for some reason. > > > > 2) There are some missing job records in the bls output between the Volume > > Record and the first End Job Session Record. > > > > 3) The volindex values don't start at 1 for job 1972. > > > > Did the previous tape get filled while writing job 1972, i.e. does Tape41 > > contain the second part of that job? That would explain 3. > > Yes. Actually it's the 3rd tape in a job.
Ah, I see. Don't worry about the volindex issue then. > > What is printed if you run > > > > btape -c bacula-sd.conf /dev/nsa0 > > > > with Tape41 in the drive and then issue the commands > > > > rewind > > status > > eod > > status > > quit > > > > (disclaimer: I would not expect those commands to modify the tape, but btape > > is potentially dangerous.) > > Hmm. > Is there a way I can get a copy of the tape, before I try this? I cannot > afford to lose it. > Can I, e.g., "dd if=/dev/nsa0 of=somefile" and then, possibly, restore > it with "dd if=somefile of=/dev/nsa0"? > Any other way? Yes, you could use mt rewind and then dd to read the data like that, though you'll have to repeat the dd command several (6?) times to get each tape file. Personally, I wouldn't do that though -- accidental misuse of dd could also wipe out the tape :-) Also, because bls apparently failed to read the job session records, the tape might be corrupted already. __Martin ------------------------------------------------------------------------- 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