Skip to content

ops: RAID VD backing /mnt-1 went OFFLINE — two-drive fault in one enclosure, XFS shut down #3158

Description

@Xore

What happened

/mnt-1 (XFS on /dev/sdb1, the RAID virtual disk the controller logs as VD 00/0) went offline on homeserver tonight. Discovered while diagnosing why PR #3157's backend-service CI check failed — that failure is a symptom of this, not a regression of #3105.

Timeline from dmesg -T / journalctl -k, all today 2026-09-09:

  • 21:16:22 — write I/O error on sdb1; controller logs VD 00/0 is now OFFLINE (FATAL); XFS: log I/O error -19 → Filesystem has been shut down due to log error (0x2). Please unmount the filesystem and rectify the problem(s).
  • 21:17:42 — Enclosure PD 44(c None/p1) phy bad for slot 3 (CRIT)
  • 21:21:21 — Unable to access device PD 0c(e0x44/s2) (FATAL) — a second, different physical drive

megacli -PDList -aAll right now confirms two drives down in the same enclosure:

  • Slot 2 (Device Id 12): Unconfigured(bad), Raw Size 0 KB
  • Slot 3: absent from the PDList output entirely (not enumerating — consistent with the "phy bad" message)
  • Slots 0, 1, 4, 5, 6, 7: Online, Spun Up, 0 media errors — healthy

Two drives failing ~1 minute apart in the same enclosure is enough to take a RAID5 VD offline (single-parity tolerates one failure). megacli -LDInfo -Lall -aAll no longer enumerates VD 0 at all — only Virtual Drive: 1 (Target Id 1, RAID5, 7TB, backing sdc1//var) shows, and that one is mid-Reconstruction (35% complete, 153 min elapsed) despite reporting State: Optimal. Flagging the concurrent reconstruction as possibly related to the same enclosure/backplane/power event — not confirmed, /var itself is not currently erroring.

Current filesystem state is inconsistent depending on syscall path: mount still lists /dev/sdb1 on /mnt-1, and df -h /mnt-1 sometimes returns a (presumably stale/cached) size line, but ls, getfacl, and lsof +D /mnt-1 all fail with Input/output error. Treat /mnt-1 as dead, not degraded-but-usable.

Impact

Not done yet

No remediation attempted. This needs physical-hardware judgment (reseat drives in enclosure slots 2/3, check backplane/cabling to that enclosure, possibly engage the RAID controller's rebuild/foreign-config-clear flow) that shouldn't be done unilaterally over SSH — clear foreign configuration / force-online on a double-drive-fault RAID5 VD is a real data-loss risk if the wrong recovery path is taken. Left /mnt-1 mounted (XFS already self-shut-down, not actively getting worse) rather than force-unmounting blind.

Immediate consequence

PR #3157 (issue #3139 fix) is correctly held on red CI — backend-service fails on open /mnt-1/buildx-cache/backend-service/oci-layout: permission denied → Input/output error under the hood, not a real build problem. Will re-run that check once /mnt-1 is back, not before.

Activity

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

    bugSomething isn't workingopsDeployment, runners, observability, host access

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions