From nobody Sat Apr 23 22:03:01 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4B688199CE74 for ; Sat, 23 Apr 2022 22:03:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Km4ys6wZRz4vRr for ; Sat, 23 Apr 2022 22:03:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CDFDA1A2BC for ; Sat, 23 Apr 2022 22:03:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 23NM31FX098427 for ; Sat, 23 Apr 2022 22:03:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23NM318i098426 for bugs@FreeBSD.org; Sat, 23 Apr 2022 22:03:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 263501] zdb failure: zdb failed to hold dataset 'tank/ROOT/default': No such file or directory Date: Sat, 23 Apr 2022 22:03:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mason@blisses.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650751382; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=q+VdgJ3R9AYPwVAb8XxPx42uIFNMxNZuNGhIB/LVw/g=; b=orXoeDrvSOc9NbZE6pI8Lcp7BY+2TuKHfTNq4pvrci3SoyblIq8cTP/JDqSf+hgbLZ8I/7 LRrTjlbWDVVtR6ljhCr7/Ryqt1wFmZa1QXRaNbSWoDpW0Hev0bsN35RjxGMEy/PPliK88b k1FkGDP9G1wqFITN7Bnb2a5or/+OfjJzN/SBNn76GvX2DL8uPIXB6OlnpmlWTJRDzzb8VI 2C1AqxPKb1uPGvmlGNouRrdMvfM2IEFxf6HyuF29QiT3jVXrTAephospiR7FyQBO8ji+sc 3vIW54CyX9/SGRP6yY1k5Rr0g8J1igr7T2/3ppOcLOWnl3v+ZpPU80V8lsEaCQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650751382; a=rsa-sha256; cv=none; b=BuZ3itr3YnVuq6RnmcuNcxA2siLGlOky1idUVkjQoIJo08zJgkq/gRAALg36DfIbzqOspF GpfcMx8q7mVpNeOje/w75RC7Dcub3UJXSwDP11xu5FnhSwrZjYXWkb/KD19GA4y+/L7Nqf Wj08I1PvhcUjFo6RBFxZ3HxBbRBVqvDISC9S7E1E9o4veExZlsZjuaDbUV/6my/qIoqmhu wH8Gl3hAK05b5GmqzcIR2155a0ETBt/3HiXwJV3pZV2xDODx1UE8yVUAh/DVZITd/Kc/fJ rrLNMd2PBX6cmgwoh0KakKe/k2IRWw7dDTmX3fU/NCxolR71Ro7unv2zESfbxg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263501 Bug ID: 263501 Summary: zdb failure: zdb failed to hold dataset 'tank/ROOT/default': No such file or directory Product: Base System Version: 13.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: mason@blisses.org In BZ#263407 it seems that the bootloader struggles to deal with files with holes immediately after them. In that bug's comments, kevans noted zdb=20 output that displays the properties of affected and unaffected files, doing something like this: # zdb -vvvvvvO tank/ROOT/default boot/kernel/geom_eli.ko Unfortunately, while this works for OpenZFS built for Debian, on FreeBSD 13.0, and on FreeBSD 12, I'm finding that it consistently fails on 13.1=20 installs, giving me this message: zdb failed to hold dataset 'tank/ROOT/default': No such file or directo= ry My immediate concern is that 13.1-RC4 doesn't display the bad behaviour=20 from the original bug, so testing a fix will involve contructing a file to match the problematic pattern, using posix-fallocate or or ftruncate or=20 somesuch. However, without being able to use zdb, it'll be significantly more difficult to verify that the file(s) in question match the pattern or not. --=20 You are receiving this mail because: You are the assignee for the bug.=