美文网首页
rm: cannot remove 'SRR649427/.nf

rm: cannot remove 'SRR649427/.nf

作者: 杨康chin | 来源:发表于2020-09-07 15:45 被阅读0次

linux rm命令无法删除目录,显示Device or resource busy:

[yangkang@]$ rm -r  SRR649427
rm: cannot remove 'SRR649427/.nfs00000014034ad01f0000011c': Device or resource busy
rm: cannot remove 'SRR649427/.nfs00000014034ad0200000011d': Device or resource busy

解决方法:

[yangkang@]$ lsof +d SRR649427
COMMAND     PID   USER   FD   TYPE DEVICE SIZE/OFF        NODE NAME
prefetch- 25789 panshk    4w   REG   0,40        0 85954580511 SRR649427/.nfs00000014034ad01f0000011c
prefetch- 25789 panshk    5w   REG   0,40 10276534 85954580512 SRR649427/.nfs00000014034ad0200000011d
[yangkang@]$ kill -9 25789
[1]+  Killed                  prefetch SRR649427
[yangkang@]$ rm -r SRR649427

解决

相关文章

网友评论

      本文标题:rm: cannot remove 'SRR649427/.nf

      本文链接:https://www.haomeiwen.com/subject/ssclektx.html