System Administration Guide, Volume 1

How to Unmount a File System

Use the following procedure to unmount a file system (except /, /usr, or /var):

Note -

The root (/), /usr, and /var file systems are special cases. The root (/) file system can be unmounted only during a shutdown, since the system needs the root (/) file system to function.

  1. Make sure you have met the prerequisites listed on "Prerequisites".

  2. Unmount the file system.

    # umount mount-point


    The name of the file system that you want to unmount. This can either be the directory name where the file system is mounted, the device name path of the file system, the resource for an NFS file system, or the loopback directory for LOFS file systems. 

Examples--Unmounting a File System

The following example unmounts a local home file system.

# umount /export/home

The following example unmounts the file system on slice 7.

# umount /dev/dsk/c0t0d0s7