Socialabel

Sunday, June 5, 2016

Gluster FS Install on Centos

gluster volume create DFS-DATA replica 2 transport tcp dfs-master:/DATA dfs-node:/DATA

gluster volume start distribute                                                                                                                                 
gluster volume info                                                                                                                                             
gluster volume delete dist-volume 


umount -t glusterfs dfs-master:/DFS-DATA
mount -t glusterfs dfs-master:/DFS-DATA/ok /mnt/test/


gluster volume create test replica 2 transport tcp dfs-master:/DATA/DFS-103.241.5.100-1 dfs-node:/DATA/DFS-103.241.5.100-1

mount -t glusterfs dfs-master:/DFS-103.241.5.100 /gluster



###INI JIKA VOLUME ALREADY
setfattr -x trusted.glusterfs.volume-id $brick-path
setfattr -x trusted.gfid $brick-path
rm -rf $brick-path/.glusterfs