I've ran fsck
-c on the (unmounted) partition in question a while ago. The process was unattended and results were not stored anywhere (except the bad block inode).
Now I'd like to get bad block information to know if there are any problems with the hard drive. Unfortunately, partition is used in the production system and can't be unmounted.
I see two ways to get what I want:
Run
badblocks
in read-only mode. This will probably take a lot of time and cause unnecessary burden on the system.Somehow extract information about bad blocks from the filesystem itself.
How can I view known bad blocks registered in mounted filesystem?