All of lore.kernel.org
 help / color / mirror / Atom feed
* Bcache (device?) failure
@ 2013-01-25 16:30 David H. Rhodes Clymer
       [not found] ` <1359131422.8441.0.camel-BhfXqN+OCyH0JUkrLwYuUYegIDNd2VA9XqFh9Ls21Oc@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: David H. Rhodes Clymer @ 2013-01-25 16:30 UTC (permalink / raw)
  To: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

Speaking of bcache integrity...This morning, bcache started indicating
that it was encountering errors writing to the drive. 

For some stupid reason, I rebooted, and on boot, it cannot find the
volume group (I was running LVM on bcache) that my root fs is on,
finally dropping to the initramfs shell.

I then find that attempting to register my bcache component devices
fails:

(initramfs) echo /dev/sdb1 > /sys/fs/bcache/register
sh: write error: invalid argument
(initramfs) ls /sys/fs/bcache/
register         register_quiet

This happens for both the cache device and the backing store. I realize
that collecting information prior to a reboot would have been much more
useful...sorry. 

Is there any simple reason why I would be seeing this behavior? I assume
that either both devices are corrupt, and no longer seen as bcache
formatted devices. Does that seem likely?

-davidc

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

* Re: Bcache (device?) failure
       [not found] ` <1359131422.8441.0.camel-BhfXqN+OCyH0JUkrLwYuUYegIDNd2VA9XqFh9Ls21Oc@public.gmane.org>
@ 2013-01-29 19:11   ` Kent Overstreet
  0 siblings, 0 replies; 2+ messages in thread
From: Kent Overstreet @ 2013-01-29 19:11 UTC (permalink / raw)
  To: David H. Rhodes Clymer
  Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

On Fri, Jan 25, 2013 at 11:30:22AM -0500, David H. Rhodes Clymer wrote:
> Speaking of bcache integrity...This morning, bcache started indicating
> that it was encountering errors writing to the drive. 
> 
> For some stupid reason, I rebooted, and on boot, it cannot find the
> volume group (I was running LVM on bcache) that my root fs is on,
> finally dropping to the initramfs shell.
> 
> I then find that attempting to register my bcache component devices
> fails:
> 
> (initramfs) echo /dev/sdb1 > /sys/fs/bcache/register
> sh: write error: invalid argument
> (initramfs) ls /sys/fs/bcache/
> register         register_quiet
> 
> This happens for both the cache device and the backing store. I realize
> that collecting information prior to a reboot would have been much more
> useful...sorry. 
> 
> Is there any simple reason why I would be seeing this behavior? I assume
> that either both devices are corrupt, and no longer seen as bcache
> formatted devices. Does that seem likely?

Yeah... you'd have to check the dmesg log to be sure, but the most
likely cause for that is bcache isn't finding a bcache superblock :/

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

end of thread, other threads:[~2013-01-29 19:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-25 16:30 Bcache (device?) failure David H. Rhodes Clymer
     [not found] ` <1359131422.8441.0.camel-BhfXqN+OCyH0JUkrLwYuUYegIDNd2VA9XqFh9Ls21Oc@public.gmane.org>
2013-01-29 19:11   ` Kent Overstreet

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.