diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2017-01-18 09:54:32 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2017-01-20 23:53:26 +0100 |
commit | 04a9cad499848cfc025d33ca28e9f657abc80ca3 (patch) | |
tree | 270e8bf948192deeace167f989d72d1489c89cba /conf | |
parent | ee754500dbb3787b1b9339e59dc4335a9b6c58cd (diff) | |
download | lvm2-04a9cad499848cfc025d33ca28e9f657abc80ca3.tar.gz |
config: new option dmeventd/thin_command
This setting will allowing configuring which command gets executed
when thin-pool fullness goes from 50%..100%
Diffstat (limited to 'conf')
-rw-r--r-- | conf/example.conf.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/conf/example.conf.in b/conf/example.conf.in index 91d70724f..7cb6f4a00 100644 --- a/conf/example.conf.in +++ b/conf/example.conf.in @@ -2049,6 +2049,14 @@ dmeventd { # warning is repeated when 85%, 90% and 95% of the pool is filled. thin_library = "libdevmapper-event-lvm2thin.so" + # Configuration option dmeventd/thin_command. + # The plugin runs command with each 5% increment when thin-pool data volume + # or metadata volume gets above 50%. + # Command which starts with 'lvm ' prefix is internal lvm command. + # You can write your own handler to customise behaviour in more details. + # This configuration option has an automatic default value. + # thin_command = "lvm lvextend --use-policies" + # Configuration option dmeventd/executable. # The full path to the dmeventd binary. # This configuration option has an automatic default value. |