Difference between revisions of "RAID-1 configuration and management"
From PDP/Grid Wiki
Jump to navigationJump to searchLine 4: | Line 4: | ||
How to change the Kickstart file to define RAID-1 | How to change the Kickstart file to define RAID-1 | ||
− | + | The following examples uses two serial ATA disks (/dev/sda and /dev/sdb) with four partitions (/boot, /, swap and /tmp), each in RAID-1 configuration: | |
part raid.01 --size=128 --ondisk=sda | part raid.01 --size=128 --ondisk=sda | ||
Line 20: | Line 20: | ||
raid swap --level=RAID1 --device=md2 --fstype=swap raid.03 raid.07 | raid swap --level=RAID1 --device=md2 --fstype=swap raid.03 raid.07 | ||
raid /tmp --level=RAID1 --device=md3 --fstype=ext3 raid.04 raid.08 | raid /tmp --level=RAID1 --device=md3 --fstype=ext3 raid.04 raid.08 | ||
− | |||
== RAID-1 management == | == RAID-1 management == |
Revision as of 14:13, 3 November 2006
RAID-1 configuration via Kickstart
(Under construction) How to change the Kickstart file to define RAID-1
The following examples uses two serial ATA disks (/dev/sda and /dev/sdb) with four partitions (/boot, /, swap and /tmp), each in RAID-1 configuration:
part raid.01 --size=128 --ondisk=sda part raid.02 --size=8192 --ondisk=sda part raid.03 --size=3072 --ondisk=sda part raid.04 --size=512 --ondisk=sda part raid.05 --size=128 --ondisk=sdb part raid.06 --size=8192 --ondisk=sdb part raid.07 --size=3072 --ondisk=sdb part raid.08 --size=512 --ondisk=sdb raid /boot --level=RAID1 --device=md0 --fstype=ext2 raid.01 raid.05 raid / --level=RAID1 --device=md1 --fstype=ext3 raid.02 raid.06 raid swap --level=RAID1 --device=md2 --fstype=swap raid.03 raid.07 raid /tmp --level=RAID1 --device=md3 --fstype=ext3 raid.04 raid.08