Proxmox 8 / ZFS 2.2 Bug?

Mrt12

Active Member
May 19, 2019
97
8
28
44
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).
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!