Quote:
My laptop HDD has developed some bad blocks. It has the standard stuff (a hidden NTFS partition and a system NTFS partition), and it has too much 7z and zip files to take care of. The computer still boots, but it has obviously some DLLs corrupted.
First I am going to state the obvious. Backup all your important data now, before the drive completely fails.
Quote:
- A tool that can map a physical block to a file, so I can know what files have been corrupted. It should support disks with more than one partition, and FAT/NTFS/ext filesystems. I know that there is a tool that can get a ddrescue log file and find which file can be corrupted, but it does need an image previously created and I don't have enough disk space to do so.
You do not need an image or clone (although it is highly recommended to image or clone your drive before it fails). You can run ddrescue with a destination of /dev/null, that will create a log file without creating an actual data backup. Then you can use the ddrutility programs with the ddrescue log and choosing the failing disk as the input.
Quote:
- A tool that can create a file that occupies a physical block, so I can be sure that important data won't be written there (until I get a new disk).
I don’t think such a tool exists. The closest thing would be to run chkdsk with the /r option (chkdsk /r). This will try to recover data in the bad blocks (clusters), and when it fails it will put the bad cluster in $badclus, so the OS will not use that cluster. Just make sure you have backed up your data before running chkdsk, because it could destroy files, corrupt the file system, and possibly kill the disk.
_________________
http://www.sdcomputingservice.comHome of HDDSuperClone and HDDSuperTool