[linux-lvm] Two questions about lvm-cache
zkabelac at redhat.com
Mon Jan 2 16:20:36 UTC 2017
Dne 2.1.2017 v 16:29 Raman Gupta napsal(a):
> On 02/01/17 10:15 AM, Zdenek Kabelac wrote:
>> Dne 29.12.2016 v 14:52 Raman Gupta napsal(a):
>>> I am trying out the lvmcache functionality. So far, everything looks
>>> great. I have two questions:
>>> 1) The man page of lvmcache states "With the --cachemode option, the
>>> cache mode can be set when creating a cache LV, or changed on an
>>> existing cache LV." However, I can't figure out the right command to
>>> change the cache mode on an existing LV.
>> 'change' of cachemode is 'lvchange' operation
> Hmm, there is no mention of cachemode change in `lvchange` man page
> (nor a reference from `lvmcache` man page). Guessing at the syntax,
> still no luck:
> # lvchange --verbose --cachemode writeback vg_raid10/lv_var
> lvchange: unrecognized option '--cachemode'
> Error during parsing of command line.
Please use some more recent version of lvm2 ( > 2.02.155)
The newer the better...
More information about the linux-lvm