Skip to content

findmnt command fails on overlay filesystems with "exit status 1" error #1200

@zjj2wry

Description

@zjj2wry

gpud logs:

{"level":"error","ts":"2026-01-26T13:37:25.367Z","caller":"log/log.go:103","msg":"failed to find mnt","target":"/","attempt":1,"error":"failed to read findmnt output: exit status 1 (output: )","stacktrace":"github.com/leptonai/gpud/pkg/log.(*gpudLogger).Errorw\n\t/workspace/pkg/log/log.go:103\ngithub.com/leptonai/gpud/components/disk.(*component).Check\n\t/workspace/components/disk/component.go:555\ngithub.com/leptonai/gpud/components/disk.(*component).Start.func1\n\t/workspace/components/disk/component.go:201"}
❯ k exec -it my-gpud-42d87 -- findmnt --target '/' --json               
{
   "filesystems": [
      {
         "target": "/",
         "source": "overlay",
         "fstype": "overlay",
         "options": ""
      }
   ]
}

❯ k exec -it my-gpud-42d87 -- findmnt --target '/' --json --df
command terminated with exit code 1

Metadata

Metadata

Assignees

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