Proxmox 8 / ZFS 2.2 Bug?

Mrt12

Well-Known Member
May 19, 2019
150
19
58
45
CH
Good day,
I have recently installed the latest updates on my Proxmox 8 Server which updated ZFS to version 2.2 as follows

Code:
zfs-2.2.0-pve3
zfs-kmod-2.1.13-pve1

and now, when I run either one of arc_summary or arcstat, I get loads of errors, as shown below. I believe this is a bug, but I am not sure how to fix, as I believe arc_summary and arcstat are parts of ZFS, but on the other hand, I think the ZFS update came through the Proxmox update. Also I am unsure how to fix. Any hints?


Code:
# arc_summary

------------------------------------------------------------------------
ZFS Subsystem Report                            Tue Nov 21 08:25:46 2023
Linux 6.2.16-19-pve                                          2.1.13-pve1
Machine: pve1 (x86_64)                                       2.1.13-pve1

ARC status:                                                      HEALTHY
        Memory throttle count:                                         0

Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/sbin/arc_summary", line 1034, in <module>
    main()
  File "/usr/sbin/arc_summary", line 1028, in main
    section_calls[section](kstats)
  File "/usr/sbin/arc_summary", line 554, in section_arc
    meta = arc_stats['meta']
           ~~~~~~~~~^^^^^^^^
KeyError: 'meta'

Original exception was:
Traceback (most recent call last):
  File "/usr/sbin/arc_summary", line 1034, in <module>
    main()
  File "/usr/sbin/arc_summary", line 1028, in main
    section_calls[section](kstats)
  File "/usr/sbin/arc_summary", line 554, in section_arc
    meta = arc_stats['meta']
           ~~~~~~~~~^^^^^^^^
KeyError: 'meta'

Code:
# arcstat
    time  read  ddread  ddh%  dmread  dmh%  pread  ph%   size      c  avail
Traceback (most recent call last):
  File "/usr/sbin/arcstat", line 637, in <module>
    main()
  File "/usr/sbin/arcstat", line 621, in main
    calculate()
  File "/usr/sbin/arcstat", line 481, in calculate
    v["iohs"] = d["iohits"] // sint
                ~^^^^^^^^^^
KeyError: 'iohits'
 
  • Like
Reactions: amstel
Good day,
I have recently installed the latest updates on my Proxmox 8 Server which updated ZFS to version 2.2 as follows

Code:
zfs-2.2.0-pve3
zfs-kmod-2.1.13-pve1
Please see this thread: https://forum.proxmox.com/threads/o...le-on-test-no-subscription.135635/post-607063
and now, when I run either one of arc_summary or arcstat, I get loads of errors, as shown below. I believe this is a bug, but I am not sure how to fix, as I believe arc_summary and arcstat are parts of ZFS, but on the other hand, I think the ZFS update came through the Proxmox update. Also I am unsure how to fix. Any hints?
Please see this thread for a work-around: https://forum.proxmox.com/threads/i...ls-linux-stable-2-2-0-pve3.136686/post-606500 (arc_summary -r).