]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - mdadm.conf.5
sysfs_unique_holder(): Check read() return value before using as buffer index
[thirdparty/mdadm.git] / mdadm.conf.5
index 65b00293723c7a5834f400456b4391293a7ebef4..400b10c361bd4e731985f435d91dc9aabc261bc2 100644 (file)
@@ -339,14 +339,15 @@ line gives a default value for the
 .B \-\-homehost=
 option to mdadm.  There should normally be only one other word on the line.
 It should either be a host name, or one of the special words
-.B <system>
+.BR <system>,
+.B <none>
 and
 .BR <ignore> .
 If
 .B <system>
 is given, then the
 .BR gethostname ( 2 )
-systemcall is used to get the host name.
+systemcall is used to get the host name.  This is the default.
 
 If
 .B <ignore>
@@ -362,6 +363,12 @@ more that one other word on the
 .B HOMEHOST
 line.
 
+If
+.B <none>
+is given, then the default of using
+.BR gethostname ( 2 )
+is over-ridden and no homehost name is assumed.
+
 When arrays are created, this host name will be stored in the
 metadata.  When arrays are assembled using auto-assembly, arrays which
 do not record the correct homehost name in their metadata will be
@@ -432,7 +439,7 @@ A device may belong to several domains. The domain of an array is a union
 of domains of all devices in that array.  A spare can be automatically
 moved from one array to another if the set of the destination array's
 .I domains
-contains all the
+ppcontains all the
 .I domains
 of the new disk or if both arrays have the same
 .IR spare-group .
@@ -456,6 +463,7 @@ any arbitrary string
 .B path=
 file glob matching anything from
 .B /dev/disk/by-path
+.TP
 .B type=
 either 
 .B disk
@@ -464,6 +472,8 @@ or
 .TP
 .B action=
 include, re-add, spare, spare-same-slot, or force-spare
+.B auto=
+yes, no, or homehost.
 
 .P
 The