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.
Reviewed: https:/ /review. openstack. org/199203 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=89f59062864 e5cbfc839a6084c 323ce35438aa57
Committed: https:/
Submitter: Jenkins
Branch: master
commit 89f59062864e5cb fc839a6084c323c e35438aa57
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: I60ce4ed9ef8401 768d5f78b6806cb b2e2a65303e
Closes-Bug: #1470576