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, it does not seem to work:
> 
> # lvs -o cache_mode vg_raid10/lv_var
>   CacheMode
>   writethrough
> # lvconvert --cachemode writeback vg_raid10/lv_var
> # lvs -o cache_mode vg_raid10/lv_var
>   CacheMode
>   writethrough
> 
> (Fedora 23, 4.8.14)
> 
> The `lvconvert` command produces no output, and there is nothing in
> dmesg or the journal.

Have you tried adding the "-v" or "--verbose" flags to see if there
is an issue?
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ri...@alldigital.com -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-  Any sufficiently advanced technology is indistinguishable from a  -
-                              rigged demo.                          -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to