You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Note

You can perform the following steps using an SSH client such as PuTTY.

Configuring Storage for 
Unable to show "metadata-from": No such page "_space_variables"
 and Docker

This section will provide an example to configure a raw block device and mount it at /var/lib/docker/ which is where all 

Unable to show "metadata-from": No such page "_space_variables"
and Docker data is stored in 
Unable to show "metadata-from": No such page "_space_variables"
15.3.1 and later versions.

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 

Unable to show "metadata-from": No such page "_space_variables"
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. 

If you would like assistance, don't hesitate to reach out to our Customer Support at https://ribboncommunications.com/services/support-services.

Create a new filesystem at /var/lib/docker/ and mount it persistently on the host:

  1. Validate that you have a free disk to use. Here, the additional free disk is nvme0n1.

    lsblk
  2. Create the filesystem 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 filesystem at /var/lib/docker/:

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

    for example: 

    mount /dev/nvme0n1 /var/lib/docker/

  5. Update /etc/fstab to ensure the changes persist 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. Please pause here and ensure your system is up-to-date and also to validate the persistence of the storage configuration. 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 that the storage configuration persisted after the reboot, using the following command:

    df -h

  • No labels