Solution if an error is reported when the user unmounts the storage file system on the Linux host side

Solution if an error is reported when the user unmounts the storage file system on the Linux host side:
a. A busy message is displayed when the user unmounts the storage file system from the Linux host side.
If a busy message is displayed when the user unmounts the storage file system from the Linux host side, it indicates that a process is using this file. To view the process, perform the following operations:
Enter the following command on the host: fuser -vm /dev/sdc (or /home/hms/data/c).
Format: fuser -vm driver letters (or the file system path)
After checking the process that occupies the file, check the process usage. After the process can be stopped, stop the process and then unmount the file system. To stop a process, run the following command: kill -9 process ID.
If you do not need to check which process is using the file (consequences of stopping processes are not considered), run the following command to stop all processes that use the file:
Enter the following command on the host: fuser -km /dev/sdc (or /home/hms/data/c)
Format: fuser -km drive letters (or the file system path)
Note: Before stopping the process, ensure that stopping the process does not affect the normal running of the host and services. If the preceding operations cannot stop the process, hard reset the host. Before resetting the host, remove the fiber from the host to the storage, or delete the mapping from the storage to the host.
b. A timeout message is displayed when the user unmounts the storage file system from the Linux host side.
A mtab~ file is generated from the default mounting file mtab each time the umount command is being executed. The mtab~ file is a flag file used for mutual exclusion and will be deleted after umount is executed. If the umount operation is not completed, the file will not be deleted. During the execution of umount, it is considered that the previous umount is still running. The mtab~ file will be deleted only after umount is executed. Therefore, the umount operation times out and exits.
Manually delete the mtab~ file and then run umount.
Note: The default mounting directory file of the host may vary with the operating system. Therefore, you need to confirm with the operating system administrator.

Scroll to top