Skip Navigation Links | |
Exit Print View | |
Sun QFS and Sun Storage Archive Manager 5.3 Reference Manual Sun QFS and Sun Storage Archive Manager 5.3 Information Library |
1. User Commands (Man Pages Section 1)
2. Maintenance Commands (Man Pages Section 1M)
3. Library Functions (Man Pages Section 3)
4. Library Functions (Man Pages Section 3X)
5. File Formats (Man Pages Section 4)
NAME umount_samfs - Unmounts a Sun QFS or SAM-QFS file system SYNOPSIS umount -F samfs [-f] [generic_options] [-o await_clients=n] special | mount_point AVAILABILITY SUNWsamfs DESCRIPTION The umount command unmounts a currently mounted file system from the file system hierarchy. The file system may be specified by either its mount point or its special (also known as its family set name). For more information on the mount(1M) command, see the mount(1M) man page and the mount_samfs(1M) man page. For more information on the umount command, see the umount(1M) man page. OPTIONS -F samfs Specifies that the file system being unmounted is of type samfs. Both Sun QFS and SAM-QFS file systems are of type samfs. -f Forcibly unmount the file system, i.e., unmount the file system even if it is busy. This may fail or hang in some situations, particularly on clients if the metadata server does not have the FS mounted. generic_options One or more generic Solaris file system options. For a list of possible generic_options, see the umount(1M) man page. -o await_clients=n If the mounted file system is a Sun QFS or SAM-QFS shared file system and the current host is the metadata server for that file system, the umount command will wait for the specified period (n seconds) for any mounted clients to first unmount. The unmount command proceeds after either the last client host unmounts the file system, or the waiting period expires. special The Family Set Name from the Sun QFS or SAM-QFS master configuration file (mcf). For more information on this file, see the mcf(4) man page. mount_point The path name or directory at which the file system is mounted. If the mount_point had any contents prior to the mount operation, these become accessible after the umount command successfully completes. EXAMPLES # umount samfs1 Unmount the file system whose family set name is samfs1. If the file system is in use, the command will fail. # umount -f -o await_clients=30 /qfs1 Forcibly unmount the file system mounted on /qfs1. If the file system is a shared file system, and the local host is the metadata server for that file system, then umount will wait up to 30 seconds for the clients to unmount before issuing the unmount. If the file system is not shared, or has no mounted clients, or the local host is not the metadata server, the await_clients option has no effect. The file system is forcibly unmounted. FILES /etc/mnttab Table of mounted file systems. SEE ALSO release(1). mount(1M), mount_samfs(1M), mountall(1M), sam-releaser(1M), sammkfs(1M). mount(2). umount(2). mcf(4), mnttab(4),