Lvchange: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
=Enable Logical Volume Auto-Extension=
=Enable Logical Volume Auto-Extension=


Write
Store:


<pre>
<pre>
Line 28: Line 28:
lvm dumpconfig | grep profile_dir
lvm dumpconfig | grep profile_dir
</pre>
</pre>
=a=
=b=

Latest revision as of 18:35, 23 May 2017

Internal

Overview

Enable Logical Volume Auto-Extension

Store:

activation {
	thin_pool_autoextend_threshold=60
	thin_pool_autoextend_percent=20

}

in /etc/lvm/profile/docker_vg--docker-pool-extend.profile and then:

lvchange --metadataprofile docker_vg--docker-pool-extend  docker_vg/docker-pool

The profile directory can be inferred by executing:

lvm dumpconfig | grep profile_dir

a

b