The loopback device serves as a virtual disk to hold the Object Storage service data.

Procedure

  1. If you are logged out, log back in to the Object Storage service.
    1. Using SSH, log in to the VMware Integrated OpenStack manager.
    2. From the VMware Integrated OpenStack manager, use SSH to log in to the controller01 node.
    3. Switch to root user.
      sudo su -
  2. Create the loopback device.
    truncate -s 5GB /srv/swift-disk1
    mkfs.xfs /srv/swift-disk1
    truncate -s 5GB /srv/swift-disk2
    mkfs.xfs /srv/swift-disk2
    truncate -s 5GB /srv/swift-disk3
    mkfs.xfs /srv/swift-disk3
  3. Modify the /etc/fstab table file.
    /srv/swift-disk1 /srv/node/sdb xfs loop,noatime,nodiratime,nobarrier,logbufs=8 0 0
    /srv/swift-disk2 /srv/node/sdc xfs loop,noatime,nodiratime,nobarrier,logbufs=8 0 0
    /srv/swift-disk3 /srv/node/sdd xfs loop,noatime,nodiratime,nobarrier,logbufs=8 0 0
  4. Mount the loopback device.
    mkdir -p /srv/node/sdb
    mount /srv/node/sdb
    mkdir -p /srv/node/sdc
    mount /srv/node/sdc
    mkdir -p /srv/node/sdd
    mount /srv/node/sdd
    chown -R swift:swift /srv/node

What to do next

You can now create the rsyncd.conf file to en able the rsync service. See Enable the rsync Service.