Re: Changing lvmcache mode

2017-01-02 Thread Raman Gupta
> I would like to change the cache mode of an existing lvm cache volume. From a kind soul on the linux-lvm list: > 'change' of cachemode is 'lvchange' operation So looks like the correct command for my example *should* be: lvchange --cachemode writeback vg_raid10/lv_var but... > Please use

Re: Changing lvmcache mode

2016-12-28 Thread Raman Gupta
On 12/28/2016 06:55 PM, Rick Stevens wrote: > On 12/28/2016 03:46 PM, Raman Gupta wrote: >> On 12/28/2016 06:35 PM, Rick Stevens wrote: >>> On 12/28/2016 03:14 PM, Raman Gupta wrote: On 12/28/2016 04:24 PM, Rick Stevens wrote: > On 12/28/2016 10:33 AM, Raman Gupta wrote: >> I would lik

Re: Changing lvmcache mode

2016-12-28 Thread Rick Stevens
On 12/28/2016 03:46 PM, Raman Gupta wrote: > On 12/28/2016 06:35 PM, Rick Stevens wrote: >> On 12/28/2016 03:14 PM, Raman Gupta wrote: >>> On 12/28/2016 04:24 PM, Rick Stevens wrote: On 12/28/2016 10:33 AM, Raman Gupta wrote: > I would like to change the cache mode of an existing lvm cache

Re: Changing lvmcache mode

2016-12-28 Thread Raman Gupta
On 12/28/2016 06:35 PM, Rick Stevens wrote: > On 12/28/2016 03:14 PM, Raman Gupta wrote: >> On 12/28/2016 04:24 PM, Rick Stevens wrote: >>> On 12/28/2016 10:33 AM, Raman Gupta wrote: I would like to change the cache mode of an existing lvm cache volume. I see the following in the man

Re: Changing lvmcache mode

2016-12-28 Thread Rick Stevens
On 12/28/2016 03:14 PM, Raman Gupta wrote: > On 12/28/2016 04:24 PM, Rick Stevens wrote: >> On 12/28/2016 10:33 AM, Raman Gupta wrote: >>> I would like to change the cache mode of an existing lvm cache volume. >>> >>> I see the following in the man page: >>> >>> `With the --cachemode option, the ca

Re: Changing lvmcache mode

2016-12-28 Thread Raman Gupta
On 12/28/2016 04:24 PM, Rick Stevens wrote: > On 12/28/2016 10:33 AM, Raman Gupta wrote: >> I would like to change the cache mode of an existing lvm cache volume. >> >> I see the following in the man page: >> >> `With the --cachemode option, the cache mode can be set when creating >> a cache LV, or

Re: Changing lvmcache mode

2016-12-28 Thread Rick Stevens
On 12/28/2016 10:33 AM, Raman Gupta wrote: > I would like to change the cache mode of an existing lvm cache volume. > > I see the following in the man page: > > `With the --cachemode option, the cache mode can be set when creating > a cache LV, or changed on an existing cache LV.` > > However, i

Changing lvmcache mode

2016-12-28 Thread Raman Gupta
I would like to change the cache mode of an existing lvm cache volume. I see the following in the man page: `With the --cachemode option, the cache mode can be set when creating a cache LV, or changed on an existing cache LV.` However, it does not seem to work: # lvs -o cache_mode vg_raid10/lv_