diff options
author | Klaus Agnoletti <klaus@xenux.dk> | 2002-08-14 14:00:44 +0000 |
---|---|---|
committer | Klaus Agnoletti <klaus@xenux.dk> | 2002-08-14 14:00:44 +0000 |
commit | c53cabc164561b51e581ba1fe5a37b2f139109a4 (patch) | |
tree | 49da60c6cfd43de94739855e70d9cc8545342383 /raidtab | |
parent | a8bfdb4c465dc56e363e4be62fdf1c79669d4ee7 (diff) |
* Files added for fully automated creation of RAID system. These files should be copied to /etc (except maybe mkraid.sh) to a Debian system with RAID kernel support and raidtools2 package installed. The source harddrive MUST be /dev/hdb and the two RAID-1 drives MUST be /dev/hda and /dev/hdc. The two RAID harddrives MUST be partitioned like this : /dev/hda1 and /dev/hdc1 MUST be swap (type 82). /dev/hda2 and /dev/hdc2 MUST both de raid-autodetect (type fd).
After this is done, just run mkraidfs.sh and sit back and play a game or two on you PDA if you have one :-).
Mail me for questions.
Diffstat (limited to 'raidtab')
-rw-r--r-- | raidtab | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -0,0 +1,19 @@ +# This goes with mkraid.sh and should be placed in /etc of the harddisc used to create the RAID system. +# +# The two harddrives used for the RAID should be partitioned as follows : first partition should be a primary swap partition. +# The second partition should also be primary and take up the rest of the harddrive. Partitiontype must be fd (RAID autodetect) +# +# Questions goes out to Klaus Agnoletti - klaus@xenux.dk +# + +raiddev /dev/md0 + raid-level 1 + nr-raid-disks 2 + nr-spare-disks 0 + chunk-size 4 + persistent-superblock 1 + device /dev/hda2 + raid-disk 0 + device /dev/hdc2 + raid-disk 1 + |