Skip Navigation Links | |
Exit Print View | |
System Administration Guide: Devices and File Systems Oracle Solaris 11 Express 11/10 |
1. Managing Removable Media (Overview)
2. Managing Removable Media (Tasks)
3. Accessing Removable Media (Tasks)
4. Writing CDs and DVDs (Tasks)
5. Managing Devices (Overview/Tasks)
6. Dynamically Configuring Devices (Tasks)
7. Using USB Devices (Overview)
9. Using InfiniBand Devices (Overview/Tasks)
11. Administering Disks (Tasks)
12. SPARC: Adding a Disk (Tasks)
13. x86: Adding a Disk (Tasks)
14. Configuring iSCSI Storage Devices With COMSTAR
15. Configuring and Managing the Solaris Internet Storage Name Service (iSNS)
17. The format Utility (Reference)
18. Managing File Systems (Overview)
19. Creating ZFS, UFS, TMPFS, and LOFS File Systems (Tasks)
20. Mounting and Unmounting File Systems (Tasks)
How to Determine Which File Systems Are Mounted
How to Add an Entry to the /etc/vfstab File
How to Mount a File System (/etc/vfstab File)
How to Mount a UFS File System (mount Command)
How to Mount a UFS File System Without Large Files (mount Command)
How to Mount an NFS File System (mount Command)
x86: How to Mount a PCFS (DOS) File System From a Hard Disk (mount Command)
Prerequisites for Unmounting File Systems
How to Verify a File System is Unmounted
How to Stop All Processes Accessing a File System
21. Configuring Additional Swap Space (Tasks)
22. Copying Files and File Systems (Tasks)
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.
For a complete list of mount options for each file system type, refer to the specific mount man page (for example, mount_ufs(1M)). For information about mounting ZFS file systems, see zfs(1M).
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.