summaryrefslogtreecommitdiff
path: root/raidtab
diff options
context:
space:
mode:
Diffstat (limited to 'raidtab')
-rw-r--r--raidtab19
1 files changed, 19 insertions, 0 deletions
diff --git a/raidtab b/raidtab
new file mode 100644
index 0000000..30f01b6
--- /dev/null
+++ b/raidtab
@@ -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
+