Errors are reported as follows:
umount /data/nginx/html/pc/static umount.nfs4: /data/nginx/html/pc/static: device is busy
1. Through fuser, See which process is occupying the file
fuser -m -v /data/nginx/html/pc/static/test
– M indicates the file system or block device (in mount state) where the specified file is located. All processes accessing the file system are listed
– V indicates verbose mode. The process is displayed in PS mode, including PID, user, command and access fields
If the prompt: – bash: fuser: command not found, it indicates that there is no corresponding package,
Solution:
yum install psmisc -y
2. Kill the corresponding process,
kill -9 Corresponding process code
3. Cancel the mount again
umount /data/nginx/html/pc/static
Similar Posts:
- How to Solve NFS uninstall directory error
- Umount error: /home: target is busy. [How to Solve]
- How to Solve Disk Unmount Error: device is busy
- “can’t create transaction lock on /var/lib/rpm/…
- nginx: [error] CreateFile() “D:\nginx-1.20.1/logs/nginx.pid“ failed (2: The system cannot find the
- Nginx Error: nginx: [error] CreateFile() “D:\nginx-1.20.1/logs/nginx.pid” failed (2: The system cannot find the file specified)
- The method of eliminating “more than one device and emulator” in ADB
- [Solved] ADB Connect Error: failed to start daemon
- [Solved] Nginx Log Error: open() “/opt/Nginx/nginx/nginx.pid” failed (2: No such file or directory)
- nfs load errorwrong fs type, bad option, bad superblock