Troubleshooting
Find the cause of a failure from its symptom, and the page with the fix.
Start from the symptom. Each row names the first thing to check, and the page with the fix.
| Symptom | First check | Fix |
|---|---|---|
| A client cannot mount | Does a rule allow the client? Can the client reach port 2049 on the node? | Client access rules |
| An RDMA mount fails or uses TCP | Does the node have an active RDMA port? Is rpcrdma loaded on the client? | NFS over RDMA |
An export stays pending or unreachable | Was AIStor restarted on the export's node after the package was installed? | Quick checks |
| A mount hangs | Is the node the client mounts through down or restarting? | Take a node out of service |
| Calls wait for about 30 seconds | Was a node lost? Its cells serve again after the lease term plus 3 seconds. | If a node is lost |
ESTALE on a mounted export | Is the export fenced? | Respond to a fenced export |
| Writes fail with "disk quota exceeded" | Is the export at its limit? df -h shows the limit. | Set a quota |
| A large directory lists very slowly | Does it hold more than two million entries? | Large directories |
| An export does not start | Which FILES: line is in the system log, or files: line in AIStor's output? | Start-up errors |
| No gateway metrics reach Prometheus | Does the scrape include /minio/metrics/v3/files on every node? | Monitoring |
Quick checks
From any host with mc:
mc admin config get myaistor files # is enable=on?
mc files export list myaistor # status of every export
mc files export list myaistor --status pending # exports a node does not holdOn the export's node:
files -V # is the package installed?
journalctl -u minio --since -10m | grep -i files # what the gateway loggedThe gateway runs only on a node that had the package when AIStor started, and only while
the AIStor license includes AIStor Files. files -V works as soon as the package is
installed, but AIStor does not start the gateway until AIStor restarts on that node.
Start-up errors
The gateway does not start an export that it cannot serve correctly. Two log lines are
not themselves errors: the gateway attempts to rebuild a stale, missing, or damaged local
copy and keep serving. If the export does not start even so, the log shows why: usually
the startup error that follows, open_cells cell ... failed, but a damaged or gapped
copy whose own records fail to publish first shows refusing to rebuild a copy whose records could not be published instead, with no open_cells line after it. If neither
line appears, an I/O error elsewhere in the startup log is the cause; contact support if
the surrounding log does not identify it. The log line names what happened:
| Log line contains | What happened | What to do |
|---|---|---|
lease held by a live owner | Another gateway holds and renews this cell's lease. | This cell does not reopen itself once the holder's lease expires. mc files export cells can show no serving row for it meanwhile, since the holder can be unreachable rather than duplicated. Once the previous holder's lease has actually expired, restart AIStor on this node to open the cell again. Stop a gateway yourself only if you already know, independently, that it wrongly still runs this export. |
this node's copy of this cell is stale or missing; rebuilding it from the tier | The node's local metadata for this cell was stale or missing. | Expected. The gateway rebuilds it from the aistor-files bucket. If the export does not start, check the startup error that follows. |
this node's copy of this cell is damaged | The node's local metadata for this cell is damaged. | Expected. The gateway publishes the damaged copy's op-log, then moves the copy aside and rebuilds the cell from the tier. If publication fails, the copy stays in place and the cell is not rebuilt; check the startup error that follows. |