checking glusterfs configurations:
[root@glustertest1 ~]# gluster volume info
Volume Name: test_vol
Type: Disperse
Volume ID: b23f6c11-8dfe-4d51-919d-35a30dd75100
Status: Stopped
Snapshot Count: 0
Number of Bricks: 1 x (4 + 2) = 6
Transport-type: tcp
Bricks:
Brick1: glustertest1:/glusterfs/brick1
Brick2: glustertest2:/glusterfs/brick1
Brick3: glustertest3:/glusterfs/brick1
Brick4: glustertest4:/glusterfs/brick1
Brick5: glustertest5:/glusterfs/brick1
Brick6: glustertest6:/glusterfs/brick1
Options Reconfigured:
transport.address-family: inet
nfs.disable: on
[root@glustertest1 ~]#
[root@glustertest1 ~]# gluster volume status
Volume test_vol is not started
if its not started:
mount glusterFS:
[root@glustertest1 ~]# mount /dev/mapper/vgglusterfs-lvglusterfs /glusterfs
start glusterfs volume:
[root@glustertest1 ~]# gluster volume start test_vol
volume start: test_vol: success
checking glusterfs status:
[root@glustertest1 ~]# gluster volume info
Volume Name: test_vol
Type: Disperse
Volume ID: b23f6c11-8dfe-4d51-919d-35a30dd75100
Status: Started
Snapshot Count: 0
Number of Bricks: 1 x (4 + 2) = 6
Transport-type: tcp
Bricks:
Brick1: glustertest1:/glusterfs/brick1
Brick2: glustertest2:/glusterfs/brick1
Brick3: glustertest3:/glusterfs/brick1
Brick4: glustertest4:/glusterfs/brick1
Brick5: glustertest5:/glusterfs/brick1
Brick6: glustertest6:/glusterfs/brick1
Options Reconfigured:
transport.address-family: inet
nfs.disable: on
[root@glustertest1 ~]# gluster volume status
Status of volume: test_vol
Gluster process TCP Port RDMA Port Online Pid
Brick glustertest1:/glusterfs/brick1 49153 0 Y 5731
Brick glustertest2:/glusterfs/brick1 49152 0 Y 7957
Brick glustertest3:/glusterfs/brick1 49152 0 Y 6579
Brick glustertest4:/glusterfs/brick1 49152 0 Y 8224
Brick glustertest5:/glusterfs/brick1 49152 0 Y 6811
Brick glustertest6:/glusterfs/brick1 49152 0 Y 6933
Self-heal Daemon on localhost N/A N/A Y 5752
Self-heal Daemon on glustertest2 N/A N/A Y 7978
Self-heal Daemon on glustertest4 N/A N/A Y 8245
Self-heal Daemon on glustertest5 N/A N/A Y 6832
Self-heal Daemon on glustertest6 N/A N/A Y 6954
Self-heal Daemon on glustertest3 N/A N/A Y 6600
Task Status of Volume test_vol
There are no active volume tasks
[root@glustertest1 ~]#
mount user space file system:
mount -t glusterfs glustertest1:/test_vol /mnt