Open a terminal window and log in as the root
user or equivalent.
If the O2CB cluster service is offline, start it by entering the following command, then wait for the process to return a status of
.
/etc/init.d/o2cb online ocfs2
Replace
with the
actual cluster name of your OCFS2 cluster.
ocfs2
The OCFS2 cluster must be online, because the format operation must ensure that the volume is not mounted on any node in the cluster.
Use one of the following methods to mount the volume.
In the ocfs2console, select a device in the Available Devices list, click , specify the directory mount point and mount options (optional), then click .
Mount the volume from the command line, using the mount command.
Mount the volume from the /etc/fstab
file on system boot.
Mounting an OCFS2 volume takes about 5 seconds, depending on how long it takes for the heartbeat thread to stabilize. On a successful mount, the device list in the ocfs2console shows the mount point along with the device.
For information about mounting an OCFS2 volume using any of these methods, see the OCFS2 User Guide on the OCFS2 project at Oracle.
When running Oracle RAC, make sure to use the datavolume and nointr mounting options for OCFS2 volumes that contain the Voting diskfile (CRS), Cluster registry (OCR), Data files, Redo logs, Archive logs, and Control files. Do not use these options when mounting the Oracle Home volume.