Creating a filesystem for Control Center internal services
- Log in to the target host as root, or as a user with superuser privileges.
Identify the target device or partition for the filesystem to create.
lsblk -ap --output=NAME,SIZE,TYPE,FSTYPE,MOUNTPOINT
Create an XFS filesystem.
Replace Storage with the path of the target device or partition:
Enter the following command to add an entry to the /etc/fstab
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
Create the mount point for internal services data.
mkdir -p /opt/serviced/var/isvcs
Mount the filesystem, and then verify it mounted correctly.
mount -a && mount | grep isvcsExample result:
/dev/xvdb1 on /opt/serviced/var/isvcs type xfs (rw,relatime,attr2,inode64,noquota)