openzfs / zfs

OpenZFS on Linux and FreeBSD
https://openzfs.github.io/openzfs-docs
Other
10.34k stars 1.72k forks source link

zpool_influxdb returns "error: can't get vdev_rebuild_active_queue" #15770

Open glorboblorb opened 6 months ago

glorboblorb commented 6 months ago

System information

Type Version/Name
Distribution Name Debian
Distribution Version 12.4
Kernel Version 6.1.0-17-amd64
Architecture x86_64
OpenZFS Version zfs-2.2.2-pve1 zfs-kmod-2.1.11-1

Describe the problem you're observing

The command zpool_influxdb outputs an error stating that it can't get information on vdev_rebuild_active_queue

Describe how to reproduce the problem

Execute the command zpool_influxdb with or without options.

Include any warning/errors/backtraces from the system logs

root@storage:~# zpool_influxdb
zpool_stats,name=tank0,state=ONLINE,vdev=root alloc=9843404525568u,free=10153963204608u,size=19997367730176u,read_bytes=135539433472u,read_errors=0u,read_ops=3256905u,write_bytes=6140293120u,write_errors=0u,write_ops=359294u,checksum_errors=0u,fragmentation=0u 1705110187887681697
zpool_stats,name=tank0,state=ONLINE,vdev=root/raidz-0 alloc=9843404525568u,free=10153963204608u,size=19997367730176u,read_bytes=135539433472u,read_errors=0u,read_ops=3256905u,write_bytes=6140293120u,write_errors=0u,write_ops=359294u,checksum_errors=0u,fragmentation=2u 1705110187887681697
zpool_stats,name=tank0,state=ONLINE,path=/dev/sdb1,vdev=root/raidz-0/disk-0 alloc=0u,free=0u,size=0u,read_bytes=27102310400u,read_errors=0u,read_ops=651292u,write_bytes=1228431360u,write_errors=0u,write_ops=71874u,checksum_errors=0u,fragmentation=0u 1705110187887681697
zpool_stats,name=tank0,state=ONLINE,path=/dev/sdc1,vdev=root/raidz-0/disk-1 alloc=0u,free=0u,size=0u,read_bytes=27117289472u,read_errors=0u,read_ops=651457u,write_bytes=1228308480u,write_errors=0u,write_ops=71944u,checksum_errors=0u,fragmentation=0u 1705110187887681697
zpool_stats,name=tank0,state=ONLINE,path=/dev/sdf1,vdev=root/raidz-0/disk-2 alloc=0u,free=0u,size=0u,read_bytes=27122233344u,read_errors=0u,read_ops=652282u,write_bytes=1228009472u,write_errors=0u,write_ops=72067u,checksum_errors=0u,fragmentation=0u 1705110187887681697
zpool_stats,name=tank0,state=ONLINE,path=/dev/sdd1,vdev=root/raidz-0/disk-3 alloc=0u,free=0u,size=0u,read_bytes=27103789056u,read_errors=0u,read_ops=650953u,write_bytes=1227714560u,write_errors=0u,write_ops=71576u,checksum_errors=0u,fragmentation=0u 1705110187887681697
zpool_stats,name=tank0,state=ONLINE,path=/dev/sde1,vdev=root/raidz-0/disk-4 alloc=0u,free=0u,size=0u,read_bytes=27093811200u,read_errors=0u,read_ops=650921u,write_bytes=1227829248u,write_errors=0u,write_ops=71833u,checksum_errors=0u,fragmentation=0u 1705110187887681697
error: can't get vdev_rebuild_active_queue
zpool_vdev_stats,name=tank0,vdev=root sync_r_active_queue=0u,sync_w_active_queue=0u,async_r_active_queue=0u,async_w_active_queue=0u,async_scrub_active_queue=0uroot@storage:~#
ethnt commented 5 months ago

I'm also having the same issue under NixOS unstable on x86_64. ZFS version zfs-2.2.2-1 and kernel version 6.1.52.