« Italian Math | Main | A penny saved... »

November 08, 2005

Bad blocks (mirrored disk)

Bad Mirrored Blocks

If you run fsck (or newfs) on a mirrored disk and you get a ‘bad blocks’ message, then check the block numbers against the partition information (from format). A true bad block should never be visible because of the data mirror.

It is possible to create partitions, build filesystems and then change the partitions. Fsck will then complain about any blocks which *could* exist in the filesystem but are actually in another partition.

This error does not actually mean that data has been lost. The blocks are flagged regardless of the presence of data.

Posted by Ozguru at November 8, 2005 06:00 AM