public inbox for linux-bcache@vger.kernel.org
 help / color / mirror / Atom feed
* Can't enable writeback
@ 2013-08-17 12:00 Nick Payne
  2013-08-17 12:56 ` Gabriel de Perthuis
  0 siblings, 1 reply; 3+ messages in thread
From: Nick Payne @ 2013-08-17 12:00 UTC (permalink / raw)
  To: linux-bcache-u79uwXL29TY76Z2rM5mHXA

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-17 21:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-17 12:00 Can't enable writeback Nick Payne
2013-08-17 12:56 ` Gabriel de Perthuis
2013-08-17 21:39   ` Nick Payne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox