在tmux往实验室存储里面拷贝文件

在tmux往实验室存储里面拷贝文件,然而死机了,导致进入目录特别卡,所以放弃拷贝,直接上菜刀
sudo umount mcc
被告知设备忙
可以用fuser查看哪些进程占用着设备
fuser -m -v mcc
fuser -m -v -k mcc
sudo fuser -m -v -k mcc
fuser -m -v -i -k mcc
传说fuser加了-k可以自动杀掉阻碍的进程,其实并没啥乱用
后来起到关键作用的还是umount的-l参数:
umount 还有一个-l选项,作用是当需卸载文件系统的引用不繁忙时直接卸载:
Code:
umount -l    Lazy unmount. Detach the filesystem from the filesystem  hierar-
chy now, and cleanup all references to the filesystem as soon as
it is not busy anymore.  (Requires kernel 2.4.11 or later.)
 





keep calm and carry on
原文地址:https://www.cnblogs.com/geekvc/p/6139610.html