<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Okay,<br>I've used dd before so I tried that first.  I ran<br><br>dd if=/dev/sda of=/dev/ull<br><br>I captured the last screenful of information (see below).  I think the relevant part is that only 12 gb was read.  I don't recall the total capacity, but I think it was 40 gb.<br><br>I looked up badblocks on the archlinux wiki.  If I understand correctly, there's two commands that might be of use:<br><br># badblocks -nsv /dev/<device><br>(which will nondestructively test each sector andreport th results)<br><br># fsck -vcck /dev/<device-PARTITION><br>(which if I understand should incorperate badblocks to map out the dead sectors and flag them to the filesystem)<br><br>I'm not sure how long it will take badblocks to run or how quickly I'll be able (if at all) to identify and understand the most relevant portions of its output.  I plan on grabbing a few files off my home <br><br>partition before any further damage spreads than running just the badblocks command from the live-CD tomorrow and reporting bac with those results.<br><br><br>[ 1202.997713] Buffer I/O error on device sda, logical block 2920719<br>[ 1202.997816] Buffer I/O error on device sda, logical block 2920720<br>[ 1202.997918] Buffer I/O error on device sda, logical block 2920721<br>[ 1202.998020] Buffer I/O error on device sda, logical block 2920722<br>[ 1202.998122] Buffer I/O error on device sda, logical block 2920723<br>[ 1203.003271] Buffer I/O error on device sda, logical block 2920724<br>[ 1203.006268] Buffer I/O error on device sda, logical block 2920725<br>[ 1203.009790] Buffer I/O error on device sda, logical block 2920726<br>[ 1205.584348] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0<br>[ 1205.587529] ata1.00: BMDMA stat 0x25<br>[ 1205.590664] ata1.00: failed command: READ DMA<br>[ 1205.593817] ata1.00: cmd c8/00:08:68:88:64/00:00:00:00:00/e1 tag 0 dma 4096 in<br>[ 1205.593819]          res 51/40:08:68:88:64/00:00:00:00:00/e1 Emask 0x9 (media error)<br>[ 1205.600276] ata1.00: status: { DRDY ERR }<br>[ 1205.603139] ata1.00: error: { UNC }<br>[ 1208.194324] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0<br>[ 1208.197547] ata1.00: BMDMA stat 0x25<br>[ 1208.201006] ata1.00: failed command: READ DMA<br>[ 1208.204117] ata1.00: cmd c8/00:08:68:88:64/00:00:00:00:00/e1 tag 0 dma 4096 in<br>[ 1208.204119]          res 51/40:08:68:88:64/00:00:00:00:00/e1 Emask 0x9 (media error)<br>[ 1208.210189] ata1.00: status: { DRDY ERR }<br>[ 1208.213109] ata1.00: error: { UNC }<br>[ 1210.994343] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0<br>[ 1210.997504] ata1.00: BMDMA stat 0x25<br>[ 1211.000631] ata1.00: failed command: READ DMA<br>[ 1211.003740] ata1.00: cmd c8/00:08:68:88:64/00:00:00:00:00/e1 tag 0 dma 4096 in<br>[ 1211.003742]          res 51/01:08:68:88:64/00:00:00:00:00/e1 Emask 0x1 (device error)<br>[ 1211.009851] ata1.00: status: { DRDY ERR }<br>[ 1213.991387] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0<br>[ 1213.994691] ata1.00: BMDMA stat 0x25<br>[ 1213.997864] ata1.00: failed command: READ DMA<br>[ 1214.000936] ata1.00: cmd c8/00:08:68:88:64/00:00:00:00:00/e1 tag 0 dma 4096 in<br>[ 1214.000938]          res 51/01:08:68:88:64/00:00:00:00:00/e1 Emask 0x1 (device error)<br>[ 1214.007526] ata1.00: status: { DRDY ERR }<br>[ 1216.988442] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0<br>[ 1216.991789] ata1.00: BMDMA stat 0x25<br>[ 1216.995011] ata1.00: failed command: READ DMA<br>[ 1216.998201] ata1.00: cmd c8/00:08:68:88:64/00:00:00:00:00/e1 tag 0 dma 4096 in<br>[ 1216.998204]          res 51/40:08:68:88:64/00:00:00:00:00/e1 Emask 0x9 (media error)<br>[ 1217.004387] ata1.00: status: { DRDY ERR }<br>[ 1217.007605] ata1.00: error: { UNC }<br>[ 1219.585343] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0<br>[ 1219.588711] ata1.00: BMDMA stat 0x25<br>[ 1219.592126] ata1.00: failed command: READ DMA<br>[ 1219.595380] ata1.00: cmd c8/00:08:68:88:64/00:00:00:00:00/e1 tag 0 dma 4096 in<br>[ 1219.595382]          res 51/01:08:68:88:64/00:00:00:00:00/e1 Emask 0x1 (device error)<br>[ 1219.601671] ata1.00: status: { DRDY ERR }<br>[ 1219.617356] end_request: I/O error, dev sda, sector 23365736<br>[ 1219.621008] Buffer I/O error on device sda, logical block 2920717<br>dd: reading `/dev/sda': Input/output error<br>23365736+0 records in<br>23365736+0 records out<br>11963256832 bytes (12 GB) copied, 327.994 s, 36.5 MB/s<br><br>                                       </div></body>
</html>