general:linux:lvmcache
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
general:linux:lvmcache [2021/02/11 08:22] – [And now reattach the cache] sunkan | general:linux:lvmcache [2021/02/11 08:24] – [Remove caching from the thinpool] sunkan | ||
---|---|---|---|
Line 191: | Line 191: | ||
Follow first two steps above from section " | Follow first two steps above from section " | ||
+ | Some - before information | ||
+ | < | ||
+ | bigbang:~# lvdisplay -a F3_2TB/ | ||
+ | --- Logical volume --- | ||
+ | Internal LV Name | ||
+ | VG Name F3_2TB | ||
+ | LV UUID Fyc9Md-c1XD-xpib-dJDw-Obr4-SYL5-G88yqS | ||
+ | LV Write Access | ||
+ | LV Creation host, time bigbang, 2019-10-12 14:17:30 +0200 | ||
+ | LV Cache pool name | ||
+ | LV Cache origin name | ||
+ | LV Status | ||
+ | # open 1 | ||
+ | LV Size 500.00 GiB | ||
+ | Cache used blocks | ||
+ | Cache metadata blocks | ||
+ | Cache dirty blocks | ||
+ | Cache read hits/misses 644218163 / 453243621 | ||
+ | Cache wrt hits/ | ||
+ | Cache demotions | ||
+ | Cache promotions | ||
+ | Current LE | ||
+ | Segments | ||
+ | Allocation | ||
+ | Read ahead sectors | ||
+ | - currently set to 256 | ||
+ | Block device | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | bigbang:~# lvchange --cachemode writethrough F3_2TB/ | ||
+ | Flushing 55 blocks for cache F3_2TB/ | ||
+ | Logical volume F3_2TB/ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | bigbang:~# lvconvert --splitcache F3_2TB/ | ||
+ | Logical volume F3_2TB/ | ||
+ | </ | ||
==== Now extend the ThinPool0 LV ==== | ==== Now extend the ThinPool0 LV ==== | ||
< | < |
general/linux/lvmcache.txt · Last modified: 2021/02/11 08:25 by sunkan