1

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 .

1

There isn't really a way to 'safely' force it read-only. Anything that did would either:

  1. Not really be read-only, because there would still be a file opened for write or append on the filesystem

or:

  1. Crash whatever application has a writable file open on that mount point.

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.