summaryrefslogtreecommitdiff
path: root/mdadm.conf-example
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2002-03-15 05:21:36 +0000
committerNeil Brown <neilb@suse.de>2002-03-15 05:21:36 +0000
commit56eb10c0b6e8f21540af444c8a28aa9e8f138ce6 (patch)
tree3b791ce573cca8c746f318411cb63d8c677678a1 /mdadm.conf-example
parent9a9dab3670110c2db7fe6f716977b72adedbf855 (diff)
mdadm-0.7.1
Diffstat (limited to 'mdadm.conf-example')
-rw-r--r--mdadm.conf-example40
1 files changed, 40 insertions, 0 deletions
diff --git a/mdadm.conf-example b/mdadm.conf-example
new file mode 100644
index 00000000..f1a5b8fb
--- /dev/null
+++ b/mdadm.conf-example
@@ -0,0 +1,40 @@
+# mdadm configuration file
+#
+# mdadm will function properly without the use of a configuration file,
+# but this file is useful for keeping track of arrays and member disks.
+# In general, a mdadm.conf file is created, and updated, after arrays
+# are created. This is the opposite behavior of /etc/raidtab which is
+# created prior to array construction.
+#
+#
+# the config file takes two types of lines:
+#
+# DEVICE lines specify a list of devices of where to look for
+# potential member disks
+#
+# ARRAY lines specify information about how to identify arrays so
+# so that they can be activated
+#
+# You can have more than one device line and use wild cards. The first
+# example includes SCSI the first partition of SCSI disks /dev/sdb,
+# /dev/sdc, /dev/sdd, /dev/sdj, /dev/sdk, and /dev/sdl. The second
+# line looks for array slices on IDE disks.
+#
+#DEVICE /dev/sd[bcdjkl]1
+#DEVICE /dev/hda1 /dev/hdb1
+#
+#
+#
+# ARRAY lines specify an array to assemble and a method of identification.
+# Arrays can currently be identified by using a UUID, superblock minor number,
+# or a listing of devices.
+#
+# super-minor is usally the minor number of the metadevice
+# UUID is the Universally Unique Identifier for the array
+# Each can be obtained using
+#
+# mdadm -D <md>
+#
+#ARRAY /dev/md0 UUID=3aaa0122:29827cfa:5331ad66:ca767371
+#ARRAY /dev/md1 superminor=1
+#ARRAY /dev/md2 devices=/dev/hda1,/dev/hda2