When trying remount , mount /path busy always.
mount -o remount,ro /path mount: /path is busy
Is there any method to remount it as read only safely ? What is the method to check why it is busy ? Have tried lsof but shows nothing .
When trying remount , mount /path busy always.
mount -o remount,ro /path mount: /path is busy
Is there any method to remount it as read only safely ? What is the method to check why it is busy ? Have tried lsof but shows nothing .
There isn't really a way to 'safely' force it read-only. Anything that did would either:
or:
As far as figuring out what is holding it open, try fuser -m /path
. I've found it's significantly more reliable for quickly finding out what is usingg a given mount point.