)]}'
{"doc/source/howto_installmultinode.rst":[{"author":{"_account_id":2622,"name":"Samuel Merritt","email":"spam+launchpad@andcheese.org","username":"torgomatic"},"change_message_id":"ebb97ad946c96740a051efbe3214ae5f157c9768","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"fa98f980_7ddf55d6","side":"PARENT","updated":"2014-09-05 00:37:26.000000000","message":"Could you put some prompts, like \"$ \" or something, before the shell commands? It\u0027s hard to tell what\u0027s a shell command here and what\u0027s the output of a shell command.","commit_id":"8d02147d04a41477383de8e13bea6ac3fd2cade0"},{"author":{"_account_id":2622,"name":"Samuel Merritt","email":"spam+launchpad@andcheese.org","username":"torgomatic"},"change_message_id":"ebb97ad946c96740a051efbe3214ae5f157c9768","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"fa98f980_9df1596d","side":"PARENT","updated":"2014-09-05 00:37:26.000000000","message":"nit: use \"or\" instead of \"/\"","commit_id":"8d02147d04a41477383de8e13bea6ac3fd2cade0"},{"author":{"_account_id":7134,"name":"Lorcan Browne","email":"lorcan.browne@hp.com","username":"brownelo"},"change_message_id":"0cd849f713aed659da046f0e7635a3b78c80ab47","unresolved":false,"context_lines":[{"line_number":257,"context_line":"        fdisk /dev/sdb  (set up a single partition)"},{"line_number":258,"context_line":"        mkfs.xfs -i size\u003d512 /dev/sdb1"},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"#. Since drives can get reordered after a reboot, it is recommended to have static references by either giving labels/UUID. And you cannot modify a mounted XFS file system."},{"line_number":261,"context_line":""},{"line_number":262,"context_line":"To display the existing label for an unmounted XFS file system and then apply a new label (The label can be a maximum of 12 characters in length).::"},{"line_number":263,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa98f980_16cf0057","line":260,"updated":"2014-09-05 08:20:12.000000000","message":"\"references by eit her giving\" - think you have a typo here","commit_id":"80b03304ea0dc4ffc45b68e483ff8b2fdbc7f702"},{"author":{"_account_id":7134,"name":"Lorcan Browne","email":"lorcan.browne@hp.com","username":"brownelo"},"change_message_id":"0cd849f713aed659da046f0e7635a3b78c80ab47","unresolved":false,"context_lines":[{"line_number":266,"context_line":"\txfs_admin -L \"\u003cNodeLabel\u003e\" /dev/sdb"},{"line_number":267,"context_line":"\twriting all SBs"},{"line_number":268,"context_line":"\tnew label \u003d \"\u003cNodeLabel\u003e\""},{"line_number":269,"context_line":"\t"},{"line_number":270,"context_line":"To display the existing UUID and then generate a new UUID.::"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"\txfs_admin -u /dev/sdb"}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa98f980_b6fd5470","line":269,"updated":"2014-09-05 08:20:12.000000000","message":"whitespace","commit_id":"80b03304ea0dc4ffc45b68e483ff8b2fdbc7f702"},{"author":{"_account_id":7134,"name":"Lorcan Browne","email":"lorcan.browne@hp.com","username":"brownelo"},"change_message_id":"0cd849f713aed659da046f0e7635a3b78c80ab47","unresolved":false,"context_lines":[{"line_number":281,"context_line":"\tClearing log and setting UUID"},{"line_number":282,"context_line":"\twriting all SBs"},{"line_number":283,"context_line":"\tnew UUID \u003d 00000000-0000-0000-0000-000000000000"},{"line_number":284,"context_line":"\t"},{"line_number":285,"context_line":"#. Continue setting up XFS volume.::"},{"line_number":286,"context_line":""},{"line_number":287,"context_line":"        echo \"/dev/sdb1 /srv/node/sdb1 xfs noatime,nodiratime,nobarrier,logbufs\u003d8 0 0\" \u003e\u003e /etc/fstab"}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa98f980_f6fa7c73","line":284,"updated":"2014-09-05 08:20:12.000000000","message":"whitespace","commit_id":"80b03304ea0dc4ffc45b68e483ff8b2fdbc7f702"},{"author":{"_account_id":7134,"name":"Lorcan Browne","email":"lorcan.browne@hp.com","username":"brownelo"},"change_message_id":"0cd849f713aed659da046f0e7635a3b78c80ab47","unresolved":false,"context_lines":[{"line_number":282,"context_line":"\twriting all SBs"},{"line_number":283,"context_line":"\tnew UUID \u003d 00000000-0000-0000-0000-000000000000"},{"line_number":284,"context_line":"\t"},{"line_number":285,"context_line":"#. Continue setting up XFS volume.::"},{"line_number":286,"context_line":""},{"line_number":287,"context_line":"        echo \"/dev/sdb1 /srv/node/sdb1 xfs noatime,nodiratime,nobarrier,logbufs\u003d8 0 0\" \u003e\u003e /etc/fstab"},{"line_number":288,"context_line":"        mkdir -p /srv/node/sdb1"}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa98f980_d9a76b09","line":285,"updated":"2014-09-05 08:20:12.000000000","message":"These instructions just show how to label the file system - shouldn\u0027t you have the command:\n\nmount -t \"xfs\" -L \"\u003cNodeLabel\u003e\"  \"\u003cMountPoint\u003e\"\n\nor something similar to show how to actually mount the labelled file system?","commit_id":"80b03304ea0dc4ffc45b68e483ff8b2fdbc7f702"},{"author":{"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},"change_message_id":"53e350f3c3f7ea651218aea174d978f8212a006f","unresolved":false,"context_lines":[{"line_number":284,"context_line":"\t"},{"line_number":285,"context_line":"#. Continue setting up XFS volume.::"},{"line_number":286,"context_line":""},{"line_number":287,"context_line":"        echo \"/dev/sdb1 /srv/node/sdb1 xfs noatime,nodiratime,nobarrier,logbufs\u003d8 0 0\" \u003e\u003e /etc/fstab"},{"line_number":288,"context_line":"        mkdir -p /srv/node/sdb1"},{"line_number":289,"context_line":"        mount /srv/node/sdb1"},{"line_number":290,"context_line":"        chown swift:swift /srv/node/sdb1"}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa98f980_999b2317","line":287,"updated":"2014-09-05 08:51:53.000000000","message":"This is now misleading, because the fstab-entry does not use a label and an operator might accidentally think that the above commands are enough to use labels.","commit_id":"80b03304ea0dc4ffc45b68e483ff8b2fdbc7f702"},{"author":{"_account_id":2622,"name":"Samuel Merritt","email":"spam+launchpad@andcheese.org","username":"torgomatic"},"change_message_id":"05435b07ef48d2278660309f1fcc9a1650b587c0","unresolved":false,"context_lines":[{"line_number":252,"context_line":""},{"line_number":253,"context_line":"#. For every device on the node, setup the XFS volume (/dev/sdb is used"},{"line_number":254,"context_line":"   as an example), add mounting option inode64 when your disk is bigger than"},{"line_number":255,"context_line":"   1TB to archive a better performance. Since drives can get reordered after a reboot, create a label which acts as a static reference.::"},{"line_number":256,"context_line":""},{"line_number":257,"context_line":"        fdisk /dev/sdb  (set up a single partition)"},{"line_number":258,"context_line":"        mkfs.xfs -i size\u003d512 -L \u003clabelname\u003e /dev/sdb1"}],"source_content_type":"text/x-rst","patch_set":4,"id":"fa98f980_a3485bcd","line":255,"updated":"2014-09-09 01:56:12.000000000","message":"should wrap this line so it\u0027s not so long, like the ones above it are wrappedc","commit_id":"b1613a94e59f502dc2f5030c469b5863440182a0"},{"author":{"_account_id":12261,"name":"Mahati","email":"mahati.chamarthy@gmail.com","username":"Mahati"},"change_message_id":"e752d6ad1fa30c6eb2346c4d9752add95eb22541","unresolved":false,"context_lines":[{"line_number":263,"context_line":"        chown swift:swift /srv/node/\u003clabelname\u003e"},{"line_number":264,"context_line":""},{"line_number":265,"context_line":"#. If no label was created while setting up XFS volume, use the UUID. Get the"},{"line_number":266,"context_line":"   UUID by using blkid command and edit the /etc/fstab entry.::"},{"line_number":267,"context_line":""},{"line_number":268,"context_line":"        $blkid /dev/sdb"},{"line_number":269,"context_line":"        /dev/sdb: UUID\u003d\"\u003cUUIDdisplay\u003e\" TYPE\u003d\"xfs\""}],"source_content_type":"text/x-rst","patch_set":7,"id":"da9df570_ec7262e4","line":266,"updated":"2014-09-22 20:30:00.000000000","message":"Here I will say,\" edit /etc/fstab entry and name the node accordingly (like it\u0027s done above for label name)\". Would that be fine?","commit_id":"2fe21350e5acdaa4dfd6f9cc76dff497525cd9aa"},{"author":{"_account_id":7233,"name":"Matthew Oliver","email":"matt@oliver.net.au","username":"mattoliverau"},"change_message_id":"40e80d689bb95391bdf4c14175e382dd0cdbfe4a","unresolved":false,"context_lines":[{"line_number":260,"context_line":"        echo \"LABEL\u003d\u003clabelname\u003e /srv/node/\u003clabelname\u003e xfs noatime,nodiratime,nobarrier,logbufs\u003d8 0 0\" \u003e\u003e /etc/fstab"},{"line_number":261,"context_line":"        mkdir -p /srv/node/\u003clabelname\u003e"},{"line_number":262,"context_line":"        mount /srv/node/\u003clabelname\u003e"},{"line_number":263,"context_line":"        chown swift:swift /srv/node/\u003clabelname\u003e"},{"line_number":264,"context_line":""},{"line_number":265,"context_line":"#. If no label was created while setting up XFS volume, use the UUID. Get the"},{"line_number":266,"context_line":"   UUID by using blkid command, edit the /etc/fstab entry and name the node"}],"source_content_type":"text/x-rst","patch_set":8,"id":"da9df570_210b8cd7","line":263,"updated":"2014-09-23 01:07:20.000000000","message":"I think people are notorious for wanting to copy and paste and not have to edit every line. So how about we make it easier for people and add a first line to create a variable to define the label so they only have to edit one line:\n\n  fs_label\u003d\"\u003clabelname\u003e\"\n  mkfs.xfs -i size\u003d512 -L $fs_label /dev/sdb1\n  echo \"LABEL\u003d$fs_label /srv/node/$fs_label xfs noatime,nodiratime,nobarrier,logbufs\u003d8 0 0 \" \u003e\u003e /etc/fstab\n  mkdir -p /srv/node/$fs_label\n  mount /srv/node/$fs_label\n  chown swift:swift /srv/node/$fs_label","commit_id":"292f92a8091062b9372dbd5298b3eccba11d5a68"},{"author":{"_account_id":7233,"name":"Matthew Oliver","email":"matt@oliver.net.au","username":"mattoliverau"},"change_message_id":"40e80d689bb95391bdf4c14175e382dd0cdbfe4a","unresolved":false,"context_lines":[{"line_number":268,"context_line":""},{"line_number":269,"context_line":"        $blkid /dev/sdb"},{"line_number":270,"context_line":"        /dev/sdb: UUID\u003d\"\u003cUUID\u003e\" TYPE\u003d\"xfs\""},{"line_number":271,"context_line":"        $echo \"UUID\u003d\u003cUUID\u003e /srv/node/\u003cUUID\u003e xfs noatime,nodiratime,nobarrier,logbufs\u003d8 0 0\" \u003e\u003e /etc/fstab"},{"line_number":272,"context_line":""},{"line_number":273,"context_line":"#. Create /etc/rsyncd.conf::"},{"line_number":274,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"da9df570_a1cbfc70","line":271,"updated":"2014-09-23 01:07:20.000000000","message":"We could add a variable here too:\n\n  fs_uuid\u003d\"\u003cUUID\u003e\"\n  ...\n\nAslo, the $ at the start of the line I assume it signifying a console command. In which case can we put a space in-between so the first lines don\u0027t look like variable references? \n\nFurther, the echo into fstab would need to be done as root, so a # should be used to signify a root console:\n\n  # echo \"UUID\u003d$fs_uuid /srv/node/$fs_uuid xfs noatime,nodiratime,nobarrier,logbufs\u003d8 0 0\" \u003e\u003e /etc/fstab","commit_id":"292f92a8091062b9372dbd5298b3eccba11d5a68"}]}
