)]}'
{"doc/source/howto_installmultinode.rst":[{"author":{"_account_id":2622,"name":"Samuel Merritt","email":"spam+launchpad@andcheese.org","username":"torgomatic"},"change_message_id":"9ca1fbbc827b17f6fe3c6e2f23dbfbeb5a2f7cc4","unresolved":false,"context_lines":[{"line_number":255,"context_line":"        echo \"/dev/sdb1 /srv/node/sdb1 xfs noatime,nodiratime,nobarrier,logbufs\u003d8 0 0\" \u003e\u003e /etc/fstab"},{"line_number":256,"context_line":"        mkdir -p /srv/node/sdb1"},{"line_number":257,"context_line":"        mount /srv/node/sdb1"},{"line_number":258,"context_line":"        chown -R swift:swift /srv/node/sdb1"},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"#. Create /etc/rsyncd.conf::"},{"line_number":261,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"AAAAOH%2F%2Fz78%3D","line":258,"updated":"2013-03-26 17:18:01.000000000","message":"I can\u0027t help feeling that the -R here is redundant. Just a few lines above is an instruction to run mkfs.xfs; this will mean there are no files underneath /srv/node/sdb1 to require chowning.\n\nAlso, in the case of ext4, this\u0027ll make the \"lost+found\" directory owned by swift, and I think that you don\u0027t want to do that. (I realize the doc says xfs, but some people do crazy stuff.)","commit_id":"39dac4703b16430e1b24b541af8a7cf9e0fb19b3"},{"author":{"_account_id":2860,"name":"litong01","email":"email4tong@yahoo.com","username":"litong01"},"change_message_id":"bcbce1528f7adfd738875ff930ad79f857896563","unresolved":false,"context_lines":[{"line_number":255,"context_line":"        echo \"/dev/sdb1 /srv/node/sdb1 xfs noatime,nodiratime,nobarrier,logbufs\u003d8 0 0\" \u003e\u003e /etc/fstab"},{"line_number":256,"context_line":"        mkdir -p /srv/node/sdb1"},{"line_number":257,"context_line":"        mount /srv/node/sdb1"},{"line_number":258,"context_line":"        chown -R swift:swift /srv/node/sdb1"},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"#. Create /etc/rsyncd.conf::"},{"line_number":261,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"AAAAOH%2F%2Fzzo%3D","line":258,"in_reply_to":"AAAAOH%2F%2Fz0Q%3D","updated":"2013-03-26 18:21:09.000000000","message":"I just tried it. after mount, change ownship to swift, when it is unmounted, the\n/srv/node/sdb1 is back to root automatically. Did not know that.","commit_id":"39dac4703b16430e1b24b541af8a7cf9e0fb19b3"},{"author":{"_account_id":2860,"name":"litong01","email":"email4tong@yahoo.com","username":"litong01"},"change_message_id":"f8fd388505c90c9755f0b07307ec8d5622433a69","unresolved":false,"context_lines":[{"line_number":255,"context_line":"        echo \"/dev/sdb1 /srv/node/sdb1 xfs noatime,nodiratime,nobarrier,logbufs\u003d8 0 0\" \u003e\u003e /etc/fstab"},{"line_number":256,"context_line":"        mkdir -p /srv/node/sdb1"},{"line_number":257,"context_line":"        mount /srv/node/sdb1"},{"line_number":258,"context_line":"        chown -R swift:swift /srv/node/sdb1"},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"#. Create /etc/rsyncd.conf::"},{"line_number":261,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"AAAAOH%2F%2Fz0Q%3D","line":258,"in_reply_to":"AAAAOH%2F%2Fz50%3D","updated":"2013-03-26 18:13:30.000000000","message":"Sam, that is all great. but after unmount, someone will have to reverse the change? Or system automatically changes it back?","commit_id":"39dac4703b16430e1b24b541af8a7cf9e0fb19b3"},{"author":{"_account_id":2860,"name":"litong01","email":"email4tong@yahoo.com","username":"litong01"},"change_message_id":"1aa398985eb9041917d63d1f2e4055c90329480f","unresolved":false,"context_lines":[{"line_number":255,"context_line":"        echo \"/dev/sdb1 /srv/node/sdb1 xfs noatime,nodiratime,nobarrier,logbufs\u003d8 0 0\" \u003e\u003e /etc/fstab"},{"line_number":256,"context_line":"        mkdir -p /srv/node/sdb1"},{"line_number":257,"context_line":"        mount /srv/node/sdb1"},{"line_number":258,"context_line":"        chown -R swift:swift /srv/node/sdb1"},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"#. Create /etc/rsyncd.conf::"},{"line_number":261,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"AAAAOH%2F%2Fz7c%3D","line":258,"in_reply_to":"AAAAOH%2F%2Fz78%3D","updated":"2013-03-26 17:25:33.000000000","message":"Sam, will correct that. I believe the -R was there in the original doc. Since we\nhave talked about the permission on the mounting point. Seems to me that\neven /srv/node/sdb1 should not be owned by swift:swift. I think that the concern\nis that if the disk get umounted, things should not be staying in /srv/node/sdb1\ndirectory.","commit_id":"39dac4703b16430e1b24b541af8a7cf9e0fb19b3"},{"author":{"_account_id":2622,"name":"Samuel Merritt","email":"spam+launchpad@andcheese.org","username":"torgomatic"},"change_message_id":"87dede251263a4a94c355e57d856e55d152eefd8","unresolved":false,"context_lines":[{"line_number":255,"context_line":"        echo \"/dev/sdb1 /srv/node/sdb1 xfs noatime,nodiratime,nobarrier,logbufs\u003d8 0 0\" \u003e\u003e /etc/fstab"},{"line_number":256,"context_line":"        mkdir -p /srv/node/sdb1"},{"line_number":257,"context_line":"        mount /srv/node/sdb1"},{"line_number":258,"context_line":"        chown -R swift:swift /srv/node/sdb1"},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"#. Create /etc/rsyncd.conf::"},{"line_number":261,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"AAAAOH%2F%2Fz50%3D","line":258,"in_reply_to":"AAAAOH%2F%2Fz7c%3D","updated":"2013-03-26 17:30:41.000000000","message":"After mounting, /srv/node/sdb1 *should* be owned by swift so that the \"accounts\", \"containers\", and \"objects\" directories can be created by the Swift daemons.\n\nBefore mounting, /srv/node/sdb1 *should not* be owned by swift. This ensures that in case of unmount, the Swift daemons cannot write to files under /srv/node/sdb1 on the root filesystem.\n\nThis document does things in the correct order: mount, then chown.","commit_id":"39dac4703b16430e1b24b541af8a7cf9e0fb19b3"}]}
