summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2011-09-22 17:39:56 +0000
committerPeter Rajnoha <prajnoha@redhat.com>2011-09-22 17:39:56 +0000
commit9fa1d30a1c00ea147faa74bd4538bbc1038c4acf (patch)
tree5aad7b4c2fb648905395dd31e2c1018e303a503c /doc
parent787200efd6095c61dc356fb85edc0bf6c94e2b71 (diff)
downloadlvm2-9fa1d30a1c00ea147faa74bd4538bbc1038c4acf.tar.gz
lvm2-9fa1d30a1c00ea147faa74bd4538bbc1038c4acf.tar.xz
lvm2-9fa1d30a1c00ea147faa74bd4538bbc1038c4acf.zip
Add activation/retry_deactivation to lvm.conf to retry deactivation of an LV.
Diffstat (limited to 'doc')
-rw-r--r--doc/example.conf.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/example.conf.in b/doc/example.conf.in
index 94c632f4..eaba6cdd 100644
--- a/doc/example.conf.in
+++ b/doc/example.conf.in
@@ -465,6 +465,11 @@ activation {
# Useful for diagnosing problems with LVM2/udev interactions.
verify_udev_operations = 0
+ # If set to 1 and if deactivation of an LV fails, perhaps because
+ # a process run from a quick udev rule temporarily opened the device,
+ # retry the operation for a few seconds before failing.
+ retry_deactivation = 1
+
# How to fill in missing stripes if activating an incomplete volume.
# Using "error" will make inaccessible parts of the device return
# I/O errors on access. You can instead use a device path, in which