gluster peer probe host2
gluster peer status
gluster peer detach host2
gluster peer detach host2 force
gluster v create gfs host1:/gluster/brick host2:/gluster/brick
- rootパーティションにdisribute volumeを作成する
gluster v create gfs host1:/home/brick host2:/home/brick force
gluster v create gfs replica 2 host1:/gluster/brick host2:/gluster/brick
gluster v create gfs disperse host1:/gluster/brick host2:/gluster/brick host3:/gluster/brick
- 構成を明示指定してdisperse volumeを作成する
gluster v create gfs disperse-data 2 redundancy 1 host1:/gluster/brick host2:/gluster/brick host3:/gluster/brick
gluster v start gfs
gluster v status
gluster v status gfs
gluster v info
gluster v info gfs
- distribute volumeに1ノード追加する
gluster v add-brick gfs host3:/gluster/brick
- distribute volumeにreplicaグループを追加する
gluster v add-brick gfs replica 2 host3:/gluster/brick host4:/gluster/brick
- distribute volumeにreplicaグループを削除する
gluster v remove-brick gfs replica 1 host3:/gluster/brick host4:/gluster/brick
gluster v heal gfs full
gluster v heal gfs status
gluster v heal gfs info
gluster v replace-brick gfs host3:/data/gluster/brick host4:/gluster/brick commit force
gluster v stop gfs
gluster v delete gfs
gluster v rebalance gfs start
gluster v rebalance gfs status
gluster v rebalance gfs stop
gluster v get gfs diagnostics.brick-log-level
gluster v get gfs diagnostics.client-log-level
gluster v set gfs diagnostics.brick-log-level WARNING
gluster v set gfs diagnostics.client-log-level WARNING