Commands such as redhat ls operation, the file is stuck

If you have a folder in a directory such as: /webapps, the following operations will cause a direct freeze:

1. Use ls -ls in the folder /webapps/ directory to view the stuck

2. Calculating disk space in the folder /webapps directory is stuck

3. Direct cd into the folder/webapps and get stuck

This situation is very likely, but the directory is mounted ( mount ) to another address, and that address is no longer accessible

Processing method:

 

    Query the current system mount usage: mount -l

    Unmount the umount  folder/webapps;

   If you can't cancel it, force it to uninstall: umount -f  folder/webapps;

   If the directory is prompted to be busy, use deferred uninstall, it will wait for the directory to be unloaded when it is not busy: umount -l folder/webapps

   umount -l /webapps

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326252387&siteId=291194637