Difference between revisions of "GlusterFS"

From Funtoo Linux
Jump to: navigation, search
(Created page with "<console> # ##i##gluster volume info Volume Name: dist Type: Distribute Volume ID: f9758871-20dc-4728-9576-a5bb5b24ca4f Status: Created Number of Bricks: 2 Transport-type: t...")
 
Line 1: Line 1:
 +
<console>
 +
# ##i##gluster peer status
 +
No peers present
 +
# ##i##gluster peer probe rhs-lab2
 +
Probe successful
 +
# ##i##gluster peer status
 +
Number of Peers: 1
 +
 +
Hostname: rhs-lab2
 +
Uuid: 6b6c9ffc-da79-4d24-8325-086d44869338
 +
State: Peer in Cluster (Connected)
 +
# ##i##gluster peer probe rhs-lab3
 +
Probe successful
 +
# ##i##gluster peer probe rhs-lab4
 +
Probe successful
 +
# ##i##gluster peer status
 +
Number of Peers: 3
 +
 +
Hostname: rhs-lab2
 +
Uuid: 6b6c9ffc-da79-4d24-8325-086d44869338
 +
State: Peer in Cluster (Connected)
 +
 +
Hostname: rhs-lab3
 +
Uuid: cbcd508e-5f80-4224-91df-fd5f8e12915d
 +
State: Peer in Cluster (Connected)
 +
 +
Hostname: rhs-lab4
 +
Uuid: a02f68d8-88af-4b79-92d8-1057dd85af45
 +
State: Peer in Cluster (Connected)
 +
# ##i##gluster volume create dist rhs-lab1:/data/dist rhs-lab2:/data/dist
 +
Creation of volume dist has been successful. Please start the volume to access data.
 +
</console>
 +
 
<console>
 
<console>
 
# ##i##gluster volume info
 
# ##i##gluster volume info

Revision as of 18:44, 28 June 2012

# gluster peer status
No peers present
# gluster peer probe rhs-lab2
Probe successful
# gluster peer status
Number of Peers: 1

Hostname: rhs-lab2
Uuid: 6b6c9ffc-da79-4d24-8325-086d44869338
State: Peer in Cluster (Connected)
# gluster peer probe rhs-lab3
Probe successful
# gluster peer probe rhs-lab4
Probe successful
# gluster peer status
Number of Peers: 3

Hostname: rhs-lab2
Uuid: 6b6c9ffc-da79-4d24-8325-086d44869338
State: Peer in Cluster (Connected)

Hostname: rhs-lab3
Uuid: cbcd508e-5f80-4224-91df-fd5f8e12915d
State: Peer in Cluster (Connected)

Hostname: rhs-lab4
Uuid: a02f68d8-88af-4b79-92d8-1057dd85af45
State: Peer in Cluster (Connected)
# gluster volume create dist rhs-lab1:/data/dist rhs-lab2:/data/dist
Creation of volume dist has been successful. Please start the volume to access data.
# gluster volume info
 
Volume Name: dist
Type: Distribute
Volume ID: f9758871-20dc-4728-9576-a5bb5b24ca4f
Status: Created
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: rhs-lab1:/data/dist
Brick2: rhs-lab2:/data/dist
# gluster volume start dist
Starting volume dist has been successful
# gluster volume info
 
Volume Name: dist
Type: Distribute
Volume ID: f9758871-20dc-4728-9576-a5bb5b24ca4f
Status: Started
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: rhs-lab1:/data/dist
Brick2: rhs-lab2:/data/dist
# mount -t glusterfs rhs-lab1:/dist /mnt/dist
Personal tools
Namespaces

Variants
Actions
Categories
Toolbox
Stuff