1
.TH "BLKDEACTIVATE" "8" "LVM TOOLS #VERSION#" "Red Hat, Inc" "\""
3
blkdeactivate \- utility to deactivate block devices
10
blkdeactivate utility deactivates block devices. If a device
11
is mounted, the utility can unmount it automatically before
12
trying to deactivate. The utility currently supports
13
\fIdevice-mapper\fP devices, including \fILVM\fP volumes.
14
LVM volumes are handled directly using the \fIlvm\fP command.
15
Other device-mapper based devices are handled using the
16
\fIdmsetup\fP command.
18
.IP "\fB\-h, \-\-help\fP"
19
Display the help text.
20
.IP "\fB\-u, \-\-umount\fP"
21
Unmount a mounted device before trying to deactivate it.
22
Without this option used, a device that is mounted is not deactivated.
23
.IP "\fB\-d, \-\-dmoption\fP \fIdm_options\fP"
24
Comma separated list of device-mapper specific options.
25
.IP "\fB\-l, \-\-lvmoption\fP \fIlvm_options\fP"
26
Comma separated list of LVM specific options.
29
Retry removal several times in case of failure.
31
Force device removal. See \fBdmsetup\fP(8) for more information.
34
Retry removal several times in case of failure.
36
Deactivate the whole LVM Volume Group when processing a Logical Volume.
37
Deactivating Volume Group as a whole takes less time than deactivating
38
each Logical Volume separately.
42
Deactivate all supported block devices found in the system. If a device
43
is mounted, skip its deactivation.
47
Deactivate all supported block devices found in the system. If a device
48
is mounted, unmount it first if possible.
52
Deactivate supplied device together with all its holders. If any of the
53
devices processed is mounted, unmount it first if possible.
55
.B blkdeactivate \-u /dev/vg/lvol0
57
Deactivate all supported block devices found in the system. Retry deactivation
58
of device-mapper devices in case the deactivation fails. Deactivate the whole
59
Volume Group at once when processing an LVM Logical Volume.
61
.B blkdeactivate \-u -d retry -l wholevg
63
Deactivate all supported block devices found in the system. Retry deactivation
64
of device-mapper devices in case the deactivation fails and force removal.
66
.B blkdeactivate -d force,retry