Merge "docs: Encourage usage of UUID inside /etc/fstab in examples"
This commit is contained in:
commit
f87862e696
@ -135,9 +135,13 @@ another device when creating the VM, and follow these instructions:
|
||||
|
||||
sudo mkfs.xfs /dev/sdb1
|
||||
|
||||
#. Find the UUID of the new partition::
|
||||
|
||||
sudo blkid
|
||||
|
||||
#. Edit ``/etc/fstab`` and add::
|
||||
|
||||
/dev/sdb1 /mnt/sdb1 xfs noatime,nodiratime,logbufs=8 0 0
|
||||
UUID="<UUID-from-output-above>" /mnt/sdb1 xfs noatime,nodiratime,logbufs=8 0 0
|
||||
|
||||
#. Create the Swift data mount point and test that mounting works::
|
||||
|
||||
|
@ -49,12 +49,18 @@ storage nodes, you must prepare the storage devices.
|
||||
# mkdir -p /srv/node/sdb
|
||||
# mkdir -p /srv/node/sdc
|
||||
|
||||
#. Find the UUID of the new partitions:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# blkid
|
||||
|
||||
#. Edit the ``/etc/fstab`` file and add the following to it:
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
/dev/sdb /srv/node/sdb xfs noatime,nodiratime,logbufs=8 0 2
|
||||
/dev/sdc /srv/node/sdc xfs noatime,nodiratime,logbufs=8 0 2
|
||||
UUID="<UUID-from-output-above>" /srv/node/sdb xfs noatime,nodiratime,logbufs=8 0 2
|
||||
UUID="<UUID-from-output-above>" /srv/node/sdc xfs noatime,nodiratime,logbufs=8 0 2
|
||||
|
||||
#. Mount the devices:
|
||||
|
||||
|
@ -48,12 +48,18 @@ storage nodes, you must prepare the storage devices.
|
||||
# mkdir -p /srv/node/sdb
|
||||
# mkdir -p /srv/node/sdc
|
||||
|
||||
#. Find the UUID of the new partitions:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# blkid
|
||||
|
||||
#. Edit the ``/etc/fstab`` file and add the following to it:
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
/dev/sdb /srv/node/sdb xfs noatime,nodiratime,logbufs=8 0 2
|
||||
/dev/sdc /srv/node/sdc xfs noatime,nodiratime,logbufs=8 0 2
|
||||
UUID="<UUID-from-output-above>" /srv/node/sdb xfs noatime,nodiratime,logbufs=8 0 2
|
||||
UUID="<UUID-from-output-above>" /srv/node/sdc xfs noatime,nodiratime,logbufs=8 0 2
|
||||
|
||||
#. Mount the devices:
|
||||
|
||||
|
@ -48,12 +48,18 @@ storage nodes, you must prepare the storage devices.
|
||||
# mkdir -p /srv/node/sdb
|
||||
# mkdir -p /srv/node/sdc
|
||||
|
||||
#. Find the UUID of the new partitions:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# blkid
|
||||
|
||||
#. Edit the ``/etc/fstab`` file and add the following to it:
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
/dev/sdb /srv/node/sdb xfs noatime,nodiratime,logbufs=8 0 2
|
||||
/dev/sdc /srv/node/sdc xfs noatime,nodiratime,logbufs=8 0 2
|
||||
UUID="<UUID-from-output-above>" /srv/node/sdb xfs noatime,nodiratime,logbufs=8 0 2
|
||||
UUID="<UUID-from-output-above>" /srv/node/sdc xfs noatime,nodiratime,logbufs=8 0 2
|
||||
|
||||
#. Mount the devices:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user