public inbox for linux-bcache@vger.kernel.org
 help / color / mirror / Atom feed
From: Nick Payne <nick.payne-CkBdp7X+a1oIQCUVoCVjmQ@public.gmane.org>
To: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Can't enable writeback
Date: Sat, 17 Aug 2013 22:00:08 +1000	[thread overview]
Message-ID: <520F65C8.8050301@internode.on.net> (raw)

I've installed kernel 3.10.7 on Ubuntu 13.04 amd64, and bcache-tools 
from 
https://launchpad.net/~mighost/+archive/ppa/+build/4767454/+files/bcache-tools_1.0-1ppa1%7Eraring_amd64.deb. 
I can create a bcache volume and mount and use it without any problems 
using writethrough (120GB Intel 330 SSD caching a WD 2GB HDD), but when 
I try to enable writeback:

   sudo echo writeback > /sys/block/bcache0/cache_mode

it returns the error

   bash: /sys/block/bcache0/cache_mode: No such file or directory

/sys/block/bcache0 exists as a link:

   ls -l /sys/block/bc*
   lrwxrwxrwx 1 root root 0 Aug 17 15:58 /sys/block/bcache0 -> 
../devices/virtual/block/bcache0

Suggestions on how to enable writeback?

Nick Payne

             reply	other threads:[~2013-08-17 12:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-17 12:00 Nick Payne [this message]
2013-08-17 12:56 ` Can't enable writeback Gabriel de Perthuis
2013-08-17 21:39   ` Nick Payne

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=520F65C8.8050301@internode.on.net \
    --to=nick.payne-ckbdp7x+a1oiqcuvocvjmq@public.gmane.org \
    --cc=linux-bcache-u79uwXL29TY76Z2rM5mHXA@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