Hello Jean-Denis, Friday, November 13, 2020, 10:58:56 PM, you wrote: > Hello Pavel, > Le 12/11/2020 a 21:59, Pavel Goran a ecrit : >> Hello Jean-Denis, >> >> See comments inline. >> >> Friday, November 13, 2020, 6:25:15 AM, you wrote: >> >>> Hi list, >> >>> I have a RAID1 Btrfs (on sdb and sdc) behind bcache (on nvme0n1p4): >> >> What's the cache mode? Writeback, writethrough, writearound? > Sorry I forgot that important information: mode was Writeback. >> You could try to detach the *cache* from the bcache devices, and then try to >> use the bcache devices as before; it should be possible and harmless, >> *unless* the cache mode is "writeback". If it's "writeback", things are more >> complicated, and I'll leave them to more experienced people around. > ok, as I have Writeback, I'll wait for further instructions. 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. You will want to try it *before* removing the faulty NVMe storage (which would obviously make the cache device inaccessible). >> IMPORANT: The kernel logs below indicate that bcache failed to do IO on the >> cache device. It could be a hardware problem with your NVMe device, so I >> suggest you look at its SMART, ASAP. > Yes, the nvme is having problem... I'll replace it ASAP. > Thanks for your reply Pavel, > Best regards, Pavel Goran