Cannot remove ~/JetBrains folder on Linux
Here is the error
rm: cannot remove 'JetBrains/RemoteDev-PY/_buildarea4_users_jsmart_hst_RDB3_support_my_dev_b/index/trigram.index1/.nfs00000000f0eebc6a000010e9': Device or resource busy
rm: cannot remove 'JetBrains/RemoteDev-PY/_buildarea4_users_jsmart_hst_RDB3_support_my_dev_b/index/trigram.index1/.nfs00000000f0eebcd7000010ea': Device or resource busy
rm: cannot remove 'JetBrains/RemoteDev-
The reason I am trying to delete it is because I just found out my $HOME is too small for Pycharm. And so I am thinking of making a softlink of JetBrains folder to a partition with bigger size. The machine I am using is a company shared company and so I cannot reboot it. Also, the PID keeps on changing and so I cannot kill it.
Please sign in to leave a comment.
Did you try to find it with the lsof command and delete it? Check out the following similar case