From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=3.0 tests=BAYES_00,FORGED_MUA_MOZILLA, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC7F4C388F7 for ; Fri, 13 Nov 2020 15:59:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AF26320759 for ; Fri, 13 Nov 2020 15:59:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726621AbgKMP7E (ORCPT ); Fri, 13 Nov 2020 10:59:04 -0500 Received: from static.214.254.202.116.clients.your-server.de ([116.202.254.214]:42012 "EHLO ciao.gmane.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726614AbgKMP7E (ORCPT ); Fri, 13 Nov 2020 10:59:04 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kdbTa-00044q-2V for linux-bcache@vger.kernel.org; Fri, 13 Nov 2020 16:59:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: linux-bcache@vger.kernel.org From: Jean-Denis Girard Subject: Re: bcache error -> btrfs unmountable Date: Fri, 13 Nov 2020 05:58:56 -1000 Message-ID: References: <1854634128.20201113145913@pvgoran.name> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 In-Reply-To: <1854634128.20201113145913@pvgoran.name> Content-Language: fr Precedence: bulk List-ID: X-Mailing-List: linux-bcache@vger.kernel.org Hello Pavel, Le 12/11/2020 à 21:59, Pavel Goran a écrit : > 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. > 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, -- 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