diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2011-12-21 13:10:52 +0000 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2011-12-21 13:10:52 +0000 |
commit | 0e0f706f2ed0aa8dd7c2f65a467cefa355a0495d (patch) | |
tree | a6a2a1cc2c99b53c35d4ab4a080c43e08cf24a01 /doc/example.conf.in | |
parent | 34507894e957c3298d3d5c72010189f2d44d4b26 (diff) | |
download | lvm2-0e0f706f2ed0aa8dd7c2f65a467cefa355a0495d.tar.gz lvm2-0e0f706f2ed0aa8dd7c2f65a467cefa355a0495d.tar.xz lvm2-0e0f706f2ed0aa8dd7c2f65a467cefa355a0495d.zip |
Thin automatic policy based extension
Diffstat (limited to 'doc/example.conf.in')
-rw-r--r-- | doc/example.conf.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/example.conf.in b/doc/example.conf.in index 3868c149..ee78deab 100644 --- a/doc/example.conf.in +++ b/doc/example.conf.in @@ -603,6 +603,25 @@ activation { snapshot_autoextend_threshold = 100 snapshot_autoextend_percent = 20 + # 'thin_pool_autoextend_threshold' and 'thin_pool_autoextend_percent' define + # how to handle automatic pool extension. The former defines when the + # pool should be extended: when its space usage exceeds this many + # percent. The latter defines how much extra space should be allocated for + # the pool, in percent of its current size. + # + # For example, if you set thin_pool_autoextend_threshold to 70 and + # thin_pool_autoextend_percent to 20, whenever a pool exceeds 70% usage, + # it will be extended by another 20%. For a 1G pool, using up 700M will + # trigger a resize to 1.2G. When the usage exceeds 840M, the pool will + # be extended to 1.44G, and so on. + # + # Setting thin_pool_autoextend_threshold to 100 disables automatic + # extensions. The minimum value is 50 (A setting below 50 will be treated + # as 50). + + thin_pool_autoextend_threshold = 100 + thin_pool_autoextend_percent = 20 + # While activating devices, I/O to devices being (re)configured is # suspended, and as a precaution against deadlocks, LVM2 needs to pin # any memory it is using so it is not paged out. Groups of pages that |