Skip to main content

Timeline for List bad blocks and affected files

Current License: CC BY-SA 4.0

13 events
when toggle format what by license comment
Aug 30, 2018 at 5:32 history edited dirkt CC BY-SA 4.0
added 1 character in body
Aug 29, 2018 at 20:49 comment added neverMind9 Just added this answer as accepted because it answers the question. I searched for a NTFS equivalent, but your answer has been quite useful meanwhile.
Aug 29, 2018 at 20:48 vote accept neverMind9
Aug 3, 2018 at 13:37 comment added neverMind9 I agree. By the way, how do I find dead sectors from raw and gzipped AFF/EWF images?
Aug 2, 2018 at 20:53 comment added dirkt I have no idea, I've never used Guymager. But if it knows the number of bad sectors, it should also know which sectors are bad. Just reporting their number isn't particularly helpful...
Aug 2, 2018 at 20:49 comment added neverMind9 Where is that list? Guymager only shows the number of bad sectors.
Aug 2, 2018 at 20:39 comment added dirkt Yes. As I already wrote: You can use smartctl (internally reallocated sectors) and badblocks (currently non-readable sectors) for the first step. But didn't you already get the list from Guymager? I'd also advise not to work directly with the harddisk, but use ddrescue etc. to first make a copy of the harddisk (which will also detect bad sectors while doing this).
Aug 2, 2018 at 19:29 comment added neverMind9 Sorrry, I see. The first thing is finding every dead sector and creating a LBA list, which only needs to do a low-level scan. Then, list every file with is laying on that LBA in a seperate step.
Aug 2, 2018 at 18:27 history edited dirkt CC BY-SA 4.0
added 308 characters in body
Aug 2, 2018 at 18:21 comment added dirkt I don't understand the question. If you have an LBA list, you don't need to "scan" (badblocks etc.)- you already have the list. If you want files for a list of blocks for a non-ext filesystem, you still need tools for that specific filesystem. You can "scan" with fibmap, you can even script the scan to use a list of blocks and only touch each file once, but it's still an impractical way to do. It would help if you'd actually describe your situation (like "the harddisk has a FAT and a NTFS partition"), instead of asking general questions for which there's no definite answer.
Aug 2, 2018 at 18:14 comment added neverMind9 Can I use LBA lists instead of complete rescans?
Aug 2, 2018 at 18:13 comment added neverMind9 +1. But The LBA number and bad block detection is total independent of the file system. Finding files is completely dependent on the filesystem. | I knew that, so maybe I have asked two questions seperately.
Aug 2, 2018 at 17:42 history answered dirkt CC BY-SA 4.0