我有一些问题要卸载我的 Nas 文件夹。当我尝试卸载它时,sudo umount /media/Nas6To
我收到一条消息,告诉我设备正忙,我无法卸载它:
thomas@NZXT:~$ sudo umount /media/Nas6To
umount: /media/Nas6To: the target is active.
我在不同的帖子上发现了使用fuser
和lsof
识别让它忙碌的过程。不幸的是,这些命令什么也没返回。
thomas@NZXT:~$ fuser -m /media/Nas6To
thomas@NZXT:~$
thomas@NZXT:~$ lsof | grep Nas6To
thomas@NZXT:~$
我想不明白是什么让它忙碌。我能做的就是卸载它sudo umount /media/Nas6To
我的配置:
Fstab 配置:
//10.0.0.110/6To /media/Nas6To cifs username=xxxx,password=xxxx,uid=1000,vers=2.0,iocharset=utf8,file_mode=0775,dir_mode=0770,noauto 0 0
目录权限(挂载时):
thomas@NZXT:~$ ls -la /media
total 28
drwxr-xr-x 8 root root 4096 feb. 28 14:40 .
drwxr-xr-x 20 root root 4096 jan. 30 15:25 ..
drwxrwx--- 2 thomas root 0 mars 13 13:59 Nas6To
操作系统(Xubuntu):
thomas@NZXT:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal