Mounting and Unmounting Sun QFS Shared File Systems
For failover purposes, the mount options should be the same on the metadata server and all potential metadata servers. For example, you can create a samfs.cmd file containing mount options and copy it to all the hosts.
To Mount a Sun QFS Shared File System
The mount
command mounts a Sun QFS shared file system in a Solaris OE. For more information on the mount
command, see the mount(1M)
man page.
- Log in as superuser (root) on the metadata server and on all the client hosts.
- Use the
mount
command to mount the metadata server. The metadata server must be mounted prior to mounting any client hosts. - Use the
mount
command to mount the client hosts. The order in which the client hosts are mounted is not important.
To Unmount a Sun QFS Shared File System
The umount
command unmounts a Sun QFS shared file system from a Solaris system. For more information on the umount
command, see the umount(1M) man page.
- Log in as superuser (root) on the metadata server and on all the client hosts.
- Use the
umount
command to unmount the client hosts. The order in which the client hosts are unmounted is not important. - Use the
umount
command to unmount the metadata server. The metadata server should be unmounted only after unmounting all client hosts.
Several conditions can be present in a file system at unmounting time, so you might need to issue the umount
command a second time. If the file system still does not unmount, use unshare
, fuser
, or other commands in conjunction with the umount
command.
Unmounting procedures are also described in the Sun QFS, Sun SAM-FS, and Sun SAM-QFS Installation and Configuration Guide.