Re: bcache error -> btrfs unmountable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux