|
Size: 598
Comment: converted to 1.6 markup
|
Size: 671
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| Creating Software RAID arrays on Debian systems: {{{ |
The example below shows how to create a software RAID0 array on Debian systems: {{{#!highlight Bash |
| Line 4: | Line 4: |
| }}} | |
| Line 5: | Line 6: |
| {{{#!highlight Bash |
The example below shows how to create a software RAID0 array on Debian systems:
1 apt-get install mdadm
fdisk and create partitions type 0xfd
Add entry to fstab:
/dev/md0 /home ext3 noatime,rw 0 0
Create mdadm config file:
panther:~# cat /etc/mdadm/mdadm.conf ARRAY /dev/md0 devices=/dev/hda1,/dev/hdc1 level=1 num-devices=2 auto=yes DEVICE /dev/hda1 /dev/hdc1
Note that the array is actually started in /etc/rc0.d/S50mdadm (via mdadm -A -s) or mdrun command
