Use the following procedure to unmount a file system (except /, /usr, or /var):
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.
Make sure you have met the prerequisites listed on "Prerequisites".
Unmount the file system.
# umount mount-point |
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. |
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 |