Bacula-users

[Bacula-users] recover partial readable tape (was: I/O error with quantum lto-4)

2009-03-04 11:04:39
Subject: [Bacula-users] recover partial readable tape (was: I/O error with quantum lto-4)
From: Thomas Mueller <thomas AT chaschperli DOT ch>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 4 Mar 2009 16:01:11 +0000 (UTC)
hi

i've found out, that the error on tape is between file 4 and 20. i can 
successfull forward space to file 20 ("mt -f /dev/nst0 20"). 

reading from file 0 with "dd if=/dev/nst0 of=/dev/null bs=64512"  works 
until file 4 and 235MB. 

Is there a way to "reassemble" the two parts of the file and reread them 
with bacula? i've not found any option like "skip file 4 to 20" with the 
bextract,bscan,bls tools

i've allready read the first part of the tape to a file and 
tried to read it from there. No luck so far:

bls: match.c:249-0 add_fname_to_include prefix=0 gzip=0 fname=/
bls: butil.c:282 Using device: "/srv/backup/vtl" for reading.
04-Mar 16:50 bls JobId 0: Ready to read from volume "ARCHIVE-0000" on device 
"FileStorage" (/srv/backup/vtl).
04-Mar 16:50 bls JobId 0: Error: block.c:275 Volume data error at 0:64511! 
Wanted ID: "BB02", got "". Buffer discarded.
0 files found.
bls: acquire.c:436-0 dir_update_vol_info. label=64 Vol=ARCHIVE-0000

seems that not all data is in correct order. if i do a "strings ARCHIVE-0000":

BB02
Bacula 1.0 immortal
ARCHIVE-0000
Archive
Backup
LTO-4
backuphost
backuphost-sd
Ver. 2.2.8 26 January 2008
Build Mar 28 2008 17:04:06
...

so BB02 seems to be there.

anybody allready did such a tape reassembling? 

or if any programmer is out there: is it a big task to implement a 
"skip file(s)" option to the volume utilities?

- Thomas


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>