summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2012-05-10 00:18:49 +0000
committerAlasdair Kergon <agk@redhat.com>2012-05-10 00:18:49 +0000
commit59f8c1767d5028d168d00ddcf995112378cc9d85 (patch)
treeef60b9409cb012c4f59af3ee6bcf68dd824310ce /doc
parentec808a033bce619b749d8ce33547be5ec61967b2 (diff)
downloadlvm2-59f8c1767d5028d168d00ddcf995112378cc9d85.tar.gz
lvm2-59f8c1767d5028d168d00ddcf995112378cc9d85.tar.xz
lvm2-59f8c1767d5028d168d00ddcf995112378cc9d85.zip
Uncomment allocation section to match style of rest of file.
Diffstat (limited to 'doc')
-rw-r--r--doc/example.conf.in66
1 files changed, 32 insertions, 34 deletions
diff --git a/doc/example.conf.in b/doc/example.conf.in
index ef42c271..72ba35ce 100644
--- a/doc/example.conf.in
+++ b/doc/example.conf.in
@@ -190,40 +190,38 @@ devices {
# This section allows you to configure the way in which LVM selects
# free space for its Logical Volumes.
-#allocation {
-# When searching for free space to extend an LV, the "cling"
-# allocation policy will choose space on the same PVs as the last
-# segment of the existing LV. If there is insufficient space and a
-# list of tags is defined here, it will check whether any of them are
-# attached to the PVs concerned and then seek to match those PV tags
-# between existing extents and new extents.
-# Use the special tag "@*" as a wildcard to match any PV tag.
-#
-# Example: LVs are mirrored between two sites within a single VG.
-# PVs are tagged with either @site1 or @site2 to indicate where
-# they are situated.
-#
-# cling_tag_list = [ "@site1", "@site2" ]
-# cling_tag_list = [ "@*" ]
-#
-# Changes made in version 2.02.85 extended the reach of the 'cling'
-# policies to detect more situations where data can be grouped
-# onto the same disks. Set this to 0 to revert to the previous
-# algorithm.
-#
-# maximise_cling = 1
-#
-# Set to 1 to guarantee that mirror logs will always be placed on
-# different PVs from the mirror images. This was the default
-# until version 2.02.85.
-#
-# mirror_logs_require_separate_pvs = 0
-#
-# Set to 1 to guarantee that thin pool metadata will always
-# be placed on different PVs from the pool data.
-#
-# thin_pool_metadata_require_separate_pvs = 0
-#}
+allocation {
+
+ # When searching for free space to extend an LV, the "cling"
+ # allocation policy will choose space on the same PVs as the last
+ # segment of the existing LV. If there is insufficient space and a
+ # list of tags is defined here, it will check whether any of them are
+ # attached to the PVs concerned and then seek to match those PV tags
+ # between existing extents and new extents.
+ # Use the special tag "@*" as a wildcard to match any PV tag.
+
+ # Example: LVs are mirrored between two sites within a single VG.
+ # PVs are tagged with either @site1 or @site2 to indicate where
+ # they are situated.
+
+ # cling_tag_list = [ "@site1", "@site2" ]
+ # cling_tag_list = [ "@*" ]
+
+ # Changes made in version 2.02.85 extended the reach of the 'cling'
+ # policies to detect more situations where data can be grouped
+ # onto the same disks. Set this to 0 to revert to the previous
+ # algorithm.
+ maximise_cling = 1
+
+ # Set to 1 to guarantee that mirror logs will always be placed on
+ # different PVs from the mirror images. This was the default
+ # until version 2.02.85.
+ mirror_logs_require_separate_pvs = 0
+
+ # Set to 1 to guarantee that thin pool metadata will always
+ # be placed on different PVs from the pool data.
+ thin_pool_metadata_require_separate_pvs = 0
+}
# This section that allows you to configure the nature of the
# information that LVM2 reports.