|Skip Navigation Links|
|Exit Print View|
|System Administration Guide: Devices and File Systems Oracle Solaris 11 Express 11/10|
After you create a UFS file system, you need to make it available to the system so that you can use it. You make a UFS file system available by mounting it, which attaches the file system to the system directory tree at the specified mount point. The root (/) file system is always mounted.
The following table provides guidelines on mounting file systems based on how you use them.
For more information on mounting removable media, see Chapter 1, Managing Removable Media (Overview).
The following table lists the commands in the /usr/sbin directory that you use to mount and unmount UFS file systems.
Table 20-1 Commands for Mounting and Unmounting UFS File Systems
ZFS file systems are mounted automatically when they are created. You do not need to create an /etc/vfstab entry for ZFS file systems unless you prefer to mount them by using the above legacy mount commands.
For more information about mounting and unmounting ZFS file systems, see the Oracle Solaris ZFS Administration Guide.
Keep the following key points in mind when using the mount and mountall commands:
The mount and mountall commands cannot mount a read/write file system that has known inconsistencies. If you receive an error message from the mount or mountall command, you might need to check the file system. See Chapter 21, Checking UFS File System Consistency (Tasks), in System Administration Guide: Devices and File Systems for information on how to check the file system.
The umount and umountall commands do not unmount a file system that is busy. A file system is considered busy if one of the following is true:
A user is accessing a file or directory in the file system.
A program has a file open in that file system.
The file system is shared.
You can use the remount option when remounting from read-only access to read-write access only. You cannot remount from read-write access to read-only access.