From: Jean-Denis Girard <jd.girard@sysnux.pf>
To: linux-bcache@vger.kernel.org
Subject: Re: bcache error -> btrfs unmountable
Date: Fri, 13 Nov 2020 06:54:50 -1000 [thread overview]
Message-ID: <romdor$11i3$1@ciao.gmane.io> (raw)
In-Reply-To: <1726375278.20201113231911@pvgoran.name>
Le 13/11/2020 à 06:19, Pavel Goran a écrit :
> First, you may want to check if there is any dirty data in the cache, by
> executing:
> cat /sys/block/bcache0/bcache/state
> cat /sys/block/bcache1/bcache/state
>
> If these return "clean", then you should be good to detach the cache.
I get "no cache", not sure why:
[jdg@tiare ~]$ cat /sys/block/bcache{0,1}/bcache/state
no cache
no cache
Here are the kernel logs concerning bcache:
[jdg@tiare ~]$ dmesg | grep bcache
[ 9.217610] bcache: bch_journal_replay() journal replay done, 0 keys
in 1 entries, seq 254637130
[ 9.219671] bcache: register_cache() registered cache device nvme0n1p4
[ 9.223512] bcache: register_bdev() registered backing device sdc
[ 9.226015] bcache: register_bdev() registered backing device sdb
[ 9.312796] BTRFS: device fsid c5b8386b-b81d-4473-9340-7b8a74fc3a3c
devid 2 transid 29647859 /dev/bcache1 scanned by systemd-udevd (314)
[ 9.314219] BTRFS: device fsid c5b8386b-b81d-4473-9340-7b8a74fc3a3c
devid 1 transid 29647859 /dev/bcache0 scanned by systemd-udevd (290)
That was after rebooting, and no trying to mount the broken Btrfs RAID1.
So, should I detach the cache?
Thanks for your assistance Pavel,
Best regards,
--
Jean-Denis Girard
SysNux Systèmes Linux en Polynésie française
https://www.sysnux.pf/ Tél: +689 40.50.10.40 / GSM: +689 87.797.527
next prev parent reply other threads:[~2020-11-13 16:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-12 23:25 bcache error -> btrfs unmountable Jean-Denis Girard
2020-11-13 7:59 ` Pavel Goran
2020-11-13 15:58 ` Jean-Denis Girard
2020-11-13 16:19 ` Re[2]: " Pavel Goran
2020-11-13 16:54 ` Jean-Denis Girard [this message]
2020-11-13 17:31 ` Pavel Goran
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='romdor$11i3$1@ciao.gmane.io' \
--to=jd.girard@sysnux.pf \
--cc=linux-bcache@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).