Mdadm - raid5
Hey guys, I've got a little bit of confusion. I have a CentOS 4.7 server that I have rebuilt and that previously had raid 1. I have now purchased 4 new drives and want to use raid 5 with a hot spare.
I booted with a liveCD and created the raid 5 array using: Code:
#mdadm --create /dev/md0 --level=5 --raid-devices=3 /dev/sda /dev/sdb /dev/sdc Code:
#dd if=/dev/sde of=/dev/md0 Now, dd is still running so I'm not even sure how the partitions will look after it is done. So my question is, will this work? Will this create issues with GRUB? My motherboard doesn't support raid other than 0 and 1. Will I have to use any tricks to make this work if it will work at all. |
So what happened? Personally I'd go with cp -r instead. dd is a block by block copy. You'd be better off letting the new raid sort that out for itself.
Looks like you're using SW raid, so the M/B issue is irrelevant. BTW, you can add the spare on the same cmd line Quote:
|
All times are GMT -5. The time now is 02:17 PM. |