VERITAS Storage Foundation 4.1 Oracle Administrator's Guide
Unmounting a File System Prerelease 8 September 2005, 8:54am
74 VERITAS Storage Foundation for Oracle Administrator’s Guide
Unmounting a File System
If you no longer need to access the data in a file system, you can unmount the file system using the
umount command.
Prerequisites
◆ A file system must exist and be mounted in order to be unmounted.
Usage Notes
◆ See the umount(1M) manual page for more information on mounting file systems.
◆ You cannot unmount a file system that is in use.
▼ To unmount a file system using the command line
1. Use the fuser command to make sure that the file system is not being used:
# fuser -c /mount_point
where the -c option provides information on file system mount points and any files within
mounted file systems.
Note If the file system is being used and you need to unmount it, use the fuser -ck command.
See the fuser(1M) man page for more information.
2. Unmount the file system using the umount command:
# umount special
or
# umount /mount_point
or
# umount -f /mount_point
where:
◆ special is a block special device
◆ /mount_point is the location where the file system is mounted
◆ -f forcibly unmounts the mount point