umountall Command
Use the umountall command to unmount a group of file systems. You can use the following options with the umountall command:
-
-k -
Runs the
fuser -kmount-point command to kill any processes that are associated with the mount-point -
-s -
Indicates that unmount is not to be performed in parallel
-
-l -
Specifies that only local file systems are to be used
-
-r -
Specifies that only remote file systems are to be used
-
-hhost -
Specifies that all file systems from the named host should be unmounted. You cannot combine the
-hoption with-lor-r.
The following example unmounts all file systems that are mounted from remote hosts:
# umountall -r
The following example unmounts all file systems that are currently mounted from the server bee:
# umountall -h bee