Add. Sense Read Error - Auto Reallocation Failed
Contents |
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site sense key : medium error [current] About Us Learn more about Stack Overflow the company Business Learn more about
Sense Key : Medium Error [current] [descriptor]
hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is hdparm read-sector a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best unhandled sense code medium error answers are voted up and rise to the top What do these disk errors in syslog mean? up vote 8 down vote favorite 1 I just rebooted my monitoring server for the first time in a while, and the following starting filling the screen: Jul 11 23:52:30 monit kernel: [ 25.255908] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 Jul 11 23:52:30 monit kernel: [
Result: Hostbyte=did_ok Driverbyte=driver_sense
25.256170] ata1.00: BMDMA stat 0x24 Jul 11 23:52:30 monit kernel: [ 25.256278] ata1.00: failed command: READ DMA Jul 11 23:52:30 monit kernel: [ 25.256410] ata1.00: cmd c8/00:c0:20:68:35/00:00:00:00:00/e0 tag 0 dma 98304 in Jul 11 23:52:30 monit kernel: [ 25.256416] res 51/40:9f:41:68:35/00:00:00:00:00/e0 Emask 0x9 (media error) Jul 11 23:52:30 monit kernel: [ 25.256809] ata1.00: status: { DRDY ERR } Jul 11 23:52:30 monit kernel: [ 25.256933] ata1.00: error: { UNC } Jul 11 23:52:30 monit kernel: [ 25.304388] ata1.00: configured for UDMA/66 Jul 11 23:52:30 monit kernel: [ 25.304430] ata1: EH complete . . . Jul 11 23:52:30 monit kernel: [ 25.552451] sd 0:0:0:0: [sda] Unhandled sense code Jul 11 23:52:30 monit kernel: [ 25.552462] sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE Jul 11 23:52:30 monit kernel: [ 25.552475] sd 0:0:0:0: [sda] Sense Key : Medium Error [current] [descriptor] Jul 11 23:52:30 monit kernel: [ 25.552490] Descriptor sense data with sense descriptors (in hex): Jul 11 23:52:30 monit kernel: [ 25.552498] 72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00 Jul 11 23:52:30 monit kernel: [ 25.552529] 00 35 68 41 Jul 11 23:52:30 monit kernel: [ 25.552543] sd 0:0:0:0: [sda] Add
and only cause some noise in your syslog. In most cases the disk will automatically reallocate one or two add. sense: internal target failure damaged sectors and you should start planning on buying a new disk add. sense: logical unit not supported while your data is safe. However, sometimes the disk won't automatically reallocate these sectors and you'll have to
Failed Result
do that manually yourself. Luckily, this doesn't include any rocket science. A few days ago, one of my disks reported some problems in my syslog while rebuilding a RAID5-array: http://serverfault.com/questions/407007/what-do-these-disk-errors-in-syslog-mean Jan 29 18:19:54 dragon kernel: [66774.973049] end_request: I/O error, dev sdb, sector 1261069669 Jan 29 18:19:54 dragon kernel: [66774.973054] raid5:md3: read error not correctable (sector 405431640 on sdb6). Jan 29 18:19:54 dragon kernel: [66774.973059] raid5: Disk failure on sdb6, disabling device. Jan 29 18:20:11 dragon kernel: [66792.180513] sd 3:0:0:0: [sdb] Unhandled sense code Jan 29 18:20:11 dragon kernel: [66792.180516] http://www.sj-vs.net/forcing-a-hard-disk-to-reallocate-bad-sectors/ sd 3:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE Jan 29 18:20:11 dragon kernel: [66792.180521] sd 3:0:0:0: [sdb] Sense Key : Medium Error [current] [descriptor] Jan 29 18:20:11 dragon kernel: [66792.180547] sd 3:0:0:0: [sdb] Add. Sense: Unrecovered read error - auto reallocate failed Jan 29 18:20:11 dragon kernel: [66792.180553] sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 4b 2a 6c 4c 00 00 c0 00 Jan 29 18:20:11 dragon kernel: [66792.180564] end_request: I/O error, dev sdb, sector 1261071601 Modern hard disk drives are equipped with a small amount of spare sectors to reallocate damaged sectors. However, a sector only gets relocated when a write operation fails. A failing read operation will, in most cases, only throw an I/O error. In the unlikely event a second read does succeed, some disks perform a auto-reallocation and data is preserved. In my case, the second read failed miserably ("Unrecovered read error - auto reallocate failed"). The read errors were caused by a sync of a new RAID5 array, which was initially running in degraded mode (on /dev/sdb and /dev/sdc, with /dev/sdd missing). Obv
phpBB Forum Software © phpBB Group
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top how to interpret these errors from syslog up vote 11 down vote favorite 1 My Ubuntu has been acting weird lately. Yesterday, it wouldn't boot normally, so I had to do a 'recovery mode' boot. It said I had to do an fsck manually, which I did using a live CD. After this, I was already able to boot to the desktop but everything is so sluggish. Apps would turn gray for seconds. Sometimes other apps wont start at all. In other instances it it saying that the filesystem is in read-only mode. This is part of what I've been getting: Oct 26 21:23:56 kernel: [ 1900.960506] sd 0:0:0:0: [sda] Add. Sense: Unrecovered read error - auto reallocate failed Oct 26 21:23:56 kernel: [ 1900.960533] end_request: I/O error, dev sda, sector 63206544 Oct 26 21:23:56 kernel: [ 1900.960541] Buffer I/O error on device sda1, logical block 7900562 Oct 26 21:24:00 kernel: [ 1904.146683] res 51/40:00:90:74:c4/00:00:00:00:00/03 Emask 0x9 (media error) Oct 26 21:24:00 kernel: [ 1904.146692] ata1.00: error: { UNC } Oct 26 21:24:03 kernel: [ 1907.351844] res 51/40:00:90:74:c4/00:00:00:00:00/03 Emask 0x9 (media error) Oct 26 21:24:03 kernel: [ 1907.351853] ata1.00: error: { UNC } Oct 26 21:24:06 kernel: [ 1910.482152] res 51/40:00:90:74:c4/00:00:00:00:00/03 Emask 0x9 (media error) Oct 26 21:24:06 kernel: [ 1910.482161] ata1.00: error: { UNC } Oct 26 21:24:09 kernel: [ 1913.604742] res 51/40:00:90:74:c4/00:00:00:00:00/03 Emask 0x9 (media error) Oct 26 21:24:09 kernel: [ 1913.604751] ata1.00: error: { UNC } Oct 26 21:24:12 kernel: [ 1916.792646] res 51/40:00:90:74:c4/00:00:00:00:00/03 Emask 0x9 (media error) Oct 26 21:24:12 kernel: [ 1916.792656] ata1.00: error: { UNC } Oct 26 21:24:15 kernel: [ 1919.922855] res 51/40:00:90:74:c4/00:00:00:00:00/03 Emask 0x9 (media error) Oct 26 21:24:15 kernel: [ 1919.922864] ata1.00: error: { UNC } Oct 26 21:24:16 kernel: [ 1920.056506] sd 0:0:0:0: [sda] Add.