7

I have an s3fs-fuse "device" mounted at /mnt/s3. I want to unmount it so that I can remount it with the mp_umask flag so that chroot will work properly.

The command should be:

fusermount -u /mnt/s3

Unfortunately the result is:

fusermount: failed to unmount /mnt/s3: Device or resource busy

That's not helpful. Shouldn't be this hard!

kenlukas
  • 3,101
  • 2
  • 16
  • 26
RubyRedGrapefruit
  • 501
  • 3
  • 6
  • 17

2 Answers2

13

The command that worked was:

umount -l /mnt/s3
RubyRedGrapefruit
  • 501
  • 3
  • 6
  • 17
5

You can use lsof to figure out which files are still open.

Andrew Gaul
  • 262
  • 1
  • 7