1
vote
3answers
515 views

Are hard disk's bad sectors filesystem dependent?

I was wondering where defective sectors are stored on the hard disk: - in a filesystem independent area, so that if the hard disk is formatted again with same/different filesystem they will show as ...
2
votes
2answers
108 views

What does a file system scan really do?

How do file system scans (like CHKDSK or fsck) really work? I know there are full applications with lots of options, but how do they scan for "bad" sectors? What are they doing when scanning? How do ...
0
votes
1answer
336 views

I/O errors on pendrive - what may cause them? (maybe a bad sector)

When I use a pendrive with Ubuntu, it sometimes disconnects. I looked in syslog and I found I/O error, dev sdb, sector 31159048, so I suppose it's a bad sector. How can I fix it? Here's a full log of ...
3
votes
0answers
209 views

How do I determine what file occupies a given sector in Mac OS X?

There are similar questions for Windows and Linux, but I need this on OS X. The filesystem is HFS+, journaled. I have a sector LBA, I could find where a partition starts with gpt (though it refuses to ...
6
votes
3answers
1k views

How can I generate a list of files from a list of sectors?

I've had a hard disk failure and managed to rescue some data from the disk (1TB) with GNU's ddrescue. The last 800GB of the disk were perfect, no single error, but in the first 200GB there were almost ...
1
vote
0answers
64 views

How can I find out what's on a certain block in an HFS+ formatted drive?

I've got a hard disk that has damaged blocks. I'm now copying it using ddrescue to an external drive. I've got a file with the list of the damaged blocks, how can I find out which files are located ...