sudo umount you can unmount ANYTHING but need
fusermount -u you can unmount all FUSE mounts.
pumount you can unmount all mounts below
/media which don’t appear in
If there are mounted cifs shares, you might encounter a “CIFS VFS: no response for cmd 50…” on shutdown or reboot which may take about half a minute before the machine actually shuts down (or reboots). This is caused by the network being shut down before the shares were umounted.
The thing is, in Jaunty there already is a script to umount network shares before the network is shut down, but it has the wrong start-type of
S = start. If you look at the script itself, you’ll find this:
case "$1" in start) # No-op ;; restart|reload|force-reload) echo "Error: argument '$1' not supported" >&2 exit 3 ;; stop|"") do_stop ;; *) echo "Usage: umountnfs.sh [start|stop]" >&2 exit 3 ;; esac
So if called with the argument
start, it will do nothing. It has to be called with
To fix this (in Jaunty):
- go to
- find the link
S31umountnfs.sh(type: S = start)
- do a
sudo mv S31umountnfs.sh K31umountnfs.sh(type: K = kill/stop)
- now go to
/etc/rc6.d/and do the same to the link there
You may find some more info on this blog.