Hi!

On 01/14/06 15:20, Julien Cigar wrote:
I had exactly the same problem some months ago, full thread can be found here: http://www.nabble.com/Still-problems-with-my-Sony-tapes-t504270.html

Thanks for the hint. But I don't think that this is the same problem.
Your errors were DDS related, I'm using a DLT drive. Besides, the scsi-errors are pretty different and your problems seem to have been scsi-id related. I don't suspect this to be the problem in my case, as the server was shipped with this configuration and the tape drive has been working without any problem now for nearly a year.

I believe my problem might have been caused by a drive firmware problem or something like that. After that error, the tape was totally unresponsive, when I tried to query it using mt status or tapeinfo, the following errors showed up in the syslog:

scsi: reservation conflict: host 0 channel 1 id 6 lun 0
st0: Error 70018 (sugg. bt 0x0, driver bt 0x0, host bt 0x7).

After a cold restart, the drive works again now.

However the other issue is that apparently bacula has been informed about the error, but it seems to have interpreted it as an end of medium condition instead of aborting the backup:

-------------------- snipp! --------------------
14-Jan 01:57 samba-sd: Samba-Homes.2006-01-14_01.05.00 Error:
block.c:538 Write error at 6:3819 on device "DLT1" (/dev/nst0).
ERR=Input/output error.
14-Jan 01:57 samba-sd: Samba-Homes.2006-01-14_01.05.00 Error: Error
writing final EOF to tape. This Volume may not be readable.
dev.c:1553 ioctl MTWEOF error on "DLT1" (/dev/nst0). ERR=Input/output error.
14-Jan 01:57 samba-sd: End of medium on Volume "Weekly-2005-06-12_8"
Bytes=6,245,922,599 Blocks=96,818 at 14-Jan-2006 01:57.
-------------------- snipp! --------------------

Is there an option to let bacula abort a backup after a write error?

Cheers,
--leo

P.S.: I'd also still be interested in other users experiences with the durability of DLT tapes and some recommendations on drive cleaning and maintainance.

Alexander Bergolth wrote:

Hi!

Tonight, I got the following I/O error for the first time:
The Drive is a DLT1 tape:
  Vendor: BNCHMARK  Model: DLT1              Rev: 5538
  Type:   Sequential-Access                  ANSI SCSI revision: 02

-------------------- snipp! --------------------
14-Jan 01:55 samba-sd: Writing spooled data to Volume. Despooling 536,904,185 bytes ... 14-Jan 01:57 samba-sd: Samba-Homes.2006-01-14_01.05.00 Error: block.c:538 Write error at 6:3819 on device "DLT1" (/dev/nst0). ERR=Input/output error. 14-Jan 01:57 samba-sd: Samba-Homes.2006-01-14_01.05.00 Error: Error writing final EOF to tape. This Volume may not be readable. dev.c:1553 ioctl MTWEOF error on "DLT1" (/dev/nst0). ERR=Input/output error. 14-Jan 01:57 samba-sd: End of medium on Volume "Weekly-2005-06-12_8" Bytes=6,245,922,599 Blocks=96,818 at 14-Jan-2006 01:57.
14-Jan 01:57 samba-dir: Recycled volume "Weekly-2005-04-22_2"
14-Jan 01:57 samba-sd: Please mount Volume "Weekly-2005-04-22_2" on Storage Device "DLT1" (/dev/nst0) for Job Samba-Homes.2006-01-14_01.05.00
-------------------- snipp! --------------------

This is the dmesg output:
-------------------- snipp! --------------------
st0: Error with sense data: <6>st0: Current: sense key: Not Ready
    Additional sense: Logical unit not ready, initializing cmd. required
st0: Error 400f4 (sugg. bt 0x0, driver bt 0x0, host bt 0x4).
st0: Error 400f4 (sugg. bt 0x0, driver bt 0x0, host bt 0x4).
[...]
-------------------- snipp! --------------------

As I don't have very much experience with DLT tapes:
Does this indicate a worn out tape or should I simply clean the drive with the cleaning tape?

How many backups should be possible with a DLT tape / at which intervals should a tape be changed?

At which intervals should the drive be cleaned?

In this case, the current job is still running and waiting for another tape. Is there an option to let bacula abort the job, if such an error occurs?

Cheers,
--leo


--
-----------------------------------------------------------------------
[EMAIL PROTECTED]                Fax: +43-1-31336-906050
Zentrum fuer Informatikdienste - Wirtschaftsuniversitaet Wien - Austria




-------------------------------------------------------
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

Reply via email to