Created
August 5, 2021 09:52
-
-
Save andy722/1ba2f89dc0342e6ecf3c6d2f3346bb1d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pvcreate /dev/sdc | |
vgcreate vgstore /dev/sdc | |
lvcreate -l 100%VG -n biggfsbrick vgstore | |
mkfs.xfs /dev/vgstore/biggfsbrick | |
echo '/dev/vgstore/biggfsbrick /export/biggfsbrick/ xfs defaults 1 2' >>/etc/fstab | |
mkdir /export/biggfsbrick | |
mount /export/biggfsbrick | |
gluster volume create big-repl-store replica 3 transport tcp app-01:/export/biggfsbrick/repl-store app-02:/export/biggfsbrick/repl-store app-03:/export/biggfsbrick/repl-store | |
gluster volume start big-repl-store | |
mkdir /data/big-repl-store | |
echo "app-01:/big-repl-store /data/big-repl-store glusterfs defaults,_netdev 0 0" >>/etc/fstab | |
mount /data/big-repl-store |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment