Home > Operation and Maintenance > Linux Operation and Maintenance > A certain directory in Linux cannot be entered, causing a stuck problem

A certain directory in Linux cannot be entered, causing a stuck problem

王林
Release: 2019-12-03 14:05:10
Original
6130 people have browsed it

A certain directory in Linux cannot be entered, causing a stuck problem

If you have folder A in a directory, the following operations will cause it to freeze directly:

1. Use ls -ls in the directory of the same level as folder A to view it. Stuck;

2. Calculating disk space in the same directory as folder A got stuck;

3. Directly cd into folder A and got stuck.

In this case, it is very likely that the directory is mounted to another address, and that address is no longer accessible.

Recommended online video tutorial: linux video tutorial

Solution:

1. Query the usage of the current system mount:

mount -l
Copy after login

2. Cancel the mount

umount 文件夹A
Copy after login

3. If it cannot be canceled, force the uninstall:

umount -f 文件夹A
Copy after login

4. If it prompts that the directory is busy, use delayed uninstallation. It will wait until the directory is not busy. Then uninstall

umount -l 文件夹A
Copy after login

For more articles and tutorials, please visit: linux tutorial

The above is the detailed content of A certain directory in Linux cannot be entered, causing a stuck problem. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template