Creating a filesystem for Control Center internal services

This procedure requires one unused device or partition.
Use this procedure to create an XFS filesystem on an unused device or partition.
  1. Log in to the target host as root, or as a user with superuser privileges.
  2. Identify the target device or partition for the filesystem to create.
    lsblk -ap --output=NAME,SIZE,TYPE,FSTYPE,MOUNTPOINT
  3. Create an XFS filesystem.
    Replace Storage with the path of the target device or partition:
    mkfs.xfs Storage
  4. Enter the following command to add an entry to the /etc/fstab file.
    Replace Storage with the path of the device or partition used in the previous step:
    echo "Storage /opt/serviced/var/isvcs xfs defaults 0 0" >> /etc/fstab
  5. Create the mount point for internal services data.
    mkdir -p /opt/serviced/var/isvcs
  6. Mount the filesystem, and then verify it mounted correctly.
    mount -a && mount | grep isvcs
    Example result:
    /dev/xvdb1 on /opt/serviced/var/isvcs type xfs (rw,relatime,attr2,inode64,noquota)