Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for ZFS Pools that use a "Special" device #592

Closed
wants to merge 1 commit into from

Conversation

fdriessler
Copy link

@fdriessler fdriessler commented May 12, 2023

One of our servers ran into issues with this check due to the addition of a "Special" device, which can be added to a zfs pool for metadata storage.
The output generated results in a out of index error.
Here the agent output that resulted in the checks crash:

<<<zpool_status>>>
pool: backup
state: DEGRADED
status: One or more devices are faulted in response to persistent errors.
Sufficient replicas exist for the pool to continue functioning in a
degraded state.
action: Replace the faulted device, or use 'zpool clear' to mark the device
repaired.
scan: scrub repaired <removed date/time>
config:

    NAME          STATE     READ WRITE CKSUM
    backup  DEGRADED     0     0     0
      raidz2-0    DEGRADED     0     0     0
        sdc       FAULTED      3     0     0  too many errors
        sdd       ONLINE       0     0     0
        sde       ONLINE       0     0     0
        sdf       ONLINE       0     0     0
        sdg       ONLINE       0     0     0
        sdh       ONLINE       0     0     0
        sdi       ONLINE       0     0     0
        sdj       ONLINE       0     0     0
        sdk       ONLINE       0     0     0
        sdl       ONLINE       0     0     0
    special
      mirror-1    ONLINE       0     0     0
        nvme0n1   ONLINE       0     0     0
        nvme1n1   ONLINE       0     0     0

errors: No known data errors

The special device is part of the pool and doesn't seem to have its own status displayed, which causes the check to fail, as it expects the line to consist of 5 words.

@github-actions
Copy link

github-actions bot commented May 12, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@scolakovic scolakovic added bug Something isn't working Component: Checks & Agents labels May 16, 2023
@CheckmkCI CheckmkCI force-pushed the master branch 2 times, most recently from 45fdabc to 4107d40 Compare May 24, 2023 13:44
@scolakovic
Copy link
Contributor

Hi Felix,
The fix for the same issue was already submitted in pull request #475.
It's available from version 2.2.0.
I believe the problem is already fixed, so I'll close the pull request. If you find additional problems, feel free to create another one.

@scolakovic scolakovic closed this Jun 16, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jun 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working Component: Checks & Agents
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants