summaryrefslogtreecommitdiffstats
path: root/doc/example.conf.in
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2010-08-12 04:08:59 +0000
committerMike Snitzer <snitzer@redhat.com>2010-08-12 04:08:59 +0000
commitdff224669d075625d4d5210c9808b6c22a4830ba (patch)
tree5ef1670e7f78df2afe400d526a2dc840ffdd1a3f /doc/example.conf.in
parentdc39d2a66e4dfaa9fd1d751eb5b1d3e532cfcc16 (diff)
downloadlvm2-dff224669d075625d4d5210c9808b6c22a4830ba.tar.gz
lvm2-dff224669d075625d4d5210c9808b6c22a4830ba.tar.xz
lvm2-dff224669d075625d4d5210c9808b6c22a4830ba.zip
Require --restorefile when using pvcreate --uuid.
Introduce --norestorefile to allow user to override the new requirement. This can also be overridden with "devices/require_restorefile_with_uuid" in lvm.conf -- however the default is 1. Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'doc/example.conf.in')
-rw-r--r--doc/example.conf.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/example.conf.in b/doc/example.conf.in
index 850b7e23..73832d98 100644
--- a/doc/example.conf.in
+++ b/doc/example.conf.in
@@ -130,6 +130,9 @@ devices {
# Set this to 1 to skip such devices. This should only be needed
# in recovery situations.
ignore_suspended_devices = 0
+
+ # Allow use of pvcreate --uuid without requiring --restorefile.
+ require_restorefile_with_uuid = 1
}
# This section that allows you to configure the nature of the