[Bug 284978] zfs hangs importing pool
Date: Sun, 23 Feb 2025 08:42:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284978
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
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
------------------------------------
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 = 0 1 2 3
$ 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
--
You are receiving this mail because:
You are the assignee for the bug.