fsck help please

aerospace1028 at hotmail.com aerospace1028 at hotmail.com
Tue Sep 11 18:58:34 UTC 2012


Okay,
I've used dd before so I tried that first.  I ran

dd if=/dev/sda of=/dev/ull

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.

I looked up badblocks on the archlinux wiki.  If I understand correctly, there's two commands that might be of use:

# badblocks -nsv /dev/<device>
(which will nondestructively test each sector andreport th results)

# fsck -vcck /dev/<device-PARTITION>
(which if I understand should incorperate badblocks to map out the dead sectors and flag them to the filesystem)

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 

partition before any further damage spreads than running just the badblocks command from the live-CD tomorrow and reporting bac with those results.


[ 1202.997713] Buffer I/O error on device sda, logical block 2920719
[ 1202.997816] Buffer I/O error on device sda, logical block 2920720
[ 1202.997918] Buffer I/O error on device sda, logical block 2920721
[ 1202.998020] Buffer I/O error on device sda, logical block 2920722
[ 1202.998122] Buffer I/O error on device sda, logical block 2920723
[ 1203.003271] Buffer I/O error on device sda, logical block 2920724
[ 1203.006268] Buffer I/O error on device sda, logical block 2920725
[ 1203.009790] Buffer I/O error on device sda, logical block 2920726
[ 1205.584348] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 1205.587529] ata1.00: BMDMA stat 0x25
[ 1205.590664] ata1.00: failed command: READ DMA
[ 1205.593817] ata1.00: cmd c8/00:08:68:88:64/00:00:00:00:00/e1 tag 0 dma 4096 in
[ 1205.593819]          res 51/40:08:68:88:64/00:00:00:00:00/e1 Emask 0x9 (media error)
[ 1205.600276] ata1.00: status: { DRDY ERR }
[ 1205.603139] ata1.00: error: { UNC }
[ 1208.194324] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 1208.197547] ata1.00: BMDMA stat 0x25
[ 1208.201006] ata1.00: failed command: READ DMA
[ 1208.204117] ata1.00: cmd c8/00:08:68:88:64/00:00:00:00:00/e1 tag 0 dma 4096 in
[ 1208.204119]          res 51/40:08:68:88:64/00:00:00:00:00/e1 Emask 0x9 (media error)
[ 1208.210189] ata1.00: status: { DRDY ERR }
[ 1208.213109] ata1.00: error: { UNC }
[ 1210.994343] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 1210.997504] ata1.00: BMDMA stat 0x25
[ 1211.000631] ata1.00: failed command: READ DMA
[ 1211.003740] ata1.00: cmd c8/00:08:68:88:64/00:00:00:00:00/e1 tag 0 dma 4096 in
[ 1211.003742]          res 51/01:08:68:88:64/00:00:00:00:00/e1 Emask 0x1 (device error)
[ 1211.009851] ata1.00: status: { DRDY ERR }
[ 1213.991387] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 1213.994691] ata1.00: BMDMA stat 0x25
[ 1213.997864] ata1.00: failed command: READ DMA
[ 1214.000936] ata1.00: cmd c8/00:08:68:88:64/00:00:00:00:00/e1 tag 0 dma 4096 in
[ 1214.000938]          res 51/01:08:68:88:64/00:00:00:00:00/e1 Emask 0x1 (device error)
[ 1214.007526] ata1.00: status: { DRDY ERR }
[ 1216.988442] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 1216.991789] ata1.00: BMDMA stat 0x25
[ 1216.995011] ata1.00: failed command: READ DMA
[ 1216.998201] ata1.00: cmd c8/00:08:68:88:64/00:00:00:00:00/e1 tag 0 dma 4096 in
[ 1216.998204]          res 51/40:08:68:88:64/00:00:00:00:00/e1 Emask 0x9 (media error)
[ 1217.004387] ata1.00: status: { DRDY ERR }
[ 1217.007605] ata1.00: error: { UNC }
[ 1219.585343] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 1219.588711] ata1.00: BMDMA stat 0x25
[ 1219.592126] ata1.00: failed command: READ DMA
[ 1219.595380] ata1.00: cmd c8/00:08:68:88:64/00:00:00:00:00/e1 tag 0 dma 4096 in
[ 1219.595382]          res 51/01:08:68:88:64/00:00:00:00:00/e1 Emask 0x1 (device error)
[ 1219.601671] ata1.00: status: { DRDY ERR }
[ 1219.617356] end_request: I/O error, dev sda, sector 23365736
[ 1219.621008] Buffer I/O error on device sda, logical block 2920717
dd: reading `/dev/sda': Input/output error
23365736+0 records in
23365736+0 records out
11963256832 bytes (12 GB) copied, 327.994 s, 36.5 MB/s

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/blinux-list/attachments/20120911/b4544801/attachment.htm>


More information about the Blinux-list mailing list