Reproduce the initial issue:

```
$ sudo arc_summary
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/sbin/arc_summary", line 986, in <module>
    main()
  File "/usr/sbin/arc_summary", line 937, in main
    kstats = get_kstats()
  File "/usr/sbin/arc_summary", line 431, in get_kstats
    result[section] = load_kstats(section)
  File "/usr/sbin/arc_summary", line 142, in load_kstats
    with open(path) as f:
FileNotFoundError: [Errno 2] No such file or directory: 
'/proc/spl/kstat/zfs/vdev_cache_stats'

Original exception was:
Traceback (most recent call last):
  File "/usr/sbin/arc_summary", line 986, in <module>
    main()
  File "/usr/sbin/arc_summary", line 937, in main
    kstats = get_kstats()
  File "/usr/sbin/arc_summary", line 431, in get_kstats
    result[section] = load_kstats(section)
  File "/usr/sbin/arc_summary", line 142, in load_kstats
    with open(path) as f:
FileNotFoundError: [Errno 2] No such file or directory: 
'/proc/spl/kstat/zfs/vdev_cache_stats'
```

Pull update from `jammy-proposed`:

```
The following packages will be upgraded:
   libnvpair3linux (2.1.5-1ubuntu6~22.04.5 => 2.1.5-1ubuntu6~22.04.6)
   libuutil3linux (2.1.5-1ubuntu6~22.04.5 => 2.1.5-1ubuntu6~22.04.6)
   libzfs4linux (2.1.5-1ubuntu6~22.04.5 => 2.1.5-1ubuntu6~22.04.6)
   libzpool5linux (2.1.5-1ubuntu6~22.04.5 => 2.1.5-1ubuntu6~22.04.6)
   zfsutils-linux (2.1.5-1ubuntu6~22.04.5 => 2.1.5-1ubuntu6~22.04.6)
5 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
Need to get 2,189 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
```

And it now works:

```
$ sudo arc_summary

------------------------------------------------------------------------
ZFS Subsystem Report                            Thu Jul 03 13:07:14 2025
Linux 6.8.0-60-generic                                  2.2.2-0ubuntu9.2
Machine: jupiter (x86_64)                               2.2.2-0ubuntu9.2

ARC status:                                                      HEALTHY
        Memory throttle count:                                         0

ARC size (current):                                    89.4 %    3.4 GiB
...
```

Thanks so I can confirm the verification-done-jammy tag :)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1980848

Title:
  arc_summary doesn't work with HWE kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1980848/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to