The 03.08.07 at 09:28, zentara wrote:
Can reiserfsck search for badblocks and mark them unusable or something? I haven't seen that option.
I think that feature is more low-level than the filesystem. "man hdparm" describes the -D option to enable this.
Ah, I hadn't noticed before it had to be enabled. -D Enable/disable the on-drive defect management feature, whereby the drive firmware tries to automatically manage defective sectors by relocating them to "spare" sectors reserved by the factory for such. But... the ability of hardware to do that is relatively new. "Old" filesystems, like msdos fat, can easily mark sectors as unusable. Linux ext2 can do it, either when creating the filesystem or when testing it: -c This option causes e2fsck to run the badblocks(8) program to find any blocks which are bad on the filesystem, and then marks them as bad by adding them to the bad block inode. If this option is specified twice, then the bad block scan will be done using a non-destructive read-write test.
Most drive manufacturers have a bootble disk to set various drive features, and marking bad blocks is usually one of the features.
I haven't seen it on the one by Seagate... I'll have to look harder.
P.S. I have a paranoid rant about these "bad blocks" in suse-ot, if you are interested. I think something "undocumented" is going on.
Ah... I'm resisting the urge to subscribe O:-) Perhaps I'll have a look at the archive. :-) -- Cheers, Carlos Robinson