Creating a Separate Partition for Data Storage and MySQL Storage

Perform the following tasks to create a separate partition for data (block) storage and MySQL Storage

The following partitioning options are available:
  • Single partition (This is the default option)
  • Secondary partition for data and MySQL storage
Perform the following tasks to create the partition for data storage MySQL storage:
  1. Run the following command to create a directory to mount the partition:
    


mkdir -pv /opt/oracle/ocsm/var/vsi
    mkdir -pv /var/lib/mysql
    
  2. Adjust /etc/fstab to mount the data storage partition. For example:

    Note:

    This entry may vary based on the environment:
    LABEL=PLD_DATA /opt/oracle/ocsm/var/vsi xfs
    defaults,nosuid,nodev,nofail 0 2
    LABEL=MYSQL_DATA /var/lib/mysql xfs
    defaults,nosuid,nodev,nofail 0 2
    
    During the installation process of MySQL and Session Monitor, partitions are detected by the product and the system uses these separate partitions.