Date: Fri, 1 May 2015 09:41:17 -0400 From: Dan Langille <dan@langille.org> To: freebsd-scsi@freebsd.org Subject: Dud tapes Message-ID: <DF7DE372-00A8-4012-8C37-37C03747A574@langille.org>
next in thread | raw e-mail | index | archive | help
--Apple-Mail=_37ADCC97-46FE-4014-B903-C3A89C179F20 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I'm using Bacula 7.0.5 on FreeBSD 10.1 (bacula-dir) and FreeBSD 9.3 = (bacula-sd). Sometimes I get dud tapes. Or at least, tapes my tape drive does not = like. For example: ### 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. ### See also, this from /var/log/messages: ### 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 ### In this case, I will mark the tape as DISABLED and once it is past it's = recycling date, I will retire the tape. Best practice might be to rerun the backup, but this backup is also on = disk. What do you usually do with tapes such as this? Is this tape or = hardware? =E2=80=94 Dan Langille http://langille.org/ --Apple-Mail=_37ADCC97-46FE-4014-B903-C3A89C179F20 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 iQJ8BAEBCgBmBQJVQ4J+XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1MTE2RjM0ODIzRDdERDM4OTY0OUJBNzdF QjIxNTlERUU5NzI3MzlGAAoJEOshWd7pcnOf0T0P/37tEIWFClMIp2vhG1ZvF58M cznvfxi62YbHSQsg/qEgRvFp6JD8Vz+Zus7HjUwhJkqIX4trjab+RN0Ff+Yv2u2M Jfnw8tHb3v+uX6C+fqzMkAQxl+m2Eyep2odayCkReUg2hgdMBLZbCQmFOPGhb4wf 4tE4k+oxi5hjyz5QoBnhqCpAhDM9NCLiyLavckQuvFcCEzWcNtuRBqaJEKhw893J /cSKIW7kvgNtfHughoevoXLmOzywG8KKbMi862IbgP9KHyGpzR6FnDYbKx4cVZbk 8Val2J6baPXvCzGCsg1BmUxgVKcKYCSN/5isbqRpxtrqG74Ub2AQHIv6yqcPro4T AUIE9DmcSZsZ80xNpj/YPYmt1w5LXaiGlvvYZnp7uokeNOP0iv/Oee9W3d6BODMh kLKvPfDtcBkjpc6ZnwQ79TqQzxtNky1SpUZXLmVLVZlyKJ4Jwz5I/THBl3RfOEfo I1xHKfJccot0L97+BcemEMFPUpwFAbOUfgID01vZyNM3jRxJBgKkPiJp0LA16Ieb k7cEnyyrfGoMPztkfD5y/XU7C0fLkSiYqmLre5RNj75nEAkpzT29oRmsaO09i6KN aXVnk9x1Z86K043WG5Od4mUz/LK/fkMQMWoCjQzMygXk4AiPdEfbxO55n1oZP0WE mKQ0NdP846y+RvqGETOm =EgXd -----END PGP SIGNATURE----- --Apple-Mail=_37ADCC97-46FE-4014-B903-C3A89C179F20--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DF7DE372-00A8-4012-8C37-37C03747A574>