|
From: Frédéric B. <fb...@fb...> - 2009-01-08 04:06:59
|
I'd like to thank everybody who had a hand in writing the Bad block HOWTO, especially the LVM section. A week ago, one of the two drives in my RAID-1 array started returning random crap for some sectors (I thought they were supposed NOT to do that), which obviously made the whole array unreliable. Thanks to the HOWTO, I was able to use a "cmp -l" of the two devices to work out which (few, unimportant) files were affected, before yanking out the faulty drive. This saved me a lot of grief. If I may make one small suggestion: the HOWTO does not talk about md/RAID, so I figured I would have to take into account the size of the md header myself. I eventually discovered that, by default, md stores its superblock near the *end* of the block device; therefore, it does not interfere with any of the sector number calculations. (Well, unless the bad sector is *in* the md superblock. That's gotta hurt.) Anyway, I just thought there could be a short mention of this. Again, thanks to you all! -- Linux: Where Don't We Want To Go Today? -- Submitted by Pancrazio De Mauro, paraphrasing some well-known sales talk |