[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rebuilding raided root partition

Emanoil Kotsev wrote:
Miles Fidelman wrote:

my root partition is raided, and is now running only on its single spare

server1:~# more /proc/mdstat
md2 : inactive sdd3[0] sdb3[2]
      195318016 blocks
You may try using the --run option.

I do following

1) start the array with the healthy partition
        let's say md0 with sda1 sdb1
        and sdb1 is faulty

mdadm -A /dev/md0 --add /dev/sda1 --run
I get: device /dev/md2 already active - cannot assemble it
2) add the faulty partition to the array for syncing

mdadm /dev/md0 --add /dev/sdb1
3) check /proc/mdstat

cat /proc/mdstat

you can also stop the array at any time

mdadm -S /dev/md0

well, I really can't  - since it's my root volume

Miles R. Fidelman, Director of Government Programs
Traverse Technologies 145 Tremont Street, 3rd Floor
Boston, MA  02111

Reply to: