Closed
Description
System information
Type | Version/Name |
---|---|
Distribution Name | Ubuntu |
Distribution Version | 22.04 |
Kernel Version | 5.15.0-50-generic #56-Ubuntu SMP Tue Sep 20 13:23:26 UTC 2022 |
Architecture | x86_64 |
OpenZFS Version | zfs-2.1.2-1ubuntu3, zfs-kmod-2.1.4-0ubuntu0.1 |
Describe the problem you're observing
Commands zpool status
, zpool list
hang.
Describe how to reproduce the problem
Enter command. observe hang. zpool status
prints two pools. missing one. zpool list
hangs without any output.
Include any warning/errors/backtraces from the system logs
$ strace zpool status
...
openat(AT_FDCWD, "/proc/sys/kernel/spl/hostid", O_RDONLY|O_CLOEXEC) = 6
newfstatat(6, "", {st_mode=S_IFREG|0644, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(6, "a8fd681\n", 1024) = 8
close(6) = 0
write(1, " pool: backup_ext_1T\n", 22 pool: backup_ext_1T
) = 22
write(1, " state: ONLINE\n", 15 state: ONLINE
) = 15
newfstatat(AT_FDCWD, "/etc/localtime", {st_mode=S_IFREG|0644, st_size=114, ...}, 0) = 0
write(1, " scan: scrub paused since Mon O"..., 52 scan: scrub paused since Mon Oct 24 05:06:31 2022
) = 52
newfstatat(AT_FDCWD, "/etc/localtime", {st_mode=S_IFREG|0644, st_size=114, ...}, 0) = 0
write(1, "\tscrub started on Mon Oct 24 00:"..., 43 scrub started on Mon Oct 24 00:00:30 2022
) = 43
write(1, "\t556G scanned, 393G issued, 821G"..., 39 556G scanned, 393G issued, 821G total
) = 39
write(1, "\t0B repaired, 47.86% done\n", 26 0B repaired, 47.86% done
) = 26
write(1, "config:\n\n", 9config:
) = 9
write(1, "\tNAME "..., 78 NAME STATE READ WRITE CKSUM
) = 78
write(1, "\tbackup_ext_1T "..., 78 backup_ext_1T ONLINE 0 0 0
) = 78
write(1, "\t usb-Intenso_External_USB_3.0_"..., 78 usb-Intenso_External_USB_3.0_201208141013D-0:0 ONLINE 0 0 0
) = 78
write(1, "\n", 1
) = 1
write(1, "errors: No known data errors\n", 29errors: No known data errors
) = 29
ioctl(3, ZFS_IOC_POOL_GET_PROPS
and it hangs there. Descriptor 3 is: openat(AT_FDCWD, "/dev/zfs", O_RDWR|O_EXCL|O_CLOEXEC) = 3
$ strace zpool list
...
newfstatat(AT_FDCWD, "/sys/module/zfs/features.pool/org.openzfs:device_rebuild", {st_mode=S_IFDIR|0755, st_size=0, ...}, 0) = 0
newfstatat(AT_FDCWD, "/sys/module/zfs/features.pool/org.freebsd:zstd_compress", {st_mode=S_IFDIR|0755, st_size=0, ...}, 0) = 0
newfstatat(AT_FDCWD, "/sys/module/zfs/features.pool/org.openzfs:draid", {st_mode=S_IFDIR|0755, st_size=0, ...}, 0) = 0
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5d0cba5000
ioctl(3, ZFS_IOC_POOL_CONFIGS, 0x7ffd34066260) = 0
munmap(0x7f5d0cba5000, 266240) = 0
ioctl(3, ZFS_IOC_POOL_STATS, 0x7ffd34066210) = 0
brk(0x55fc890b4000) = 0x55fc890b4000
brk(0x55fc890f6000) = 0x55fc890f6000
ioctl(3, ZFS_IOC_POOL_GET_PROPS, 0x7ffd34065140) = 0
ioctl(3, ZFS_IOC_POOL_STATS, 0x7ffd34066210) = 0
ioctl(3, ZFS_IOC_POOL_GET_PROPS, 0x7ffd34065140) = 0
ioctl(3, ZFS_IOC_POOL_STATS, 0x7ffd34066210) = 0
ioctl(3, ZFS_IOC_POOL_GET_PROPS
Descriptor 3 is: openat(AT_FDCWD, "/dev/zfs", O_RDWR|O_EXCL|O_CLOEXEC) = 3
Activity