From nobody Sun Feb 23 08:42:35 2025 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 4Z0y6h0M5Dz5pn64 for ; Sun, 23 Feb 2025 08:42:36 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Z0y6g3ywTz3vkN for ; Sun, 23 Feb 2025 08:42:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1740300155; 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=F8NbnkSHbaQh749WFj2TH1alOJzyle9XtAlZGmHAVlY=; b=mTMsIC+wp8DTtD8uYtfDn1UJdNqcxbmgXxZkCAQv6Bz/fYbgvXAlP66IDGGhOl3JS9CcdR 9jjiUp9G3dM7t2MDu92EXl7Q1rdcQR8l+Sz1ZvE4PowJtzSVL9ge6wBRuTMe6bx57yvMi4 Z8fKdf8y1H13kzq0HaB1Xe74n5vAug9cg0NuYFmxc1cmnlM8kq+NzF0tixCqFxp36GaDSD 0ZcYXaeUbftMXuZD2fv81/UsM7uxWwSD3CORUn+SxvIwp5+8R00g+G0PqN8QdmM0yvoJB3 T96CMpvGP+dPIGXkjS2BM8nsGzEWwDMoW6buUO3uKGzYrh1OgQTvxB7ba8l/2Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1740300155; a=rsa-sha256; cv=none; b=RcFcNotSVrrBD31CeEnTXat7r3D4dBp/X34KyCd1rFxGwHO+SoAOtWPi7FKkwZ4HMTKL2j TmWHRBInCDrzVuW+gF9i0AMiL8v4UhgLhubWjJrIDO2sWXmX6asvJsoFnSFjhAz11WT95P 0TVKKqQf9OMz1Z3bv1Qmaldk/p5tRTS1ZOtMIiIe9ctPR6NvGQ3zTwWn/Bp2/86p9orej1 Ln28KYYP7LhbmZWyonl/Pk8sU0MomF0TbBCrDaqmp8r06alxY8PFOxprEGpekB4E3e7U+w pOWmXYIx7FhSbQfTSt9qqqy3HuYjhXP5daXPyT57C+tFDJhuoMw+LBRGnt7Uxg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1740300155; 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=F8NbnkSHbaQh749WFj2TH1alOJzyle9XtAlZGmHAVlY=; b=iXrPUZzF4qoxzEbo3ej5WK8uuvFmntmTK1xRz/cGNV8E8pIqKHCbzoPIlxvh+jfyP4TZ/D k9oeOTUctsUq3WKORYl2pHejbWIf/HLgk4EgvrqG78e9kXMeFR6DhpU9G9t2yXVROiegkN 9kKCuyC4T9gNJsIy3cLcPxpoQW+PpBtPJMka6x5SVP9/fr1K8IrqbzYZh117Oe9PCpnMU3 +MYr/MBtGSZ9bk1gn5m40G8oUV4aJEfuEmtzCYuTvIjmRR3NI7il6y9g6m4b15+xXeJTxW Xf41yceax0GnctEuupixuKN9uumLnPmW0+vMi6CHizBvLOmPW+0BMP/gmdsB8A== 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 4Z0y6g3T6Mzn26 for ; Sun, 23 Feb 2025 08:42:35 +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 51N8gZcN074898 for ; Sun, 23 Feb 2025 08:42:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 51N8gZJ4074897 for bugs@FreeBSD.org; Sun, 23 Feb 2025 08:42:35 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 284978] zfs hangs importing pool Date: Sun, 23 Feb 2025 08:42:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bora.br@gmail.com 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-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284978 Bug ID: 284978 Summary: zfs hangs importing pool Product: Base System Version: 14.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: bora.br@gmail.com 1. I have pool created in Linux 2. Pool was several times imported into FreeBSD 14.1 with -R option 3. After hard-reset of FreeBSD 14.1 any attempt to import=20 zpool import zpool import thatpool resulting in ZFS hangs: this zpool call and any subsequent call to zpool or= zfs results in hang 4. I tried FreeBSD 14.1-p7 and FreeBSD 14.2-p1, the problem the same 5. core dump of FreeBSD 14.2 in the point of time after zpool import hangs available here: https://file.bbr.su/vmcore.rar 6. zpool import of this pool under linux (mint 22.1) works properly 7. zpool scrub reports no problems 8. pool properties under linux: $ sudo zdb -l /dev/sdc1 ------------------------------------ LABEL 0=20 ------------------------------------ version: 5000 name: 'vddb' state: 1 txg: 5751755 pool_guid: 3510027880733637932 errata: 0 hostid: 3026739494 hostname: 'bbr' top_guid: 10358742725710328746 guid: 10358742725710328746 vdev_children: 1 vdev_tree: type: 'disk' id: 0 guid: 10358742725710328746 path: '/dev/sdd1' devid: 'ata-ST4000DM000-1F2168_Z300W173-part1' phys_path: 'id1,enc@n3061686369656d30/type@0/slot@6/elmdesc@Slot_05= /p1' whole_disk: 1 metaslab_array: 259 metaslab_shift: 34 ashift: 12 asize: 3000600363008 is_log: 0 DTL: 398 create_txg: 4 features_for_read: com.delphix:hole_birth com.delphix:embedded_data labels =3D 0 1 2 3=20 $ sudo zpool import -R /mnt/1 vddb $ sudo zpool get all vddb NAME PROPERTY VALUE SOURCE vddb size 2.72T - vddb capacity 78% - vddb altroot /mnt/1 local vddb health ONLINE - vddb guid 3510027880733637932 - vddb version - default vddb bootfs - default vddb delegation on default vddb autoreplace off default vddb cachefile none local vddb failmode wait default vddb listsnapshots off default vddb autoexpand off default vddb dedupratio 1.00x - vddb free 611G - vddb allocated 2.12T - vddb readonly off - vddb ashift 12 local vddb comment - default vddb expandsize - - vddb freeing 0 - vddb fragmentation 1% - vddb leaked 0 - vddb multihost off default vddb checkpoint - - vddb load_guid 5959378565731041371 - vddb autotrim off default vddb compatibility off default vddb bcloneused 0 - vddb bclonesaved 0 - vddb bcloneratio 1.00x - vddb feature@async_destroy enabled local vddb feature@empty_bpobj active local vddb feature@lz4_compress active local vddb feature@multi_vdev_crash_dump enabled local vddb feature@spacemap_histogram active local vddb feature@enabled_txg active local vddb feature@hole_birth active local vddb feature@extensible_dataset active local vddb feature@embedded_data active local vddb feature@bookmarks enabled local vddb feature@filesystem_limits enabled local vddb feature@large_blocks enabled local vddb feature@large_dnode enabled local vddb feature@sha512 enabled local vddb feature@skein enabled local vddb feature@edonr enabled local vddb feature@userobj_accounting active local vddb feature@encryption enabled local vddb feature@project_quota active local vddb feature@device_removal enabled local vddb feature@obsolete_counts enabled local vddb feature@zpool_checkpoint enabled local vddb feature@spacemap_v2 active local vddb feature@allocation_classes enabled local vddb feature@resilver_defer enabled local vddb feature@bookmark_v2 enabled local vddb feature@redaction_bookmarks disabled local vddb feature@redacted_datasets disabled local vddb feature@bookmark_written disabled local vddb feature@log_spacemap disabled local vddb feature@livelist disabled local vddb feature@device_rebuild disabled local vddb feature@zstd_compress disabled local vddb feature@draid disabled local vddb feature@zilsaxattr disabled local vddb feature@head_errlog disabled local vddb feature@blake3 disabled local vddb feature@block_cloning disabled local vddb feature@vdev_zaps_v2 disabled local --=20 You are receiving this mail because: You are the assignee for the bug.=