Lvchange

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

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