From b749dc70742e749dbd7c0c20e6e7191fdd199170 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 9 Jul 2012 15:23:09 +0100 Subject: fuse: Document Device or resource busy errors from fusermount. --- fuse/guestmount.pod | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/fuse/guestmount.pod b/fuse/guestmount.pod index b81c635c..a0bc6f14 100644 --- a/fuse/guestmount.pod +++ b/fuse/guestmount.pod @@ -89,6 +89,23 @@ necessary on Debian and derivatives. On other distros, no special group is required. It is not necessary on Fedora or Red Hat Enterprise Linux. +=head2 fusermount error: "Device or resource busy" + +You can see this error when another process on the system jumps into +the mountpoint you have just created, holding it open and preventing +you from unmounting it. The usual culprits are various GUI "indexing" +programs. + +The popular workaround for this problem is to retry the +C command a few times until it works. Unfortunately +this isn't a reliable fix if (for example) the mounted filesystem is +particularly large and the intruding program is persistent. + +A proper fix is to use a private mountpoint by creating a new mount +namespace using the Linux-specific L/L flag +C. Unfortunately at the moment this requires root and we +would also probably need to add it as a feature to guestmount. + =head1 OPTIONS =over 4 -- cgit