Skip to content

Storage: a ZFS pool that was never checked reads "Last check: none requested" instead of "Never checked for errors" #472

Closed

Description

@nixfred

What happens

For a ZFS pool, pools() in omarchyd/storage.mjs (line 161) and the pools verb in connector/helper.py (about line 798) turn the scan: line of zpool status into a scrub state:

scrub: {state: /in progress/.test(z.scan) ? 'running' : z.scan ? 'finished' : 'never', ...summary: z.scan}

A pool that has never been scrubbed reports scan: none requested, which is a non-empty string, so its state becomes finished, and the Storage page prints the raw status text (web/src/screens/Storage.tsx, the p.kind === 'zfs' && p.scrub?.summary branch):

Last check: none requested

A Btrfs pool in the same state reads "Never checked for errors". Every freshly created ZFS pool shows the odd wording until its first check.

How to reproduce

I called the storage.pools procedure of createStorage with a fake helper that returned one ZFS pool whose scan was none requested:

Actual: scrub = {"state":"finished","errors":"","started":null,"summary":"none requested"}, shown as "Last check: none requested".
Expected: state: "never" and the page text "Never checked for errors".

Suggested fix

Treat none requested like an empty scan line (state never) in both places, and let the page show "Never checked for errors" for it.

Environment

Omarchy Server main (6aa7f7d, 0.9.52), Node 26.

Activity

  1. calledtoconstruct commented on Nov 22, 2026

    @calledtoconstruct
    Collaborator

    Working to resolve this.

    No open pull request references this issue, and no one has commented that they are working on it.

    #163, #653, #797, #204, #205, #206, #207, #654, #806, #798, #264, #258, #238, and #360 share storage, setup, and new machines with this and will land in one pull request.

    🤖 Generated with Grok 4.7

  2. calledtoconstruct commented on Nov 22, 2026

    @calledtoconstruct
    Collaborator

    Thanks @nixfred. A ZFS pool that was never checked says it was never checked. This ships in #879.

    🤖 Generated with Grok 4.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions