PDA

View Full Version : Replacing A Failed Hard Drive In A Software RAID1 Array


wr19026
29th January 2007, 13:04
Again an excellent HOWTO! Especially now that I'm starting to experiment with Ubuntu's software RAID ;)

Quick question though: will you be making a similar HOWTO for RAID-5?

falko
30th January 2007, 12:29
It's not planned yet because RAID1 is far more common than RAID5.

interele
31st January 2007, 13:27
If you haven't done this

grub
> device (hd0) /dev/sda
> root (hd0,0)
> setup (hd0)
> device (hd1) /dev/sdb
> root (hd1,0)
> setup (hd1)

when the raid is originally setup and /dev/sda fails, when
you reboot the machine it won't restart.

M

mmlenz
31st January 2007, 17:31
My /proc/mdstat output uses the following notation:

md0 : active raid1 ide/host0/bus0/target0/lun0/part2[0] ide/host0/bus1/target0/lun0/part2[1]

However, the mdadm.conf uses /dev notation. Is it still ok to use /dev notation with mdadm?

falko
1st February 2007, 19:01
My /proc/mdstat output uses the following notation:

md0 : active raid1 ide/host0/bus0/target0/lun0/part2[0] ide/host0/bus1/target0/lun0/part2[1]

However, the mdadm.conf uses /dev notation. Is it still ok to use /dev notation with mdadm?
I guess the /dev/... are symlinks to the other notations (or vice versa). I think you can use both.