Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2625908rdb; Mon, 4 Dec 2023 03:04:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IGqXgOgrjTmv/b6II92H9itsAlUoQDS0j+j/qxEnFO3EmPH7KnRSqeOZqO61K2pTMkCFBlT X-Received: by 2002:a05:6a00:8d94:b0:6cd:eda8:258a with SMTP id im20-20020a056a008d9400b006cdeda8258amr4367669pfb.27.1701687893777; Mon, 04 Dec 2023 03:04:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701687893; cv=none; d=google.com; s=arc-20160816; b=z+MZ8O50VZPj4qQoJBgko68nmEPsrOTdZA4bCpLlzq4DMqopPe2obwoFunwD22aXuP P1oA/tJuAVm+Tvmjg/bhSt97HxmLUK/pTnmpX0nM9FhmCaDnTtho3rjXFf8dN1Qdxj51 vpYSM3EWwRLstk+WHtNEGtEGXcMPN08PTvMR3WmQMEmZSLtjJwdH5hRaivDw1yCbaKJC qnWR7hDhBF8vAZ9ubo3AvKWzIMe+CQwWEUQdlsPEhxSHh96f/K4MRltXn18mY1q2eeOU uGZP+ShyHEcb0Y1EzgNkxMFZTcpT6G66BVhcwiAavoYqkAUAc4/w3J55mWZSMJMgSKDF xZww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id; bh=I0nuY1FpFH13c+zH1noBsa4NciWC3FtVjC1AT5BdYDs=; fh=NXoDCe4+8jp4xNID4WLMEr+0CSLINCQW5Oj+dGeNPvg=; b=F15HbcjsUUlGdk0SGtPHQSt5JjPsa61DQ8kmYq2mWYX4JjQJcJcGJj1PtgHqbZ/Yy+ mlQ5xKyz8FifYFVfWPDnXw58CRGS/VrZ5W+ybAAUs3KekJmh4Jp8wwqcDrABLZS1Z/i3 enQA2wAA7RiyiRwbelX/cdOWdGD/deL05zzQREFLUSuJc57xpf0VzpmnGAvvVk0r/ki8 hEF3hsPTXbqxdnLsAfRE10G0h73dAZcAPNRZqwCE05ty3ZUlC8Z2HS7yVfXcF3O8Vqzt xmySSjIO8f9QyUKWojdpZZ8rYs0N+ganNBc1cozMtMfLqxq6jy0FTHg2r8WGtUczaBAO 5ghQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id fi5-20020a056a00398500b006cb6cc056f8si7790499pfb.334.2023.12.04.03.04.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 03:04:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 3C292805D6FE; Mon, 4 Dec 2023 03:04:49 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230312AbjLDLE3 (ORCPT + 99 others); Mon, 4 Dec 2023 06:04:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229848AbjLDLE3 (ORCPT ); Mon, 4 Dec 2023 06:04:29 -0500 Received: from mx3.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC09AC0; Mon, 4 Dec 2023 03:04:34 -0800 (PST) Received: from [192.168.1.123] (ip5b4280bd.dynamic.kabel-deutschland.de [91.66.128.189]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: buczek) by mx.molgen.mpg.de (Postfix) with ESMTPSA id CE56761E646C3; Mon, 4 Dec 2023 12:03:26 +0100 (CET) Message-ID: <5cc5076e-3a85-48e2-b75f-a3d1021f531e@molgen.mpg.de> Date: Mon, 4 Dec 2023 12:03:26 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: Kent Overstreet , Brian Foster , linux-bcachefs@vger.kernel.org, Linux Kernel Mailing List Cc: Stefan Krueger From: Donald Buczek Subject: [bcachefs] [bug]: missing subvolume 0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 04 Dec 2023 03:04:49 -0800 (PST) Reporting to maintainer.pl list, hope that's correct? Probably, this is a trivial one: Linux 6.7.0-rc4. buczek@dose:~$ sudo bcachefs format /dev/vdb External UUID: d5181483-dc0c-4781-a266-ef830fa3c099 Internal UUID: d96e4b19-43f3-4a5b-bc5c-3fe2b726b1ef [...] buczek@dose:~$ sudo bcachefs mount /dev/vdb /mnt buczek@dose:~$ sudo chmod a=rwxt /mnt buczek@dose:~$ mkdir /mnt/d buczek@dose:~$ bcachefs subvolume snapshot /mnt/d/snp1 BCH_IOCTL_SUBVOLUME_CREATE ioctl error: No such file or directory buczek@dose:~$ dmesg|tail -10 [ 7477.587299] bcachefs (vdb): mounting version 1.3: rebalance_work [ 7477.589134] bcachefs (vdb): recovering from clean shutdown, journal seq 14 [ 7477.608861] bcachefs (vdb): alloc_read... done [ 7477.610525] bcachefs (vdb): stripes_read... done [ 7477.612037] bcachefs (vdb): snapshots_read... done [ 7477.644331] bcachefs (vdb): journal_replay... done [ 7477.645940] bcachefs (vdb): resume_logged_ops... done [ 7477.650087] bcachefs (vdb): going read-write [ 7514.113568] bcachefs (vdb): missing subvolume 0 [ 7514.115121] bcachefs (vdb): inconsistency detected - emergency read only buczek@dose:~$ Best Donald -- Donald Buczek buczek@molgen.mpg.de Tel: +49 30 8413 1433