summaryrefslogtreecommitdiff
path: root/conf/metadata_profile_template.profile.in
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2014-05-21 12:32:12 +0200
committerPeter Rajnoha <prajnoha@redhat.com>2014-05-21 12:36:52 +0200
commit23f9c45a1bd610c455eb24a1264c07b27cd89fd2 (patch)
tree1cd938d048899a49731fd187458b083bb78c6ec6 /conf/metadata_profile_template.profile.in
parentc34c33d9ba69f1458932e468caa10846ebb4e970 (diff)
downloadlvm2-23f9c45a1bd610c455eb24a1264c07b27cd89fd2.tar.gz
profiles: remove default.profile and add {command,metadata}_profile_template.profile
The "default.profile" name was misleading. It's actually a helper *template* that can be used for copying and further editing to create a new profile. Also, we have separate command and metadata profiles now so the templates are separated as well - we can't mix profile settings from one group with another - such profile is rejected by lvm tools.
Diffstat (limited to 'conf/metadata_profile_template.profile.in')
-rw-r--r--conf/metadata_profile_template.profile.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/conf/metadata_profile_template.profile.in b/conf/metadata_profile_template.profile.in
new file mode 100644
index 000000000..81633b237
--- /dev/null
+++ b/conf/metadata_profile_template.profile.in
@@ -0,0 +1,24 @@
+# This is a metadata profile template for the LVM2 system.
+#
+# It contains all configuration settings that are customizable by metadata
+# profiles. To create a new metadata profile, select the settings you want
+# to customize and add them in a new file named <profile_name>.profile.
+# Then install the new profile in a directory as defined by config/profile_dir
+# setting found in @DEFAULT_SYS_DIR@/lvm.conf file.
+#
+# Metadata profiles can be referenced by using the --metadataprofile LVM2
+# command line option.
+#
+# Refer to 'man lvm.conf' for further information about profiles and
+# general configuration file layout.
+#
+allocation {
+ thin_pool_zero=1
+ thin_pool_discards="passdown"
+ thin_pool_chunk_size_policy="generic"
+# thin_pool_chunk_size=64
+}
+activation {
+ thin_pool_autoextend_threshold=100
+ thin_pool_autoextend_percent=20
+}