All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: dm-devel@redhat.com
Subject: Re: How to use dm-cache-target?
Date: Mon, 11 Mar 2013 18:11:07 +0100	[thread overview]
Message-ID: <513E102B.6010906@redhat.com> (raw)
In-Reply-To: <20130311170417.GB6528@blackbox.djwong.org>

Dne 11.3.2013 18:04, Darrick J. Wong napsal(a):
> On Mon, Mar 11, 2013 at 10:31:53AM +0000, thornber@redhat.com wrote:
>> On Mon, Mar 11, 2013 at 10:28:07AM +0800, majianpeng wrote:
>>> Hi all,
>>>      I am trying to use dm-cache-target on raid5.But i met a question.
>>>
>>>   Supposed: /dev/sdb1(5GB) is metadata; /dev/sdb2(20GB) is cache;/dev/md0 is raid5.
>>>
>>> 1:sutup my_cache
>>> dmsetup create my_cache --table '0 41943040 cache /dev/sdb1 /dev/sdb2 /dev/md0 131072 1 writethrough default 0'
>>
>> 41943040 - This is 20G, you should use the size of /dev/md0 in sectors
>>
>> Also I think your block size is way too big, try 2048 rather tha 131072.
>>
>>> BTW, for dm-cache is it support plug-and-play?
>>
>> No idea what you mean.
>
> I suspect the poster's asking if dmcaches will automatically reassemble
> themselves.
>
> I've been wondering myself what's the status of the lvm-tools integration? :)
>

On-going - will be integrated within some months.

Zdenek

  reply	other threads:[~2013-03-11 17:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-11  2:28 How to use dm-cache-target? majianpeng
2013-03-11 10:31 ` thornber
2013-03-11 17:04   ` Darrick J. Wong
2013-03-11 17:11     ` Zdenek Kabelac [this message]
2013-03-12 13:27     ` thornber
2013-03-12 16:56       ` Darrick J. Wong

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=513E102B.6010906@redhat.com \
    --to=zkabelac@redhat.com \
    --cc=dm-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.