Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Add_workflow_for_techpubs
AUTH1UserResourceIdentifier{userKey=8a00a0c86ca23f8a016cd6ed6fe90013, userName='null'}
REV5UserResourceIdentifier{userKey=8a00a0c85b2726c2015b58aa779d0003, userName='null'}
REV6UserResourceIdentifier{userKey=8a00a0c85b2726c2015b58aa779d0003, userName='null'}
REV3UserResourceIdentifier{userKey=8a00a0c85b2726c2015b58aa779d0003, userName='null'}
REV1UserResourceIdentifier{userKey=8a00a0c85b2726c2015b58aa779d00038a00a0c8664c0be0016687d83fdb0025, userName='null'}

Info
titleNote

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

...

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

    Code Block
    lsblk

  2. Create the file system using the following command:

    Code Block
    mkfs.xfs /dev/$device


    Tip
    titleTip

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

    For example: 

    Code Block
    mkfs.xfs /dev/nvme0n1

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

    Code Block
    mkdir -p /var/lib/docker/

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

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

    For example: 

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

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

    For example:

    Code Block
    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: 

    Code Block
    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:

    Code Block
    df -h

...