Mounting a File System
After creating a VxFS file system, mount the file system using the mount command. By default, the mount command tries to enable Quick I/O. If Quick I/O is not installed or licensed, no error messages are displayed unless you explicitly specify the -o qio mount option. If necessary, you can turn the Quick I/O option off at mount time or you can remount the file system with the -o noqio option.
Prerequisites
- A file system must exist in order to be mounted.
- DBAs should log in as the Oracle DBA user.
Usage Notes
- See the mount_vxfs(1M) manual page for more information about mount settings.
- See the mount(1M) manual page for more information about generic mount options.
- If you use the GUI, the file system table file is automatically updated.
- The mount point must be an absolute path name (that is, it must begin with /).
- If you use the GUI, the path specified for the mount point will be created if it does not already exist.
To mount a file system using the command line
Use the mount command as follows:
# /usr/sbin/mount -F vxfs [generic_options] [-r] \ [-o specific_options] special /mount_point
where:
- generic_options are the options common to most file systems
- -r mounts the file system as read only
- specific_options are options specific to the VxFS file system
- special is a block special device
- /mount_point is the directory where the file system will be mounted
Example
To mount a file system named /db01 that supports large files on volume /dev/vx/dsk/PRODdg/db01:
# mkdir /db01
# chown oracle:dba /db01
# /usr/sbin/mount -F vxfs -o largefiles /dev/vx/dsk \ /PRODdg/db01/db01
If you would like /db01 to be mounted automatically after rebooting, add an entry for it in /etc/fstab as follows:
/dev/vx/dsk/PRODdg/db01 /db01 vxfs largefiles,qio 0 2
To mount a file system on an existing volume using the GUI
-
Select the volume that contains the file system to be mounted.
-
Choose Actions > File System > Mount File System.
-
Complete the Mount File System dialog box (see step 3 in the procedure below).
-
After you have provided all the necessary information in the dialog box, click OK.
To mount any file system using the GUI
-
Select the file system to be mounted.
-
Choose Actions > Mount File System.
-
Complete the Mount File System dialog box as follows:
FS Type:
|
Select the file system type.
|
Mount Options:
| - If you want the system to use the mount options defined in the system table, check Mount using options in the file system table.
- Enter the mount point for the file system, if you want the file system mounted at system startup.
- Select the Create Mount Point checkbox if you want the system to create the mount point if it does not already exist.
- Select the Read Only and Honor setuid checkboxes, as required.
- To specify mount options, click Mount File System Details and specify the appropriate options in the Mount Details dialog box.
|
-
After you have provided all the necessary information in the dialog box, click OK.
|