Received: from fhigh-a2-smtp.messagingengine.com (fhigh-a2-smtp.messagingengine.com [103.168.172.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0901928E7; Sun, 7 Sep 2025 00:02:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.153 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757203361; cv=none; b=GXs9bxiqr6FnQ+MKJx/SCjHXr04T2qn+dZoKPwikQiArV9Uh+JmMHpKSZMongCelqwgGJ/4NvZNrs53bqY33rg4l600fSPNBysR8Q17LuDBjHlI6mk9W6FHH2uHDDJhIdUGfZe9bMy0J2o0J6ePIve5C60B0weji6J1T1w2RZaQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757203361; c=relaxed/simple; bh=m2C39utGeSIjhO+u/pw1ybkJdZRkx3DlFtqGTKKJB7Y=; h=MIME-Version:Date:From:To:Cc:Message-Id:Subject:Content-Type; b=jTfAoaK+Ci44drvB83/aScYIk3hD4Ms+u7IVuMmgCGT+twitbgj4R749lSmISWaVC/5ZhuDa3h8IhIQ1aSYDoN9BzWfZdaUQ2Uz1HU2G3n2m+aIrygtDuChGLiJjZblWFHhqbJBq20KDyxGF6XZm12Jke7XV9+XXeNiID/YTFDw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=colorremedies.com; spf=pass smtp.mailfrom=colorremedies.com; dkim=pass (2048-bit key) header.d=colorremedies.com header.i=@colorremedies.com header.b=ANf1U2hM; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=hT3F9hVP; arc=none smtp.client-ip=103.168.172.153 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=colorremedies.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=colorremedies.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=colorremedies.com header.i=@colorremedies.com header.b="ANf1U2hM"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="hT3F9hVP" Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfhigh.phl.internal (Postfix) with ESMTP id 0C3E61400045; Sat, 6 Sep 2025 20:02:38 -0400 (EDT) Received: from phl-imap-01 ([10.202.2.91]) by phl-compute-04.internal (MEProxy); Sat, 06 Sep 2025 20:02:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= colorremedies.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm1; t=1757203358; x=1757289758; bh=FtuRzLCULGUQ93vPFbWETTnax8WUYLwb sIz9czNrpHU=; b=ANf1U2hMEpk8LsR/5iWUt+cvKr1oBPh8G9lkAqk26OWHgg+V YTYuIA3of0GafTgJraWX1P8mdv9p/QhMP8ENljMpf6YLvhdruCVbj9AsgnvYHUJK w0X28wGOJUOs8xgaHxlbz8U1aNdNfYdiyk3oAq+sCA41J1Rag2+4Lo722osem8Zp 101qVCb17hSBNYgfEz29kHMI+13DPY6e0UULiQwxNMpKlHFRa+3k2zYh/h+pNEK4 y6q2WHY+3Ke5BA3tUB1PQZo3XTSi7OzbJ9yKWssv/w6nLiY41LNKmX1VOxsoNKNP vo8hk4D+dmwCpanCgQK/k1cB9twg02C78t3KzA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1757203358; x=1757289758; bh=FtuRzLCULGUQ93vPFbWETTnax8WU YLwbsIz9czNrpHU=; b=hT3F9hVPsoJto7EgcpgbYCLDhPYvqDAQ0S3LzrzZvx7N P6XRjMWo3Z9IsQyuqvFI++1or+50utHeCMAws0wUuLvQiWEPO0FLj3MYIXNofwjP 6SScrood1z8Ue9hkTv29PQR3dzsJuVzxf+zdCl6qNGZRAaBg/eef/MWI+BFLPsGe GbyRAvVxebMxne17PjK6IIfAiiV49Q56bfqkLnLlY1f1EQATvk9Mde8y0/qHl86n Zgp5fl9TfDqZMB6e5Y5F4qvl3slBBN69fFhAOT3MAMpUlDbeU1iWZmFRZnwxGWOw VVjS4tNkBc+MgUmSraLoaxdGyOZJcUP6rKyy3OGkQA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddufeduiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefoggffhffvvefkufgtgfesthejredtredttdenucfhrhhomhepfdevhhhrihhsucfo uhhrphhhhidfuceolhhishhtshestgholhhorhhrvghmvgguihgvshdrtghomheqnecugg ftrfgrthhtvghrnhepgfehjeejledvgeefgfettedtjeeuieeujeevudefjeevtedvfffg vedulefftddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homheplhhishhtshestgholhhorhhrvghmvgguihgvshdrtghomhdpnhgspghrtghpthht ohephedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepthgvrhhrvghllhhnsehfsg drtghomhdprhgtphhtthhopegsrhgruhhnvghrsehkvghrnhgvlhdrohhrghdprhgtphht thhopegushhtvghrsggrsehsuhhsvgdrtghomhdprhgtphhtthhopehlihhnuhigqdgsth hrfhhssehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqfhhs uggvvhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrgh X-ME-Proxy: Feedback-ID: i06494636:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 8717418C0068; Sat, 6 Sep 2025 20:02:37 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk X-Mailing-List: linux-btrfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Date: Sat, 06 Sep 2025 20:01:59 -0400 From: "Chris Murphy" To: "Btrfs BTRFS" Cc: brauner@kernel.org, dsterba@suse.com, terrelln@fb.com, "Linux Devel" Message-Id: Subject: regression, btrfs mount failure when multiple rescue mount options used Content-Type: text/plain Content-Transfer-Encoding: 7bit kernel with mount failures: 6.17.0-0.rc4.36.fc43.x86_64 6.16.4-200.fc42.x86_64 6.15.11-200.fc42.x86_64 # mount -o ro,rescue=usebackuproot,nologreplay,ibadroots /dev/loop0 /mnt mount: /mnt: fsconfig system call failed: btrfs: Unknown parameter 'nologreplay'. dmesg(1) may have more information after failed mount system call. # mount -o ro,rescue=usebackuproot /dev/loop0 /mnt # umount /mnt # mount -o ro,rescue=usebackuproot,ibadroots /dev/loop0 /mnt # mount: /mnt: fsconfig system call failed: btrfs: Unknown parameter 'ibadroots'. dmesg(1) may have more information after failed mount system call. # mount -o ro,rescue=ibadroots /dev/loop0 /mnt # There are no kernel messages for the failures. Looks like single rescue options work, but multiple rescue options separated by comma fail. Any rescue option after the first comma, results in an fsconfig complaint. Since it looks like fsconfig migration fallout, I'll cc some additional folks, and fs-devel. --- I get different results with kernel 6.14.11-300.fc42.x86_64 but I think some of the bugs are fixed in later kernels hence the different behavior. And in any case it's EOL so I won't test any further back than this kernel. # mount -o ro,rescue=usebackuproot,nologreplay,ibadroots /dev/loop0 /mnt mount: /mnt: fsconfig system call failed: btrfs: Unknown parameter 'ibadroots'. dmesg(1) may have more information after failed mount system call. Notice the complaint is about ibadroots, not nologreplay. And there is a kernel message this time. Sep 06 19:44:38 fnuc.local kernel: BTRFS warning: 'nologreplay' is deprecated, use 'rescue=nologreplay' instead But there's more. All of these commands result in mount succeeded, but kernel messages don't indicate they were used. # mount -o ro,rescue=ibadroots /dev/loop0 /mnt # umount /mnt # mount -o ro,rescue=usebackuproot /dev/loop0 /mnt # umount /mnt # mount -o ro,rescue=nologreplay /dev/loop0 /mnt This one has yet another different outcome, I don't know why. # mount -o ro,rescue=idatacsum /dev/loop0 /mnt mount: /mnt: fsconfig system call failed: btrfs: Bad value for 'rescue'. dmesg(1) may have more information after failed mount system call. -- Chris Murphy