Node Mount Points
Check Items
Check whether there are inaccessible mount points 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.
- Log in to the node.
- Create a script file, for example, /tmp/check_hang_mount.sh on the node. The content of the script file is as follows:
for mount_path in `cat /proc/self/mountinfo | awk '{print $5}' | grep -v netns` do timeout 10 sh -c "cd $mount_path" if [ $? == 124 ];then echo "$mount_path hang mount" fi done
- Run the saved script and check the output.
The mount points of the /root/foo and /root/bar folders are incorrect.
- Run the following command to check the suspended mount points:
mount -n | grep /root/foo
When a mount point is suspended, it typically indicates that services are not using it anymore. After confirming that the mount point is no longer required, run the following command to unmount it and then re-execute the previously mentioned script:
umount -l -f localhost:/tmp/nfs
After the execution, perform the check again on the pre-upgrade check page.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot