![如何“不忙”/dev/sdx?](https://linux22.com/image/200626/%E5%A6%82%E4%BD%95%E2%80%9C%E4%B8%8D%E5%BF%99%E2%80%9D%2Fdev%2Fsdx%EF%BC%9F.png)
我找到了另一个线程,但它很旧,所以我发布...它建议“lsof”来查找阻塞(使繁忙)进程它提示我可以使用“dev/sdf23”,但它不是一个文件。
还有其他“不忙”/dev/sdc 的方法吗?
qy@qy-desktop:~$ lsof +f -- /dev/sdf23
lsof: not a file system: /dev/sdf23
lsof 4.93.2
latest revision: https://github.com/lsof-org/lsof
latest FAQ: https://github.com/lsof-org/lsof/blob/master/00FAQ
latest (non-formatted) man page: https://github.com/lsof-org/lsof/blob/master/Lsof.8
usage: [-?abhKlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-E] [+|-e s] [+|-f[gG]]
[-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+m [m]] [+|-M] [-o [o]] [-p s]
[+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names]
Use the ``-h'' option to get more help information.
qy@qy-desktop:~$
PS如果这是转发,我很抱歉。我失去了我的帖子的踪迹......