summaryrefslogtreecommitdiff
path: root/mdadm.8.in
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-07-09 17:14:16 +1000
committerNeilBrown <neilb@suse.de>2012-07-09 17:14:16 +1000
commit0ea8f5b167d3e98fa09d392079fc5e269b5a0395 (patch)
treebf4dd70cb9ad5da5f78fc45d616570e34e17aab0 /mdadm.8.in
parent503975b9d5f0696b5d2ee20ea903b859e3f60662 (diff)
Assemble: allow arrays to be assembled read-only.
The option was there, but never used. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.8.in')
-rw-r--r--mdadm.8.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/mdadm.8.in b/mdadm.8.in
index 1a7cba7e..33919bd2 100644
--- a/mdadm.8.in
+++ b/mdadm.8.in
@@ -832,6 +832,13 @@ initial resync work faster). With
will not try to be so clever.
.TP
+.BR \-o ", " \-\-readonly
+Start the array
+.B read only
+rather than read-write as normal. No writes will be allowed to the
+array, and no resync, recovery, or reshape will be started.
+
+.TP
.BR \-a ", " "\-\-auto{=yes,md,mdp,part,p}{NN}"
Instruct mdadm how to create the device file if needed, possibly allocating
an unused minor number. "md" causes a non-partitionable array