[rootSERVER ~]# rmmod -f cifs
ERROR: Removing 'cifs': Resource temporarily unavailable
[rootSERVER ~]# modprobe -r cifs
FATAL: Module cifs is in use.
[root@SERVER ~]# lsb_release -a
LSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: Scientific
Description: Scientific Linux release 6.1 (Carbon)
Release: 6.1
Codename: Carbon
[root@SERVER ~]#
我试过了
rmmod -fw cifs
但是它只是等待了很长时间……(是的,所有cifs共享都被“ umount -l” -ed了,然后才试图删除cifs模块。)
问题:如何删除cifs模块?
您或某些进程当前的工作目录是否仍在其中一个共享目录中?
—
LawrenceC