public inbox for linux-bcache@vger.kernel.org
 help / color / mirror / Atom feed
* Error "unsupported bset version"
@ 2013-08-24 11:47 Tobias Reinhard
       [not found] ` <52189D62.7010603-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Tobias Reinhard @ 2013-08-24 11:47 UTC (permalink / raw)
  To: linux-bcache-u79uwXL29TY76Z2rM5mHXA

Hi all,

I'm running bcache to speed up my 4 TB HDD with a 64 GB partition on my 
SSD. After a reboot bcache didn't start automatically. So I stopped 
bcache, unloaded the module, reloaded it and tried to register the SSD 
and HDD again.

Registering the SSD gave me this error:
error on f1e69e99-940d-447a-900e-4956bd607933: unsupported bset version 
at bucket 108098, block 0, 855650560 keys, disabling caching

The bcache was running in writeback mode but I think it was almost clean 
so I forced the device to go online and made an fsck. Everything looks 
ok, so no data loss. But surely this should not happen, right? Is there 
any way to check why? (I made an image of the cache device)

Kernel is  3.10.7; setup with "make-bcache -C -w 512 /dev/sdb2" and 
"make-bcache -B -w 512 /dev/sda2 --data-offset=2048"


Regards

Tobias

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

* Re: Error "unsupported bset version"
       [not found] ` <52189D62.7010603-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2013-08-26 22:10   ` Kent Overstreet
  0 siblings, 0 replies; 2+ messages in thread
From: Kent Overstreet @ 2013-08-26 22:10 UTC (permalink / raw)
  To: Tobias Reinhard; +Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA

On Sat, Aug 24, 2013 at 01:47:46PM +0200, Tobias Reinhard wrote:
> Hi all,
> 
> I'm running bcache to speed up my 4 TB HDD with a 64 GB partition on
> my SSD. After a reboot bcache didn't start automatically. So I
> stopped bcache, unloaded the module, reloaded it and tried to
> register the SSD and HDD again.
> 
> Registering the SSD gave me this error:
> error on f1e69e99-940d-447a-900e-4956bd607933: unsupported bset
> version at bucket 108098, block 0, 855650560 keys, disabling caching
> 
> The bcache was running in writeback mode but I think it was almost
> clean so I forced the device to go online and made an fsck.
> Everything looks ok, so no data loss. But surely this should not
> happen, right? Is there any way to check why? (I made an image of
> the cache device)

I think this was the result of a bug for which I accidentally didn't
mark the fix for stable - the fix was in 3.11

I just sent out a pull request to get it into 3.10, and in the meantime
I have a branch with all the relevant fixes on top of 3.10:

git://evilpiepirate.org/~kent/linux-bcache.git bcache-3.10-stable

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

end of thread, other threads:[~2013-08-26 22:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-24 11:47 Error "unsupported bset version" Tobias Reinhard
     [not found] ` <52189D62.7010603-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-08-26 22:10   ` Kent Overstreet

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