summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2010-10-25 11:20:54 +0000
committerAlasdair Kergon <agk@redhat.com>2010-10-25 11:20:54 +0000
commitb83af516681bebcd8f28efadb1bd1c9f232ee1cc (patch)
tree7e8df92983aa6d5568816f83f8a88f39a5a77648 /doc
parentc748bda1866d3a52cd9fe9b7da01eccd29ce923d (diff)
downloadlvm2-b83af516681bebcd8f28efadb1bd1c9f232ee1cc.tar.gz
lvm2-b83af516681bebcd8f28efadb1bd1c9f232ee1cc.tar.xz
lvm2-b83af516681bebcd8f28efadb1bd1c9f232ee1cc.zip
Add global/metadata_read_only to use unrepaired metadata in read-only cmds.
Diffstat (limited to 'doc')
-rw-r--r--doc/example.conf.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/example.conf.in b/doc/example.conf.in
index e71672be..ac9aae70 100644
--- a/doc/example.conf.in
+++ b/doc/example.conf.in
@@ -334,6 +334,13 @@ global {
# Treat any internal errors as fatal errors, aborting the process that
# encountered the internal error. Please only enable for debugging.
abort_on_internal_errors = 0
+
+ # If set to 1, no operations that change on-disk metadata will be permitted.
+ # Additionally, read-only commands that encounter metadata in need of repair
+ # will still be allowed to proceed exactly as if the repair had been
+ # performed (except for the unchanged vg_seqno).
+ # Inappropriate use could mess up your system, so seek advice first!
+ metadata_read_only = 0
}
activation {