From owner-freebsd-scsi@FreeBSD.ORG Fri May 15 20:28:39 2015 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 536578F3 for ; Fri, 15 May 2015 20:28:39 +0000 (UTC) Received: from clavin2.langille.org (clavin2.langille.org [199.233.228.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "clavin.langille.org", Issuer "StartCom Class 2 Primary Intermediate Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2D20E1F2C for ; Fri, 15 May 2015 20:28:38 +0000 (UTC) Received: from [10.55.0.60] (pool-173-49-170-148.phlapa.fios.verizon.net [173.49.170.148]) by clavin2.unixathome.org (Postfix) with ESMTPSA id 02AD54962 for ; Wed, 13 May 2015 00:01:30 +0000 (UTC) Content-Type: multipart/signed; boundary="Apple-Mail=_54ADEE78-EE17-408F-9254-529B1BB33379"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: Dud tapes X-Pgp-Agent: GPGMail 2.5b6 From: Dan Langille In-Reply-To: <8E91F289-EBE1-41C7-AC5E-7891108D8C54@langille.org> Date: Tue, 12 May 2015 20:01:30 -0400 Message-Id: References: <8E91F289-EBE1-41C7-AC5E-7891108D8C54@langille.org> To: freebsd-scsi@freebsd.org X-Mailer: Apple Mail (2.2098) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 May 2015 20:28:39 -0000 --Apple-Mail=_54ADEE78-EE17-408F-9254-529B1BB33379 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On May 7, 2015, at 6:03 PM, Dan Langille wrote: >=20 >=20 >> On May 1, 2015, at 9:41 AM, Dan Langille wrote: >>=20 >>=20 >> I'm using Bacula 7.0.5 on FreeBSD 10.1 (bacula-dir) and FreeBSD 9.3 = (bacula-sd). >>=20 >> Sometimes I get dud tapes. Or at least, tapes my tape drive does not = like. >>=20 >> For example: >>=20 >> ### >> 01-May 09:39 crey-sd JobId 205441: End of Volume "FAI022" at 11:11326 = on device "DTL03" (/dev/nsa0). Write of 64512 bytes got 49152. >> 01-May 09:39 crey-sd JobId 205441: Error: Error writing final EOF to = tape. This Volume may not be readable. >> tape_dev.c:941 ioctl MTWEOF error on "DTL03" (/dev/nsa0). = ERR=3DInput/output error. >> 01-May 09:39 crey-sd JobId 205441: End of medium on Volume "FAI022" = Bytes=3D10,784,406,528 Blocks=3D167,168 at 01-May-2015 09:39. >> 01-May 09:39 crey-sd JobId 205441: 3307 Issuing autochanger "unload = slot 2, drive 0" command. >> ### >>=20 >> See also, this from /var/log/messages: >>=20 >> ### >> May 1 09:39:01 knew kernel: (sa0:sym0:0:1:0): WRITE FILEMARKS(6). = CDB: 10 00 00 00 01 00 >> May 1 09:39:01 knew kernel: (sa0:sym0:0:1:0): CAM status: SCSI = Status Error >> May 1 09:39:01 knew kernel: (sa0:sym0:0:1:0): SCSI status: Check = Condition >> May 1 09:39:01 knew kernel: (sa0:sym0:0:1:0): SCSI sense: MEDIUM = ERROR asc:c,0 (Write error) >> May 1 09:39:01 knew kernel: (sa0:sym0:0:1:0): Command Specific Info: = 0x28b4b >> May 1 09:39:01 knew kernel: (sa0:sym0:0:1:0): Error 5, Retries = exhausted >> May 1 09:39:01 knew kernel: (sa0:sym0:0:1:0): WRITE FILEMARKS(6). = CDB: 10 00 00 00 02 00 >> May 1 09:39:01 knew kernel: (sa0:sym0:0:1:0): CAM status: SCSI = Status Error >> May 1 09:39:01 knew kernel: (sa0:sym0:0:1:0): SCSI status: Check = Condition >> May 1 09:39:01 knew kernel: (sa0:sym0:0:1:0): SCSI sense: MEDIUM = ERROR asc:c,0 (Write error) >> May 1 09:39:01 knew kernel: (sa0:sym0:0:1:0): Command Specific Info: = 0x28b4b >> May 1 09:39:01 knew kernel: (sa0:sym0:0:1:0): Error 5, Retries = exhausted >> May 1 09:42:41 knew kernel: (sa0:sym0:0:1:0): WRITE FILEMARKS(6). = CDB: 10 00 00 00 01 00 >> May 1 09:42:41 knew kernel: (sa0:sym0:0:1:0): CAM status: SCSI = Status Error >> May 1 09:42:41 knew kernel: (sa0:sym0:0:1:0): SCSI status: Check = Condition >> May 1 09:42:41 knew kernel: (sa0:sym0:0:1:0): SCSI sense: MEDIUM = ERROR asc:c,0 (Write error) >> May 1 09:42:41 knew kernel: (sa0:sym0:0:1:0): Command Specific Info: = 0x11fb >> May 1 09:42:41 knew kernel: (sa0:sym0:0:1:0): Error 5, Retries = exhausted >> May 1 09:42:41 knew kernel: (sa0:sym0:0:1:0): WRITE FILEMARKS(6). = CDB: 10 00 00 00 02 00 >> May 1 09:42:41 knew kernel: (sa0:sym0:0:1:0): CAM status: SCSI = Status Error >> May 1 09:42:41 knew kernel: (sa0:sym0:0:1:0): SCSI status: Check = Condition >> May 1 09:42:41 knew kernel: (sa0:sym0:0:1:0): SCSI sense: MEDIUM = ERROR asc:c,0 (Write error) >> May 1 09:42:41 knew kernel: (sa0:sym0:0:1:0): Command Specific Info: = 0x11fb >> May 1 09:42:41 knew kernel: (sa0:sym0:0:1:0): Error 5, Retries = exhausted >> ### >>=20 >> In this case, I will mark the tape as DISABLED and once it is past = it's recycling date, I will retire the tape. >>=20 >> Best practice might be to rerun the backup, but this backup is also = on disk. >>=20 >> What do you usually do with tapes such as this? Is this tape or = hardware? >=20 > I took one of these tapes and tried: >=20 > $ sudo tar -cf /dev/sa0 * > tar: Write error >=20 > It produced these errors: >=20 > May 7 21:37:10 knew kernel: (sa0:sym0:0:1:0): WRITE FILEMARKS(6). = CDB: 10 00 00 00 02 00 > May 7 21:37:10 knew kernel: (sa0:sym0:0:1:0): CAM status: SCSI Status = Error > May 7 21:37:10 knew kernel: (sa0:sym0:0:1:0): SCSI status: Check = Condition > May 7 21:37:10 knew kernel: (sa0:sym0:0:1:0): SCSI sense: MEDIUM = ERROR asc:c,0 (Write error) > May 7 21:37:10 knew kernel: (sa0:sym0:0:1:0): Command Specific Info: = 0xbac9 > May 7 21:37:10 knew kernel: (sa0:sym0:0:1:0): Error 5, Retries = exhausted > May 7 21:37:10 knew kernel: (sa0:sym0:0:1:0): failed to write = terminating filemark(s) >=20 > Is this a hardware problem? A tape problem? The problem occurred today on another tape after writing just 313 MB: May 12 08:28:21 knew kernel: (sa0:sym0:0:1:0): WRITE FILEMARKS(6). CDB: = 10 00 00 00 01 00 May 12 08:28:21 knew kernel: (sa0:sym0:0:1:0): CAM status: SCSI Status = Error May 12 08:28:21 knew kernel: (sa0:sym0:0:1:0): SCSI status: Check = Condition May 12 08:28:21 knew kernel: (sa0:sym0:0:1:0): SCSI sense: MEDIUM ERROR = asc:c,0 (Write error) May 12 08:28:21 knew kernel: (sa0:sym0:0:1:0): Command Specific Info: = 0x1228 May 12 08:28:21 knew kernel: (sa0:sym0:0:1:0): Error 5, Retries = exhausted May 12 08:28:22 knew kernel: (sa0:sym0:0:1:0): WRITE FILEMARKS(6). CDB: = 10 00 00 00 02 00 May 12 08:28:22 knew kernel: (sa0:sym0:0:1:0): CAM status: SCSI Status = Error May 12 08:28:22 knew kernel: (sa0:sym0:0:1:0): SCSI status: Check = Condition May 12 08:28:22 knew kernel: (sa0:sym0:0:1:0): SCSI sense: MEDIUM ERROR = asc:c,0 (Write error) May 12 08:28:22 knew kernel: (sa0:sym0:0:1:0): Command Specific Info: = 0x1228 May 12 08:28:22 knew kernel: (sa0:sym0:0:1:0): Error 5, Retries = exhausted The tape before this took 111 GB, the tape after, took 791 MB (and then = the backup completed). What do these errors mean? Does it indicate a dead tape? =E2=80=94 Dan Langille http://langille.org/ --Apple-Mail=_54ADEE78-EE17-408F-9254-529B1BB33379 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQJ8BAEBCgBmBQJVUpRaXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1MTE2RjM0ODIzRDdERDM4OTY0OUJBNzdF QjIxNTlERUU5NzI3MzlGAAoJEOshWd7pcnOfA6EP/14lh+Vt/uHS5P/ch20hwxSo x1XYMKp742vMwswduw58wAPphpLEps/clI3OyW5vNR9zgz9fGnokozGGqxGuo3BJ 5S0LG9L1btZb4zY4UjxPDausGEwkzgcbSi5zPwC2IsRqPJtyQNksOYI3RkVMN6ii OCPG9P6ZguTwLh5FwXpPuhtEQwzRyEN3iW0wGpXXTSBFw+psTwGdNXhqC0OjCa4I w7zNJjkXuYSQ85ZdqniDaLh07whzQapu5/JBR8ib9fqy/1qO5M5ys+fYhlfFJC8F gb5WP9StRqdzA3JDoiOTAqaKL1Rz4vL4E7dbiWo/1Ez+0wLBADryIw+uTnDyCQas BTbbVtSrUHB316yXgZcntqg/CxKevVI1qHhfTkJadH2qfqi9ZAbyoualwmq5p1AA AzaqnzXnuPUCQQgSYkpSuqMF+LefZuQKbLnpZdGi7+tRiy42dWtpl/iPt88UQcN1 KFTQT8jD393iqU7Cd3lGVKsqsEQerK/zyXcgnZHhvnQ2VUc9I7159lfAL/zhEGGE fH147/g3VKQTF5CE15LUPV0xUaIkl1Wl96osg9tRIS7HMW7/a9clVI2wH6ZkfdLI 46+lbfvAvSxOPl5Xaj5pasLZwevCpF/dgRPUGa2X7iY93xL5kElWoYAO7/WzkgMM pYVNgWfws1IBhwSFw0mw =igBJ -----END PGP SIGNATURE----- --Apple-Mail=_54ADEE78-EE17-408F-9254-529B1BB33379-- From owner-freebsd-scsi@FreeBSD.ORG Fri May 15 21:07:13 2015 Return-Path: Delivered-To: freebsd-scsi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 45C047CC for ; Fri, 15 May 2015 21:07:13 +0000 (UTC) Received: from gw.catspoiler.org (unknown [IPv6:2001:4978:f:678::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ED4581380 for ; Fri, 15 May 2015 21:07:12 +0000 (UTC) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.3/8.13.3) with ESMTP id t4FL73nP021839; Fri, 15 May 2015 14:07:07 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <201505152107.t4FL73nP021839@gw.catspoiler.org> Date: Fri, 15 May 2015 14:07:02 -0700 (PDT) From: Don Lewis Subject: Re: Dud tapes To: dan@langille.org cc: freebsd-scsi@FreeBSD.org In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 May 2015 21:07:13 -0000 On 12 May, Dan Langille wrote: > The problem occurred today on another tape after writing just 313 MB: > > May 12 08:28:21 knew kernel: (sa0:sym0:0:1:0): WRITE FILEMARKS(6). CDB: 10 00 00 00 01 00 > May 12 08:28:21 knew kernel: (sa0:sym0:0:1:0): CAM status: SCSI Status Error > May 12 08:28:21 knew kernel: (sa0:sym0:0:1:0): SCSI status: Check Condition > May 12 08:28:21 knew kernel: (sa0:sym0:0:1:0): SCSI sense: MEDIUM ERROR asc:c,0 (Write error) > May 12 08:28:21 knew kernel: (sa0:sym0:0:1:0): Command Specific Info: 0x1228 > May 12 08:28:21 knew kernel: (sa0:sym0:0:1:0): Error 5, Retries exhausted > May 12 08:28:22 knew kernel: (sa0:sym0:0:1:0): WRITE FILEMARKS(6). CDB: 10 00 00 00 02 00 > May 12 08:28:22 knew kernel: (sa0:sym0:0:1:0): CAM status: SCSI Status Error > May 12 08:28:22 knew kernel: (sa0:sym0:0:1:0): SCSI status: Check Condition > May 12 08:28:22 knew kernel: (sa0:sym0:0:1:0): SCSI sense: MEDIUM ERROR asc:c,0 (Write error) > May 12 08:28:22 knew kernel: (sa0:sym0:0:1:0): Command Specific Info: 0x1228 > May 12 08:28:22 knew kernel: (sa0:sym0:0:1:0): Error 5, Retries exhausted > > The tape before this took 111 GB, the tape after, took 791 MB (and then the backup completed). > > What do these errors mean? Does it indicate a dead tape? Bad tape, dirty or defective head, some sort of mechanical tape handling problem that affects the tape tension or movement, or less likely some other drive problem. MEDIUM ERROR means that the drive couldn't write the bits to the tape and read them back correctly. From owner-freebsd-scsi@FreeBSD.ORG Fri May 15 22:00:16 2015 Return-Path: Delivered-To: freebsd-scsi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 226D7513; Fri, 15 May 2015 22:00:16 +0000 (UTC) Received: from clavin1.langille.org (clavin.langille.org [162.208.116.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "clavin.langille.org", Issuer "StartCom Class 2 Primary Intermediate Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D1E2C196C; Fri, 15 May 2015 22:00:15 +0000 (UTC) Received: from (clavin1.int.langille.org (clavin1.int.unixathome.org [10.4.7.7]) (Authenticated sender: hidden) with ESMTPSA id CECE455CB ; Fri, 15 May 2015 22:00:12 +0000 (UTC) Subject: Re: Dud tapes Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: multipart/signed; boundary="Apple-Mail=_A0977348-11B1-436E-A7FD-9B6509784C0A"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b6 From: Dan Langille In-Reply-To: <201505152107.t4FL73nP021839@gw.catspoiler.org> Date: Fri, 15 May 2015 17:59:59 -0400 Cc: freebsd-scsi@FreeBSD.org Message-Id: References: <201505152107.t4FL73nP021839@gw.catspoiler.org> To: Don Lewis X-Mailer: Apple Mail (2.2098) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 May 2015 22:00:16 -0000 --Apple-Mail=_A0977348-11B1-436E-A7FD-9B6509784C0A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On May 15, 2015, at 5:07 PM, Don Lewis wrote: >=20 > On 12 May, Dan Langille wrote: >=20 >> The problem occurred today on another tape after writing just 313 MB: >>=20 >> May 12 08:28:21 knew kernel: (sa0:sym0:0:1:0): WRITE FILEMARKS(6). = CDB: 10 00 00 00 01 00 >> May 12 08:28:21 knew kernel: (sa0:sym0:0:1:0): CAM status: SCSI = Status Error >> May 12 08:28:21 knew kernel: (sa0:sym0:0:1:0): SCSI status: Check = Condition >> May 12 08:28:21 knew kernel: (sa0:sym0:0:1:0): SCSI sense: MEDIUM = ERROR asc:c,0 (Write error) >> May 12 08:28:21 knew kernel: (sa0:sym0:0:1:0): Command Specific Info: = 0x1228 >> May 12 08:28:21 knew kernel: (sa0:sym0:0:1:0): Error 5, Retries = exhausted >> May 12 08:28:22 knew kernel: (sa0:sym0:0:1:0): WRITE FILEMARKS(6). = CDB: 10 00 00 00 02 00 >> May 12 08:28:22 knew kernel: (sa0:sym0:0:1:0): CAM status: SCSI = Status Error >> May 12 08:28:22 knew kernel: (sa0:sym0:0:1:0): SCSI status: Check = Condition >> May 12 08:28:22 knew kernel: (sa0:sym0:0:1:0): SCSI sense: MEDIUM = ERROR asc:c,0 (Write error) >> May 12 08:28:22 knew kernel: (sa0:sym0:0:1:0): Command Specific Info: = 0x1228 >> May 12 08:28:22 knew kernel: (sa0:sym0:0:1:0): Error 5, Retries = exhausted >>=20 >> The tape before this took 111 GB, the tape after, took 791 MB (and = then the backup completed). >>=20 >> What do these errors mean? Does it indicate a dead tape? >=20 > Bad tape, dirty or defective head, some sort of mechanical tape = handling > problem that affects the tape tension or movement, or less likely some > other drive problem. MEDIUM ERROR means that the drive couldn't write > the bits to the tape and read them back correctly. I have a bunch of new-to-me tapes. So far, 5 out of 15 have resulted in = that error. =E2=80=94 Dan Langille http://langille.org/ --Apple-Mail=_A0977348-11B1-436E-A7FD-9B6509784C0A Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQJ8BAEBCgBmBQJVVmxrXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1MTE2RjM0ODIzRDdERDM4OTY0OUJBNzdF QjIxNTlERUU5NzI3MzlGAAoJEOshWd7pcnOfPMYQAKXLV6vOk2j6upRa/A89dTFc c+EDWIanEJybPOXWPQOvZDs42687YGrkxDBfQl3NA4WIlOD8Ps24RQSk89kmsqM1 Uj75hV8AM7a9PBCCPhvSUNosEqBXNxqkhn343FWZDaBTuLPKFlbJw2dc6flBJbPF 63S0oBJPv4E1qi3wlXDoAHUkyMJNnmaSYQaclJzLlNzKO4Y9eqljonIGWXUQk8qM 0vv2UMIrcnYQhysqM5hgc3sM4ixfKYNtjhjnSOHbtpAxmLBGA3M1j5p6L9L1SUo+ rV+TEbtO2jiqNWWjzRrIw48AetNQN5/eoxZAuJehf3eUSr4Sk86c7Rag+0BVYqjI 6lLfKwW8bT+oBRWxQaRBmnss0nOWa3KG1ZXPoRosliVMslXUg9ynjAQtTfIei0aE OJigM0/A3BsvTCKurDZq9jZfGtU9H1EWcvUiiHMqb4gtTqnkGNRaEbDAs97dP7OA ujKvw51eYLPwPPEJc+8lz3XdOrmKhj9dlNYPmavKTYKZ9sNzFsVy47Qb1UkrIQw3 M9x8cXTWuuNLJbL0BR0mSBXpKSBfYsuhmUttw/7CXj4gD6x9QArIiHhUr3P/ltCh QJp+v58C/vqXZB9N0u6FjJ3NuJ5UXsIk4vnFJEkMAlSwOxxn52rSGHAbyNnoaFRI 6raTcf0LXewr92FJL4Ki =NBIv -----END PGP SIGNATURE----- --Apple-Mail=_A0977348-11B1-436E-A7FD-9B6509784C0A-- From owner-freebsd-scsi@FreeBSD.ORG Fri May 15 22:12:58 2015 Return-Path: Delivered-To: freebsd-scsi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F420A63D for ; Fri, 15 May 2015 22:12:57 +0000 (UTC) Received: from gw.catspoiler.org (unknown [IPv6:2001:4978:f:678::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 89CBA1B4E for ; Fri, 15 May 2015 22:12:57 +0000 (UTC) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.3/8.13.3) with ESMTP id t4FMCmlI022073; Fri, 15 May 2015 15:12:53 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <201505152212.t4FMCmlI022073@gw.catspoiler.org> Date: Fri, 15 May 2015 15:12:48 -0700 (PDT) From: Don Lewis Subject: Re: Dud tapes To: dan@langille.org cc: freebsd-scsi@FreeBSD.org In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 May 2015 22:12:58 -0000 On 15 May, Dan Langille wrote: > >> On May 15, 2015, at 5:07 PM, Don Lewis wrote: >> >> On 12 May, Dan Langille wrote: >> >>> The problem occurred today on another tape after writing just 313 MB: >>> >>> May 12 08:28:21 knew kernel: (sa0:sym0:0:1:0): WRITE FILEMARKS(6). CDB: 10 00 00 00 01 00 >>> May 12 08:28:21 knew kernel: (sa0:sym0:0:1:0): CAM status: SCSI Status Error >>> May 12 08:28:21 knew kernel: (sa0:sym0:0:1:0): SCSI status: Check Condition >>> May 12 08:28:21 knew kernel: (sa0:sym0:0:1:0): SCSI sense: MEDIUM ERROR asc:c,0 (Write error) >>> May 12 08:28:21 knew kernel: (sa0:sym0:0:1:0): Command Specific Info: 0x1228 >>> May 12 08:28:21 knew kernel: (sa0:sym0:0:1:0): Error 5, Retries exhausted >>> May 12 08:28:22 knew kernel: (sa0:sym0:0:1:0): WRITE FILEMARKS(6). CDB: 10 00 00 00 02 00 >>> May 12 08:28:22 knew kernel: (sa0:sym0:0:1:0): CAM status: SCSI Status Error >>> May 12 08:28:22 knew kernel: (sa0:sym0:0:1:0): SCSI status: Check Condition >>> May 12 08:28:22 knew kernel: (sa0:sym0:0:1:0): SCSI sense: MEDIUM ERROR asc:c,0 (Write error) >>> May 12 08:28:22 knew kernel: (sa0:sym0:0:1:0): Command Specific Info: 0x1228 >>> May 12 08:28:22 knew kernel: (sa0:sym0:0:1:0): Error 5, Retries exhausted >>> >>> The tape before this took 111 GB, the tape after, took 791 MB (and then the backup completed). >>> >>> What do these errors mean? Does it indicate a dead tape? >> >> Bad tape, dirty or defective head, some sort of mechanical tape handling >> problem that affects the tape tension or movement, or less likely some >> other drive problem. MEDIUM ERROR means that the drive couldn't write >> the bits to the tape and read them back correctly. > > I have a bunch of new-to-me tapes. So far, 5 out of 15 have resulted in that error. Try some from another source, preferably a different brand. If you see the same, then it is likely a drive problem. At a previous job, we used HP DDS drives for backups. We got refurbed drives whenever we sent one in for a warranty repair. The would work for a while (a few months) and then cr*p out like what you are seeing. Another test is to write data repeatedly to the same tape. If it cr*ps out at about the same place every time, then it is likely to be a bad spot on the tape.