Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#60 lufs allows double fs mount and things go bad

open
nobody
None
5
2003-07-06
2003-07-06
Timothee Besset
No

lufs lets a double mount happen (mount twice in a row
using the same mount directory), and then a single
lufsmount removes the two mount entries from the mount
tab, but leaves the first mount process active and running.

This leads to no lufs mounts listed, but process still
running, still behaving like there was a mount. Module
in kernel is still referenced once, and can't be
unloaded anymore.

The only solution at this point being a hard reboot of
the box.

Attaching a complete log of a reproduction of this
situation. Mount twice, watch the mounts, umount once,
see that there are no mounts, first mount process still
running and working correctly, bad module reference
count situation.

Discussion

    • summary: double fs mount --> lufs allows double fs mount and things go bad
     
  •  
    Attachments
  • Logged In: YES
    user_id=2063

    a complete log reproducing the situation

     
  • Rafael Vuijk
    Rafael Vuijk
    2003-10-17

    Logged In: YES
    user_id=414115

    Keep in mind the lufsmount is just a front-end. Try with
    normal umount command:

    akusho darkfader # lufsmount
    ftpfs://secret/ /home/darkfader/mnt -c 1 -u 1000
    akusho darkfader # lufsmount
    ftpfs://secret/ /home/darkfader/mnt -c 1 -u 1000
    akusho darkfader # lufsumount /home/darkfader/mnt
    akusho darkfader # lufsumount /home/darkfader/mnt
    mtab entry for /home/darkfader/mnt not found
    akusho darkfader # umount /home/darkfader/mnt/
    akusho darkfader # umount /home/darkfader/mnt/
    umount: /home/darkfader/mnt/: not mounted