Skip Headers
Oracle Hierarchical Storage Manager and QFS Software Command Reference
Section 1m: Maintenance Commands
Release 6.1.1
E70305-03

NAME

umount_samfs - Unmounts a StorageTek QFS or Oracle HSM file system

SYNOPSIS

umount [-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

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 StorageTek QFS or Oracle HSM 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 StorageTek QFS or Oracle HSM 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),