Updated on 2024-12-18 GMT+08:00

Node Mount Points

Check Items

Check whether inaccessible mount points exist on the node.

Solution

Scenario: There are inaccessible mount points on the node.

If NFS (such as obsfs or SFS) is used by the node and the node is disconnected from the NFS server, the mount point would be inaccessible and all processes that access this mount point are in D state.

  1. Log in to the node.
  2. Run the following commands on the node in sequence:

    - df -h
    - for dir in `df -h | grep -v "Mounted on" | awk "{print \\$NF}"`;do cd $dir; done && echo "ok"

  3. If ok is returned, no problem occurs.

    Otherwise, start another terminal and run the following command to check whether the previous command is in the D state:
    - ps aux | grep "D "

  4. If a process is in the D state, the problem occurs. You can restart the node to solve the problem. Restart the node and upgrade the cluster again.

    Workloads running on the node will be rescheduled after a node is restarted. Check whether services will be affected before restarting the node.