On Monday 28 November 2005 14:59, Jonas Mixter wrote: > Hi! > I've just moved my AIT tape drive to a new machine. I've been running > bacula for a few weeks on the new machine with no problems at all. > Today I needed to get some files from an older tape and thought I would > read all data from the tape into the new database first. > > However, when running "/usr/lib/bacula/bscan.mysql -V tapename -c > /etc/bacula/bacula-sd.conf -P password -s -m /dev/nst0" i get the > following error: > > 28-Nov 14:42 bscan: bscan Error: block.c:264 Volume data error at 0:1! > Wanted ID: "BB02", got "". Buffer discarded. > > ...and then bscan exits.
You should try running the btape "test" command. > > I tried to clean the tapedrive with no improvement in the result. > I've been trying with 7 different volumes, the newest just over a month > old and the oldest about 2 years old. The two oldest ones couldn't be > read at all, but on the newer bscan finds the label and then exits. > > I've been restoring from tape on this machine as late as yesterday. The > difference is that that tape was also written with the newer version of > bacula. > > All the old tapes are written using bacula 1.34.2 (or perhaps an even > older version) and I'm now using 1.36.2 (shipped with Debian). > Is there a difference in the format on the tapes? No, not that I am aware of. However, Bacula does set your tape drive to variable block format if that is what your Device statement specifies, whereas 1.34.2 does not do that. Depending on how your machine initializes the tape drive, this could create some incompatibilities ... The manual goes into these questions in more detail and suggests some ways of dealing with it. > Could all my tapes have been demagnetized or broken? Unlikely. > For how long should an average AIT-tape be able to hold the data (we > store our tapes with the local bank, in room temperature)? > Has anyone seen this problem before? The particular error message has been reported zillions of times. The exact problem is most likely different in many cases ... > > Best regards, Jonas Mixter > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users