Creating a disk group and file system for the Oracle software
To create a disk group and file system for the Oracle software
-
Log in as root user on one node.
-
On one node, create a disk group. For example, type.
# vxdg init orabindg_galaxy sdz
-
Create the volume of about 7 GB in the group:
# vxassist -g orabindg_galaxy make \ orabinvol_galaxy 7168M
-
Create a VxFS file system on
orabinvol_galaxy
to install the binaries. For example, type:
# mkfs -t vxfs /dev/vx/dsk/orabindg_galaxy/orabinvol_galaxy
-
Create the mount point for the file system:
# mkdir /app
-
Mount the file system using the device file for the block device:
# mount -t vxfs /dev/vx/dsk/orabindg_galaxy/orabinvol_galaxy /app
-
To mount the file system automatically across reboot, edit the
/etc/fstab
file, and add the new file system. For example:
/dev/vx/dsk/orabindg_galaxy/orabinvol_galaxy /app vxfs defaults 1 1
-
Repeat step 1 through step 7 on each other node in the cluster.