summaryrefslogtreecommitdiff
path: root/man/blkdeactivate.8_main
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2017-09-21 15:04:45 +0200
committerPeter Rajnoha <prajnoha@redhat.com>2017-09-21 17:10:15 +0200
commit95087c8f96c784cb91bda1433599abe75d917b80 (patch)
tree9feda1adeb96664fb6054904f20b8ee9119efc1c /man/blkdeactivate.8_main
parent7fa0d5226297a9ef57b8bce986e7a17ce948beb3 (diff)
downloadlvm2-95087c8f96c784cb91bda1433599abe75d917b80.tar.gz
blkdeactivate: add blkdeactivate -r wait option to wait for MD resync/recovery/reshape
The new blkdeactivate -r|mdraidoption wait causes blkdeactivate to wait for any resync/recovery/reshape that is currently in progress before deactivating the device. If this option is used, blkdeactivate calls mdadm -W|--wait before mdadm -S|--stop.
Diffstat (limited to 'man/blkdeactivate.8_main')
-rw-r--r--man/blkdeactivate.8_main9
1 files changed, 9 insertions, 0 deletions
diff --git a/man/blkdeactivate.8_main b/man/blkdeactivate.8_main
index 80235ca10..0aa9c2aef 100644
--- a/man/blkdeactivate.8_main
+++ b/man/blkdeactivate.8_main
@@ -8,6 +8,7 @@ blkdeactivate \(em utility to deactivate block devices
.RB [ -h ]
.RB [ -l \ \fIlvm_options\fP ]
.RB [ -m \ \fImpath_options\fP ]
+.RB [ -r \ \fImdraid_options\fP ]
.RB [ -u ]
.RB [ -v ]
.RI [ device ]
@@ -62,6 +63,14 @@ all the paths are unavailable for any underlying device-mapper multipath
device.
.RE
.TP
+.BR -r ", " --mdraidoption \ \fImdraid_options\fP
+Comma-separated list of MD RAID specific options:
+.RS
+.IP \fIwait\fP
+Wait MD device's resync, recovery or reshape action to complete
+before deactivation.
+.RE
+.TP
.BR -u ", " --umount
Unmount a mounted device before trying to deactivate it.
Without this option used, a device that is mounted is not deactivated.