View previous topic :: View next topic |
Author |
Message |
SarahS93 l33t
Joined: 21 Nov 2013 Posts: 693
|
Posted: Thu May 18, 2017 4:19 pm Post subject: how to find out what file is located at secotr 7164121264 |
|
|
In Syslog i see this:
Code: | May 18 17:57:42 pc1 kernel: ata4.00: exception Emask 0x0 SAct 0x18000 SErr 0x0 action 0x0
May 18 17:57:42 pc1 kernel: ata4.00: irq_stat 0x40000008
May 18 17:57:42 pc1 kernel: ata4.00: failed command: READ FPDMA QUEUED
May 18 17:57:42 pc1 kernel: ata4.00: cmd 60/00:78:80:d0:03/01:00:ab:01:00/40 tag 15 ncq 131072 in\x0a res 41/40:00:b0:d0:03/00:01:ab:01:00/00 Emask 0x409 (media error) <F>
May 18 17:57:42 pc1 kernel: ata4.00: status: { DRDY ERR }
May 18 17:57:42 pc1 kernel: ata4.00: error: { UNC }
May 18 17:57:42 pc1 kernel: ata4.00: configured for UDMA/133
May 18 17:57:42 pc1 kernel: sd 3:0:0:0: [sdd] tag#15 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
May 18 17:57:42 pc1 kernel: sd 3:0:0:0: [sdd] tag#15 Sense Key : Medium Error [current] [descriptor]
May 18 17:57:42 pc1 kernel: sd 3:0:0:0: [sdd] tag#15 Add. Sense: Unrecovered read error - auto reallocate failed
May 18 17:57:42 pc1 kernel: sd 3:0:0:0: [sdd] tag#15 CDB: Read(16) 88 00 00 00 00 01 ab 03 d0 80 00 00 01 00 00 00
May 18 17:57:42 pc1 kernel: blk_update_request: I/O error, dev sdd, sector 7164121264
May 18 17:57:42 pc1 kernel: ata4: EH complete
May 18 17:57:46 pc1 kernel: ata4.00: exception Emask 0x0 SAct 0x10 SErr 0x0 action 0x0
May 18 17:57:46 pc1 kernel: ata4.00: irq_stat 0x40000008
May 18 17:57:46 pc1 kernel: ata4.00: failed command: READ FPDMA QUEUED
May 18 17:57:46 pc1 kernel: ata4.00: cmd 60/08:20:b0:d0:03/00:00:ab:01:00/40 tag 4 ncq 4096 in\x0a res 41/40:08:b0:d0:03/00:00:ab:01:00/00 Emask 0x409 (media error) <F>
May 18 17:57:46 pc1 kernel: ata4.00: status: { DRDY ERR }
May 18 17:57:46 pc1 kernel: ata4.00: error: { UNC }
May 18 17:57:46 pc1 kernel: ata4.00: configured for UDMA/133
May 18 17:57:46 pc1 kernel: sd 3:0:0:0: [sdd] tag#4 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
May 18 17:57:46 pc1 kernel: sd 3:0:0:0: [sdd] tag#4 Sense Key : Medium Error [current] [descriptor]
May 18 17:57:46 pc1 kernel: sd 3:0:0:0: [sdd] tag#4 Add. Sense: Unrecovered read error - auto reallocate failed
May 18 17:57:46 pc1 kernel: sd 3:0:0:0: [sdd] tag#4 CDB: Read(16) 88 00 00 00 00 01 ab 03 d0 b0 00 00 00 08 00 00
May 18 17:57:46 pc1 kernel: blk_update_request: I/O error, dev sdd, sector 7164121264
May 18 17:57:46 pc1 kernel: ata4: EH complet |
Filesystem is EXT4, how can i find out what file is at sector "7164121264"? |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Thu May 18, 2017 9:06 pm Post subject: |
|
|
ext4 of course has the matching ref, but i think it shouldn't have the real sector recorded as is (because it would mean 32 bits system couldn't access files over 4g sectors with the limit)
a tool might list all sectors use by a file, but i don't know any myself
but fixing bad sector is not only marking them as bad but also relocate them, so try fix your disk and whatever file is will be relocated to a good sector.
and if you care about the integrity of the file, it's a good hint that you should read neddyseagoon's quote |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Thu May 18, 2017 9:11 pm Post subject: |
|
|
SarahS93,
That drive is scrap. It can no longer read its own writing.
Do not use the drive any more than you must and make an image using ddrescue if you don't have current validated backups.
If you are lucky, the drive will still be in warranty. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|