Friday, April 26, 2013

rmdir: Device or resource busy

I was reconfiguring autofs and when I tried to rmdir one of the directories, I got "Device or resource busy"... ok, so let's just run 'fuser -v /dir'. To my surprise, it returned nothing. Alright, back to good old, lsof and..... nothing.

Strange. Looks like a bug.

So, I had to un-reconfigure autofs and put everything back the way it was. Once I did that, I restarted autofs and fuser -v correctly identified the rogue dir as being held open by autofs.

Now, all I did was, shutdown autofs, removed the rogue dir and reconfigure autofs once again.

No comments:

Post a Comment