Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
linux:raid [2009/02/04 20:05] a + how to know which drive to remove |
linux:raid [2009/05/25 00:35] 127.0.0.1 external edit |
||
---|---|---|---|
Line 5: | Line 5: | ||
* [[http:// | * [[http:// | ||
* [[: | * [[: | ||
+ | |||
+ | |||
===== Debian Woody + kernel 2.4 ===== | ===== Debian Woody + kernel 2.4 ===== | ||
- | Good article (based on the one that has already been available on TNT) on this topic is on URL: [[http:// | + | Good article (based on the one that has already been available on old [[http:// |
===== Debian Sarge ===== | ===== Debian Sarge ===== | ||
Line 16: | Line 18: | ||
+ | ===== RAID5 ===== | ||
+ | **Creating a new one** | ||
+ | mdadm --create --verbose /dev/md0 --level=5 --raid-devices=3 /dev/sda1 /dev/sdb1 /dev/sdc1 | ||
+ | |||
+ | **Adding spare to RAID5** | ||
+ | mdadm --add /dev/md0 /dev/sdh1 | ||
+ | |||
+ | **Fixing / | ||
+ | echo " | ||
+ | mdadm --detail --scan >> / | ||
- | ===== sw RAID recover ===== | + | ===== SW RAID recover ===== |
**Copying the partition table from working HDD to new one** | **Copying the partition table from working HDD to new one** | ||