Skip to contentSkip to conversation

Badblocks with RAID-1 on Root device - Will this work?

DISCUSSION Stephan Kessler 1 participant 1 message Feb 15, 2004 MD RAID

lore
Share & tools
lore
#0 lore raw

Hi List,

I got the following problem:

My Discs in my Web-Server with an RAID-1 SW Array starting to get BadBlocks. I got 2 Raid devices /dev/md0 and /dev/md1.

/dev/md0 -> /dev/hda1 and /dev/hdc1 mounted as / /dev/md1 -> /dev/hda2 and /dev/hdc2 mounted as swap

I aint got physical access to my machine because it is far away in a computer center, or whatever it is called.... ;)

Now i want to mark the badblocks. I searched the Archives and found that:
http://marc.theaimsgroup.com/?l=linux-raid&m=103505358006012&w=2

My Question is now:
Will this work with an "all the time" mounted /dev/md0 Partition. Ok i think the removing of the Disc will work, and the badblock check too. But can i add the Blocks which should be marked with e2fsck to a mounted device?

If not, how can i fix the BadBlock Problem with just having ssh?

Thank you in advance for the help! And a nice Sunday of course ;)

Greetings from "Good old Germany",
Stephan