doc: updated readme

This commit is contained in:
xpk 2019-05-03 15:14:04 +08:00
parent c57481db6f
commit 844e9918d6
Signed by: xpk
GPG Key ID: CD4FF6793F09AB86

View File

@ -2,10 +2,10 @@
This role installs the necessary packages for gluster. It does not create any volume. An example is shown below on how to create a 2 replica volume with 1 arbiter.
## Nodes
This role sets up 3 servers. All have a secondary data disk attached. They will be formatted in ext4 and mounted under /.gluster/brick1. ext4 is used for better performance with small files.
This role sets up 3 servers. All have a secondary data disk attached on /dev/nvme1n1. They will be formatted in ext4 and mounted under /.gluster/brick1. ext4 is used for better performance with small files.
## Create gluster: 2 replica and 1 arbiter
Run these on gluster-a1:
Run these on one of the gluster nodes:
```
gluster peer probe gluster-s1