This looks like a bad tape. I'm new to Bacula. Can I get a second
opinion, please?
Here is some info about my setup:
Debian GNU/Linux, kernel 3.0.0-2-amd64.
Debian packaged Bacula version 5.0.3-1+b1.
This is a Quantum DLT S4 drive attached to an LSI20320-R card on a PCI
32bit bus slot, Gigabyte GA-MA78G-DS3H desktop motherboard. The
hardware has been in use for a few years and is stable.
The thing is, tar isn't having this problem with the tape in question.
Yes I restored and compared all of the files. The backup fileset was
the same.
Quantum also has a nice toolset called xTalk and I have run extensive
read/write tests against the tape and a 23-minute long "device health
check" which did not indicate any kind of error.
Below are three separate backup attempts on a fairly small set of data.
You will see the Bacula log info, and then the kernel log info. This
is the same tape. When I tried another tape, the backup succeeded
without the error. Note that /var/log was included, so the file set
size changed(probably grew) slightly between attempts.
It looks like the error happens when Bacula is trying to write the end
of tape.
26-Nov 00:05 parts-sd JobId 28: Error: block.c:577 Write error at
1:22939 on device "DLT-S4-1" (/dev/nst0). ERR=Input/output error.
26-Nov 00:05 parts-sd JobId 28: Error: Error writing final EOF to tape.
This Volume may not be readable.
dev.c:1745 ioctl MTWEOF error on "DLT-S4-1" (/dev/nst0).
ERR=Input/output error.
26-Nov 00:05 parts-sd JobId 28: End of medium on Volume "tape1"
Bytes=6,479,778,816 Blocks=100,442 at 26-Nov-2011 00:05.
Nov 26 00:05:06 parts kernel: [ 7387.339293] st0: Sense Key : Medium
Error [current]
Nov 26 00:05:06 parts kernel: [ 7387.339298] Info fld=0x1243c800
Nov 26 00:05:06 parts kernel: [ 7387.339300] st0: Add. Sense: Write error
Nov 26 00:05:06 parts kernel: [ 7387.420619] st0: Sense Key : Illegal
Request [current]
Nov 26 00:05:06 parts kernel: [ 7387.420624] st0: Add. Sense: Write
append position error
26-Nov 00:23 parts-sd JobId 29: Error: block.c:577 Write error at
1:22983 on device "DLT-S4-1" (/dev/nst0). ERR=Input/output error.
26-Nov 00:23 parts-sd JobId 29: Error: Error writing final EOF to tape.
This Volume may not be readable.
dev.c:1745 ioctl MTWEOF error on "DLT-S4-1" (/dev/nst0).
ERR=Input/output error.
26-Nov 00:23 parts-sd JobId 29: End of medium on Volume "tape1"
Bytes=6,482,617,344 Blocks=100,486 at 26-Nov-2011 00:23.
Nov 26 00:23:50 parts kernel: [ 8511.562014] st0: Sense Key : Medium
Error [current]
Nov 26 00:23:50 parts kernel: [ 8511.562021] Info fld=0x1243c800
Nov 26 00:23:50 parts kernel: [ 8511.562023] st0: Add. Sense: Write error
Nov 26 00:23:50 parts kernel: [ 8511.564405] st0: Sense Key : Illegal
Request [current]
Nov 26 00:23:50 parts kernel: [ 8511.564410] st0: Add. Sense: Write
append position error
26-Nov 01:42 parts-sd JobId 30: Error: block.c:577 Write error at
1:23171 on device "DLT-S4-1" (/dev/nst0). ERR=Input/output error.
26-Nov 01:42 parts-sd JobId 30: Error: Error writing final EOF to tape.
This Volume may not be readable.
dev.c:1745 ioctl MTWEOF error on "DLT-S4-1" (/dev/nst0).
ERR=Input/output error.
26-Nov 01:42 parts-sd JobId 30: End of medium on Volume "tape1"
Bytes=6,494,745,600 Blocks=100,674 at 26-Nov-2011 01:42.
Nov 26 01:42:24 parts kernel: [13225.859089] st0: Sense Key : Medium
Error [current]
Nov 26 01:42:24 parts kernel: [13225.859096] Info fld=0x1243c800
Nov 26 01:42:24 parts kernel: [13225.859097] st0: Add. Sense: Write error
Nov 26 01:42:24 parts kernel: [13225.872664] st0: Sense Key : Illegal
Request [current]
Nov 26 01:42:24 parts kernel: [13225.872669] st0: Add. Sense: Write
append position error
--
--
# Jesse Molina
# Mail = jesse AT opendreams DOT net
# Page = page-jesse AT opendreams DOT net
# Cell = 1.602.323.7608
# Web = http://www.opendreams.net/jesse/
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|