From a18dcfb5338208d0cbb3fa92fd0375859f4667b9 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Thu, 12 Jan 2012 01:51:56 +0000 Subject: Add activation/read_only_volume_list to override LV permission in metadata. --- doc/example.conf.in | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/example.conf.in') diff --git a/doc/example.conf.in b/doc/example.conf.in index ee78deab..5dbe15d9 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 -- cgit