OmegaPhil: > omega@omega1:/mnt$ sudo umount /mnt/bulk_storage > omega@omega1:/mnt$ sudo lsof /mnt/bulk_storage/ > omega@omega1:/mnt$ sudo mv /mnt/bulk_storage/ /mnt/bulk-storage/ > mv: cannot move =91/mnt/bulk_storage/=92 to =91/mnt/bulk-storage/=92: Dev= > ice or > resource busy
OK, then probably you already confirmed these. - the error was returned by rename(2) in mv(1). - the destination /mnt/bulk-storage is not busy either. (again there are several reasons to make it busy) - any security modules don't bother you. - if there are several namespaces on your system, none of them are using these dirs. > The suspicious refcnt is all I have to go on and currently the only > difference I can see between being able to move the directory and not. I > am a programmer but not a kernel programmer, so all I have to fall on is > common sense here - if no aufs filesystems are mounted, surely there > should be no references to the aufs module, and I should be able to > rmmod without complaint? It should. I'd suggest you to try this. 0. aufs is not loaded, confirm it by "lsmod" or something. 1. "modprobe aufs", confirm its refcount is zero. 2. unload aufs, confirm again. 3. repeat the step 1. 4. mount aufs, confirm its refcount is one. 5. umount aufs, confirm its refcount is zero. 6. unload aufs, confirm again. J. R. Okajima ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/