Symantec logo

Creating database tablespaces shared on CFS (option 2)

If you plan to use a cluster file system to store the Oracle database, use the following procedure to create the file system.

  1. Create a disk group (for example, oradatadg):

    # vxdg -s init oradatadg HDS0_30

  2. Create a single shared volume (for example, oradatavol) that is large enough to contain a file system for all tablespaces. Refer to the Oracle documentation for tablespace sizes). Assuming 6.8 GB are required for the tablespaces, type:

    # vxassist -g oradatadg make oradatavol 6800M

  3. Start the volume in the disk group:

    # vxvol -g oradatadg startall

  4. Create a VxFS file system in this volume. From one node, type:

    # mkfs -F vxfs /dev/vx/rdsk/oradatadg/oradatavol

  5. Create a mount point for the shared file system:

    # mkdir /oradata

  6. From the same node, mount the file system:

    # mount -F vxfs -o cluster /dev/vx/dsk/oradatadg/oradatavol \
    /oradata

  7. Set "oracle" as the owner of the file system, and set "755" as the permissions:

    # chown oracle:oinstall /oradata

    # chmod 755 /oradata

  8. On the other node(s), complete step 5 through step 7.
  9. Refer to Oracle documentation to create the database.