Bacula-users

Re: [Bacula-users] Unable to position to end of data on device

2013-09-24 04:56:56
Subject: Re: [Bacula-users] Unable to position to end of data on device
From: Radosław Korzeniewski <radoslaw AT korzeniewski DOT net>
To: Deepak <deepak AT palincorporates DOT com>
Date: Tue, 24 Sep 2013 10:53:16 +0200
Hello,

2013/9/24 Deepak <deepak AT palincorporates DOT com>
Hi,

While setting up recycled volumes I was facing some issues which I have resolved with help of you guys.

I have three volumes. I have written to 1st and 2nd volueme these are marked with full status. now bacula just took a backup of 200 GB on 3rd volume. After that backup I executed a restore job and restored a few files successfully. Post this restoration I scheduled again a job. Which should write on 3rd volume as per my understanding and it has done the same. but while locating end of data it gave me some error and marked volume status as error and recycled 1st volume.

for Recycling part it is doing perfectly. But while locating end of data it is not doing good. I have faced this issue second time in same scenario.

Error i received in log files are :

24-Sep 12:26 backup-dir JobId 30: Start Backup JobId 30,
Job=CONFIG.2013-09-24_12.26.00_54
24-Sep 12:26 backup-dir JobId 30: Using Device "Tape-0"
24-Sep 12:27 backup-sd JobId 30: Volume "A00041L4" previously written, moving to end
of data.
24-Sep 12:46 backup-sd JobId 30: Error: Unable to position to end of data on device
"Tape-0" (/dev/lin_tape/IBMtape0): ERR=dev.c:1208 read error on "Tape-0"
(/dev/lin_tape/IBMtape0). ERR=Input/output error.

24-Sep 12:46 backup-sd JobId 30: Marking Volume "A00041L4" in Error in Catalog.
24-Sep 12:46 backup-sd JobId 30: 3307 Issuing autochanger "unload slot 2, drive 0"
command.
24-Sep 12:48 backup-dir JobId 30: There are no more Jobs associated with Volume
"A00042L4". Marking it purged.
24-Sep 12:48 backup-dir JobId 30: All records pruned from Volume "A00042L4"; marking
it "Purged"
24-Sep 12:48 backup-dir JobId 30: Recycled volume "A00042L4"
24-Sep 12:48 backup-sd JobId 30: 3304 Issuing autochanger "load slot 3, drive 0"
command.
24-Sep 12:48 backup-sd JobId 30: 3305 Autochanger "load slot 3, drive 0", status is OK.
24-Sep 12:48 backup-sd JobId 30: Recycled volume "A00042L4" on device "Tape-0"


The cause of this problem is lin_tape driver. I had the same issue on a number of implementations. Did you checked your tape drive setup with btape utility before first backup? What was the result of the test?
 

It has recycled volume A00042L4 but marked as error on A00041L4.for more information I am using lin_tape driver for tape drive communication with IBM tape.

Please tell me how to resolve this issue.


Change 'lin_tape' to 'st' driver. It solve all your issues.

best regards
--
Radosław Korzeniewski
radoslaw AT korzeniewski DOT net
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users