|
From: Michael M. <mi...@np...> - 2004-12-20 03:11:53
|
Hi Bruno, > On Mon, Dec 20, 2004 at 10:38:51 +1000, > Michael Mansour <mi...@np...> wrote: > > > > My guess is that the drive is having a problem with one sector. If I can mark > > that sector as bad, the problem will be resolved. If this is the case, how can > > I mark it as bad? > > One option is to shutdown and boot with a live CD (such as knoppix) and > copy the block from the good drive to the bad drive. Hmmm.. but how would I know exactly which block it was? When you mentioned that I thought maybe then I should just run an fsck on the drive and that would likely mark the block bad. > If you don't want to take the system down, but can afford a lot of > disk IO for a while, you can fail the bad drive and then add it back > to the mirror. This will rebuild the entire drive (or at least the > partitions you failed out of their mirror sets). Yeah, this is only a test cluster environment so it's no issue to bring the server down or hammer it with disk IO. I'm not too familiar with failing a drive and adding it back, do you happen have the steps involved? I'm using RHEL 3.0.3. I've setup md0 to md5 as mirrored partitions on /dev/hda and /dev/hdb. Michael. |