Managing Network File Systems in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

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 –k mount-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

–h host

Specifies that all file systems from the named host should be unmounted. You cannot combine the –h option with –l or –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