linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Two questions about lvm-cache
Date: Mon, 2 Jan 2017 17:20:36 +0100	[thread overview]
Message-ID: <dd4b1b45-daa4-06eb-7bf1-9dd3ac4f0276@redhat.com> (raw)
In-Reply-To: <610b64fb-b185-4480-2739-9d6ce600c287@gmail.com>

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.
>>
>>
>> Hi
>>
>>
>> '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...

Regards

Zdenek

  reply	other threads:[~2017-01-02 16:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-29 13:52 [linux-lvm] Two questions about lvm-cache Raman Gupta
2017-01-02 15:15 ` Zdenek Kabelac
2017-01-02 15:29   ` Raman Gupta
2017-01-02 16:20     ` Zdenek Kabelac [this message]
2017-01-02 16:57       ` Raman Gupta

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dd4b1b45-daa4-06eb-7bf1-9dd3ac4f0276@redhat.com \
    --to=zkabelac@redhat.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).