mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-17 19:51:43 +00:00
Update for leanpub preview
This commit is contained in:
@@ -74,8 +74,7 @@ docker run \
|
|||||||
|
|
||||||
On a single node (doesn't matter which), run ```docker exec -it glusterfs-server bash``` to launch a shell inside the container.
|
On a single node (doesn't matter which), run ```docker exec -it glusterfs-server bash``` to launch a shell inside the container.
|
||||||
|
|
||||||
From the node, run
|
From the node, run `gluster peer probe <other host>`.
|
||||||
```gluster peer probe <other host>```
|
|
||||||
|
|
||||||
Example output:
|
Example output:
|
||||||
|
|
||||||
@@ -134,6 +133,7 @@ From one other host, run ```docker exec -it glusterfs-server bash``` to shell in
|
|||||||
### Mount gluster volume
|
### Mount gluster volume
|
||||||
|
|
||||||
On the host (i.e., outside of the container - type ```exit``` if you're still shelled in), create a mountpoint for the data, by running ```mkdir /var/data```, add an entry to fstab to ensure the volume is auto-mounted on boot, and ensure the volume is actually _mounted_ if there's a network / boot delay getting access to the gluster volume:
|
On the host (i.e., outside of the container - type ```exit``` if you're still shelled in), create a mountpoint for the data, by running ```mkdir /var/data```, add an entry to fstab to ensure the volume is auto-mounted on boot, and ensure the volume is actually _mounted_ if there's a network / boot delay getting access to the gluster volume:
|
||||||
|
|
||||||
```
|
```
|
||||||
mkdir /var/data
|
mkdir /var/data
|
||||||
MYHOST=`hostname -s`
|
MYHOST=`hostname -s`
|
||||||
|
|||||||
Reference in New Issue
Block a user