# Linux系统卸载磁盘时报错that use the device is found by lsof(8) or fuser(1)查看挂载 今天在卸载磁盘时报错 ```bash [root@cosmo-lt-03 ~]# umount /data umount: /data: target is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1)) ``` ## 报错原因: 报错描述很明显,还有别的进程在对磁盘进行读写 ## 解决办法: ```bash fuser -m -v /dev/vdb ```  然后kill -9 进程ID 如果没有此命令,则安装 ```bash yum install -y psmisc ``` 或者使用: ```bash lsof |grep /data ``` 然后同样kill -9 进程ID 如果没有此命令,则安装 ```bash yum install -y lsof ``` ## Linux查看挂载的三种方式 ```bash # 方法1 df -Th # 方法2 mount -l # 方法3 cat /etc/mtab ``` 然后就可以接着进行卸载了 ## 图示说明 