Linux Instance mount data disk error
Linux Instance mount data disk error, there are several scenarios.
Scenario 1:
Problem Description:
ECS Linux mounts The data disk to the/MNT directory and finds that the/MNT directory data is missing.
Solution:
Linux is mounted as an exclusive directory when it mounts the data disk. Namely: will cover up the original directory data, display data disk current data, will not realize the data accumulation effect.
The original directory data was not lost, but was temporarily obscured. The original directory data is visible when the data disk is unloaded by Umount.
Scenario 2:
Problem Description:
Cannot unload (mount to/mnt directory) when Umount data disk, prompt: Umount failed, Device is busy.
Solution:
This problem is generally due to the fact that the data disk is mounted on a directory that is being used, causing the data disk to unload normally and in a busy state.
A process or user that occupies the directory through a fuser-cu/mnt query.
After confirming that no important data is being read or written, execute the fuser-ck/mnt command to end all occupation of the data disk directory.
Perform umount uninstall.
Note: It is not recommended to mount the data disk to a directory with data to avoid causing data read exceptions.