summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2014-06-13 09:45:26 +0200
committerPeter Rajnoha <prajnoha@redhat.com>2014-06-13 09:56:29 +0200
commit8e0687ca690f9c5aa009e4b1963d46a03f8ba54c (patch)
tree125b40d55d0312c81b37666e9823a14fa334375a
parentcf4d5ead0210aa12dfd73fed2061d4d9febce827 (diff)
downloadlvm2-8e0687ca690f9c5aa009e4b1963d46a03f8ba54c.tar.gz
profile: add thin-generic.profile
The thin-generic.profile contains settings for thin/thin pool volumes suitable for generic environment/use containing default settings. This allows users to change the global lvm.conf settings at will and still keep the original settings for volumes that have this thin profile assigned already.
-rw-r--r--WHATS_NEW1
-rw-r--r--conf/Makefile.in2
-rw-r--r--conf/thin-generic.profile4
3 files changed, 6 insertions, 1 deletions
diff --git a/WHATS_NEW b/WHATS_NEW
index b77d4043c..6791f3415 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
Version 2.02.107 -
==================================
+ Add thin-generic configuration profile for generic thin settings.
Fix crash when reporting of empty labels on pvs.
Use retry_deactivation also when cleaning orphan devices.
Prompt when setting the VG cluster attr if the cluster is not setup.
diff --git a/conf/Makefile.in b/conf/Makefile.in
index 54852e27d..e56b25e41 100644
--- a/conf/Makefile.in
+++ b/conf/Makefile.in
@@ -19,7 +19,7 @@ CONFSRC=example.conf
CONFDEST=lvm.conf
PROFILE_TEMPLATES=command_profile_template.profile metadata_profile_template.profile
-PROFILES=$(PROFILE_TEMPLATES) $(srcdir)/thin-performance.profile
+PROFILES=$(PROFILE_TEMPLATES) $(srcdir)/thin-generic.profile $(srcdir)/thin-performance.profile
include $(top_builddir)/make.tmpl
diff --git a/conf/thin-generic.profile b/conf/thin-generic.profile
new file mode 100644
index 000000000..229a7fc8e
--- /dev/null
+++ b/conf/thin-generic.profile
@@ -0,0 +1,4 @@
+allocation {
+ thin_pool_chunk_size_policy = "generic"
+ thin_pool_zero = 1
+}