first commit
This commit is contained in:
12
testing/glusterfs-node.sh
Normal file
12
testing/glusterfs-node.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
# # # bootstrap fuse
|
||||
#mknod /dev/fuse c 10 229
|
||||
# # # worker nodes
|
||||
/usr/sbin/glusterd -L DEBUG --volfile-server-port=49153
|
||||
mkdir -p /mnt/gluster/gv0
|
||||
mkdir -p /mnt/glusterfs
|
||||
echo "localhost:/gv0 /mnt/glusterfs glusterfs defaults,_netdev 0 0" > /etc/fstab
|
||||
sleep 15
|
||||
mount /mnt/glusterfs
|
||||
echo "Done, test"
|
||||
sleep infinity
|
||||
Reference in New Issue
Block a user