Lvchange: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with " =Overview= <pre> vchange --metadataprofile docker_vg--docker-pool-extend docker_vg/docker-pool </pre>")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Internal=
* [[Linux_Logical_Volume_Management_Operations#Logical_Volume_Management_Operations|Logical Volume Operations]]


=Overview=
=Overview=
=Enable Logical Volume Auto-Extension=
Store:
<pre>
activation {
thin_pool_autoextend_threshold=60
thin_pool_autoextend_percent=20
}
</pre>
in /etc/lvm/profile/docker_vg--docker-pool-extend.profile and then:


<pre>
<pre>
vchange --metadataprofile docker_vg--docker-pool-extend  docker_vg/docker-pool
lvchange --metadataprofile docker_vg--docker-pool-extend  docker_vg/docker-pool
</pre>
</pre>
The profile directory can be inferred by executing:
<pre>
lvm dumpconfig | grep profile_dir
</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