Note

Perform the following steps using an SSH client such as PuTTY.

Configuring Storage for EdgeView and Docker

This section provides an example to configure a raw block device and mount it at /var/lib/docker/ which is the location to store all EdgeView and Docker data from EdgeView release 15.3.1 onwards.

The example provided here will provision an XFS file system which is supported by both CentOS and Ubuntu. Other file systems such as EXT4 may be used at the discretion of the operator of the EdgeView system. However, their configuration is considered outside of the scope of this guide. The below commands should be applicable to either CentOS or Ubuntu and are meant only as a general guide since most environments will have unique configurations. 

Contact Global Product Support for assistance.

Create a new file system at /var/lib/docker/ and mount it on the host:

  1. Verify enough free disk exists before proceeding. In the example below, the additional free disk space is under nvme0n1.

    lsblk

  2. Create the file system using the following command:

    mkfs.xfs /dev/$device
    Tip

    Replace $device with the name of your actual device in all the following commands. Examples are provided for the reference system. 

    For example: 

    mkfs.xfs /dev/nvme0n1

  3. Create the mount point for Docker using the following command:

    mkdir -p /var/lib/docker/

  4. Mount the new file system at /var/lib/docker/:

    mount /dev/$device /var/lib/docker/

    For example: 

    mount /dev/nvme0n1 /var/lib/docker/
  5. pdate /etc/fstab to ensure the changes are still present after a reboot: 

    echo "/dev/$device /var/lib/docker xfs    defaults,noatime  1   1" >> /etc/fstab/

    For example:

    echo "/dev/nvme0n1 /var/lib/docker xfs    defaults,noatime  1   1" >> /etc/fstab

  6. Before continuing, ensure your system is up-to-date, and validate the storage configuration settings are accurate. Assuming that there are no other production applications running on this server, execute the following command: 

    apt-get update -y && reboot (Ubuntu) 
    yum update -y && reboot (CentOS)

  7. Validate the storage configuration settings are accurate after the reboot using the following command:

    df -h