Linux bcache driver list
 help / color / mirror / Atom feed
From: Gabriel de Perthuis <g2p.code-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Vasiliy Tolstov <v.tolstov-+9FY0jupvH6HXe+LvDLADg@public.gmane.org>
Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: bcache not works?
Date: Wed, 16 Oct 2013 23:07:10 +0200	[thread overview]
Message-ID: <525EFFFE.7060901@gmail.com> (raw)
In-Reply-To: <CACaajQueWka6dA3g-Uv7Asz9KhgX9nJ_sjd8bNRo2Y2iU-73jA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Le 16/10/2013 06:22, Vasiliy Tolstov a écrit :
> I have this setup:
> /dev/md127 - raid1 with one sata 3Tb drive
> /dev/sdb SSD disk with 240 Gb
> 
> I'm succeseful create bcache0 device and format it to ext4.
> 
> /dev/bcache0 /var/lib/libvirt/images ext4
> rw,relatime,journal_checksum,journal_async_commit,errors=remount-ro,min_batch_time=15000,max_batch_time=60000,data=ordered
> 0 0
> 
> After that i'm install kvm virtual machine and tries to create some
> activity via iozone fio and other. But stats says nothing.
> 
> What i miss?

Maybe the cache isn't attached to the backing device?

If you initialise both with the same make-bcache call they are
immediately attached, otherwise you need to connect them:

http://evilpiepirate.org/git/linux-bcache.git/tree/Documentation/bcache.txt?h=bcache-dev#n80

  parent reply	other threads:[~2013-10-16 21:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-16  4:22 bcache not works? Vasiliy Tolstov
     [not found] ` <CACaajQueWka6dA3g-Uv7Asz9KhgX9nJ_sjd8bNRo2Y2iU-73jA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-10-16 20:40   ` Vasiliy Tolstov
2013-10-16 21:07   ` Gabriel de Perthuis [this message]
     [not found]     ` <525EFFFE.7060901-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-10-17  3:24       ` Vasiliy Tolstov
     [not found]         ` <CACaajQvOkLmyrCyyr+8BA5sU+Z1mJ1o9Z4ss5+M=PNcng8sdxw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-10-17  3:29           ` Vasiliy Tolstov

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=525EFFFE.7060901@gmail.com \
    --to=g2p.code-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=v.tolstov-+9FY0jupvH6HXe+LvDLADg@public.gmane.org \
    /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