Skip to content

zpool iostat reporting 16E free on a ~266G l2arc device #10224

Closed
@adamdmoss

Description

@adamdmoss

System information

Type Version/Name
Distribution Name ubuntu
Distribution Version 18.04
Linux Kernel Linux version 5.3.0-46-generic (buildd@lcy01-amd64-013) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu118.04)) #3818.04.1-Ubuntu SMP Tue Mar 31 04:17:56 UTC 2020
Architecture x64
ZFS Version HEAD (c614fd6) + #9789
SPL Version HEAD (c614fd6) + #9789

Describe the problem you're observing

My ~266G l2arc cache device is fully utilized and now it's started reporting that it has 16E free when really it has approximately 0 space free. Hopefully this is a cosmetic issue rather than a fundamental accounting error. :)

I've seen l2arc capacity report errors like this in the past though not for a long time. But then, I rarely completely fill my l2arc.

I'm using HEAD + #9789 ; I don't imagine that #9789 has broken accounting but I mention it since it's related to l2arc.

% zpool iostat -v
                                          capacity     operations     bandwidth 
pool                                    alloc   free   read  write   read  write
--------------------------------------  -----  -----  -----  -----  -----  -----
...
--------------------------------------  -----  -----  -----  -----  -----  -----
zfs4-on-8tbgold                         3.34T  3.92T     16      5  13.0M  1001K
  ata-WDC_WD8004FRYZ-01VAEB0_VAKDG3ML   3.34T  3.92T     16      5  13.0M  1001K
cache                                       -      -      -      -      -      -
  nvme0n1p4                              266G  16.0E    125      9   117M  7.85M
--------------------------------------  -----  -----  -----  -----  -----  -----

Describe how to reproduce the problem

Not sure - perhaps just filling a resonably large l2arc.

Include any warning/errors/backtraces from the system logs

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: DefectIncorrect behavior (e.g. crash, hang)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions