From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nix Subject: Re: ont out of 6 bcache devices does not register automatically Date: Tue, 12 Dec 2017 15:38:57 +0000 Message-ID: <87tvwwklbi.fsf@esperi.org.uk> References: <3ebfa7f8-cef6-ca8f-a56f-14a6bafd5bc6@profihost.ag> <73e9184b-c74b-fe92-bb87-a0b945931187@lyle.org> <91e9b95d-861e-13bb-2b61-5c010657c2af@profihost.ag> <864cbf6d-7e8d-7dd4-7417-3150fe019fd8@lyle.org> <3fde77da-e12f-7862-f3c5-2a3dad316b86@profihost.ag> <0387447a-cce1-4162-3458-03193e146732@lyle.org> <0ab9bd3f-f2ea-04d7-1416-941b3d93d410@profihost.ag> <03029ee8-2856-19a3-a44d-8fbdc3f27da4@profihost.ag> <1855331d-a606-58fd-2649-67203ddee8b5@profihost.ag> <87a7z21o2f.fsf@esperi.org.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from icebox.esperi.org.uk ([81.187.191.129]:37980 "EHLO mail.esperi.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752111AbdLLPju (ORCPT ); Tue, 12 Dec 2017 10:39:50 -0500 In-Reply-To: (Michael Lyle's message of "Sun, 10 Dec 2017 11:36:17 -0800") Sender: linux-bcache-owner@vger.kernel.org List-Id: linux-bcache@vger.kernel.org To: Michael Lyle Cc: Stefan Priebe - Profihost AG , Coly Li , "linux-bcache@vger.kernel.org" , n.fahldieck@profihost.ag On 10 Dec 2017, Michael Lyle spake thusly: > On 12/10/2017 11:34 AM, Stefan Priebe - Profihost AG wrote: >> >> Am 01.12.2017 um 16:10 schrieb Nix: >>> bcache can be stacked underneath filesystems via loopback mounts. Heck >>> you can have a RAID->bcache->LVM->cryptfs->loopback->RAID->bcache stack >>> if you like (I've done that, though the loopback layers and below were >>> only for testing.) >> >> mhm but that means bcache can't be autoregistered in a solid way. Sad to >> here that. > > These problems aren't anything specific to bcache. Quite. If you have a crazy stack like that you have to register by hand at the appropriate time. bcache has uuids, so you should be able to just try to register everything accessible at each stage, and things will come together nicely. -- NULL && (void)