Lvchange: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


=Overview=
=Overview=
=Enable Logical Volume Auto-Extension=
Write


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

Revision as of 18:30, 23 May 2017

Internal

Overview

Enable Logical Volume Auto-Extension

Write

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