Owner's Manual

Deployment Guide 19
3
For a Fibre Channel cluster, on the first node, create one partition on each of the other two external
storage devices with
fdisk
:
a
Ty p e
fdisk /dev/emcpowerx
and create a primary partition for the entire device.
Ty p e
h
for help within the
fdisk
utility.
b
Ty p e
cat /proc/partitions
to verify that the new partition exists.
If you do not observe the new partition, type:
sfdisk -R /dev/<device name>
NOTE: The following steps use the sample values /u01 and /u02 for mount points and u01 and u02 as labels.
4
On
one node only
, format the external storage devices for OCFS by typing:
mkfs.ocfs -b 128 -F -u <ID of user oracle> -g <primary group ID
of user oracle> -L <volume label> -m <mount point> -p <OCFS volume
permissions> <PowerPath device name>
To find the user ID and group ID, type:
id oracle
For a Fibre Channel cluster, format the PowerPath pseudo device partitions by typing:
mkfs.ocfs -F -b 128 -L u01 -m /u01 -u 500 -g 500 -p 0775
/dev/emcpowerb1
mkfs.ocfs -F -b 128 -L u02 -m /u02 -u 500 -g 500 -p 0775
/dev/emcpowerc1
5
On
each node
, perform the following steps:
a
Create mount points for each OCFS partition. To perform this procedure, create the target
partition directories and set the ownerships by typing:
mkdir -p /u01 /u02
chown -R oracle.dba /u01 /u02
b
On
each node
, modify the
/etc/fstab
file by adding the following lines for a Fibre Channel
storage system:
/dev/emcpowerb1 /u01 ocfs _netdev 0 0
/dev/emcpowerc1 /u02 ocfs _netdev 0 0
Make appropriate entries for all OCFS volumes.
c
On
each node
, type the following commands to load the OCFS module and mount all volumes
listed in the
/etc/fstab
file:
NOTE: Ignore any warnings related to mismatch of OCFS module and kernel version.
/sbin/load_ocfs
mount -a -t ocfs