1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

Add activation/read_only_volume_list to override LV permission in metadata.

This commit is contained in:
Alasdair Kergon 2012-01-12 02:32:09 +00:00
parent a18dcfb533
commit b5ca3d1ed0

View File

@ -423,6 +423,18 @@ metadata for a match.
\fBtags\fP above).
Logical volume and volume groups can also be included in the list
by name e.g. vg00, vg00/lvol1.
.IP
\fBread_only_volume_list\fP \(em This acts as a filter through
which all requests to activate a logical volume on this machine
are passed. A logical volume is activated in read-only mode (instead
of read-write) if it matches an item in the list. Volumes must first
pass the \fBvolume_list\fP filter, if present. Tags must be preceded
by @ and are checked against all tags defined in the logical volume
and volume group metadata for a match.
@* is short-hand to check every tag set on the host machine (see
\fBtags\fP above).
Logical volume and volume groups can also be included in the list
by name e.g. vg00, vg00/lvol1.
.TP
\fBmetadata\fP \(em Advanced metadata settings
.IP