How to view bad blocks on mounted ext3 filesystem?
Posted
by
Basilevs
on Super User
See other posts from Super User
or by Basilevs
Published on 2011-03-18T07:05:45Z
Indexed on
2011/03/18
8:12 UTC
Read the original article
Hit count: 339
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 badblock inode).
Now I'd like to get badblock information to know if there are any problems with the harddrive. 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 bruden on the system.
Somehow extract information about badblocks from the filesystem iteself.
How can I view known badblocks registered in mounted filesystem?
© Super User or respective owner