summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2012-01-12 01:51:56 +0000
committerAlasdair Kergon <agk@redhat.com>2012-01-12 01:51:56 +0000
commita18dcfb5338208d0cbb3fa92fd0375859f4667b9 (patch)
treed0b6195fb9c07f2d55b514dd99f0675bddc30aac /doc
parent1e482f7ca636caa666c90939f42bff55559a0e5d (diff)
downloadlvm2-a18dcfb5338208d0cbb3fa92fd0375859f4667b9.tar.gz
Add activation/read_only_volume_list to override LV permission in metadata.
Diffstat (limited to 'doc')
-rw-r--r--doc/example.conf.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/example.conf.in b/doc/example.conf.in
index ee78deab2..5dbe15d9f 100644
--- a/doc/example.conf.in
+++ b/doc/example.conf.in
@@ -513,6 +513,16 @@ activation {
#
# volume_list = [ "vg1", "vg2/lvol1", "@tag1", "@*" ]
+ # If read_only_volume_list is defined, each LV that is to be activated
+ # is checked against the list, and if it matches, it as activated
+ # in read-only mode. (This overrides '--permission rw' stored in the
+ # metadata.)
+ # "vgname" and "vgname/lvname" are matched exactly.
+ # "@tag" matches any tag set in the LV or VG.
+ # "@*" matches if any tag defined on the host is also set in the LV or VG
+ #
+ # read_only_volume_list = [ "vg1", "vg2/lvol1", "@tag1", "@*" ]
+
# Size (in KB) of each copy operation when mirroring
mirror_region_size = 512