Comment 8 for bug 1470576

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to swift (master)

Reviewed: https://review.openstack.org/199203
Committed: https://git.openstack.org/cgit/openstack/swift/commit/?id=89f59062864e5cbfc839a6084c323ce35438aa57
Submitter: Jenkins
Branch: master

commit 89f59062864e5cbfc839a6084c323ce35438aa57
Author: Ben Martin <email address hidden>
Date: Mon Jul 27 14:19:09 2015 -0500

    +Document method to avoid rsync filling root drive

    When rsync pushes to a remote node with an unmounted drive and if
    certain steps are not taken, rsync may attempt to write files to
    the local drive at the location where the drive was mounted.

    There are two suggested solutions for this issue:
      1) Set the permissions for all mount points in /srv/node/
           to root:root 755
      2) Mount the drives elsewhere and symlink the drives to /srv/.../

    The first method ensures that only root and not the swift user
    can write in the /srv/.../ directories.

    The second method will prompt a broken link issue if rsync
    attempts to write to an unmounted drive.

    Change-Id: I60ce4ed9ef8401768d5f78b6806cbb2e2a65303e
    Closes-Bug: #1470576