2条带,2副本
gluster> volume create gv_kvm stripe 2 replica 2 192.168.174.79:/opt/brick/gv_kvm 192.168.174.80:/opt/brick/gv_kvm 192.168.174.81:/opt/brick/gv_kvm 192.168.174.67:/opt/brick/gv_kvm
volume create: gv_kvm: success: please start the volume to access data
gluster> volume info gv_kvm
Volume Name: gv_kvm
Type: Striped-Replicate
Volume ID: 8915790c-d41c-4ce6-b528-36842ee154fe
Status: Created
Number of Bricks: 1 x 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: 192.168.174.79:/opt/brick/gv_kvm
Brick2: 192.168.174.80:/opt/brick/gv_kvm
Brick3: 192.168.174.81:/opt/brick/gv_kvm
Brick4: 192.168.174.67:/opt/brick/gv_kvm
Options Reconfigured:
performance.readdir-ahead: on
gluster>
gluster> volume create gv_KVM stripe 4 replica 2 192.168.174.79:/opt/brick/gv_KVM 192.168.174.80:/opt/brick/gv_KVM 192.168.174.81:/opt/brick/gv_KVM 192.168.174.67:/opt/brick/gv_KVM 192.168.174.68:/opt/brick/gv_KVM 192.168.167.52:/opt/brick/gv_KVM 192.168.167.58:/opt/brick/gv_KVM 192.168.167.76:/opt/brick/gv_KVM
volume create: gv_KVM: success: please start the volume to access data
gluster> volume info gv_KVM
Volume Name: gv_KVM
Type: Striped-Replicate
Volume ID: 1023a223-a454-405a-bf74-fc552c4432a5
Status: Created
Number of Bricks: 1 x 4 x 2 = 8
Transport-type: tcp
Bricks:
Brick1: 192.168.174.79:/opt/brick/gv_KVM
Brick2: 192.168.174.80:/opt/brick/gv_KVM
Brick3: 192.168.174.81:/opt/brick/gv_KVM
Brick4: 192.168.174.67:/opt/brick/gv_KVM
Brick5: 192.168.174.68:/opt/brick/gv_KVM
Brick6: 192.168.167.52:/opt/brick/gv_KVM
Brick7: 192.168.167.58:/opt/brick/gv_KVM
Brick8: 192.168.167.76:/opt/brick/gv_KVM
Options Reconfigured:
performance.readdir-ahead: on
gluster>
[root@sn192-168-174-65 gv]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p1 32G 14G 17G 46% /
tmpfs 3.9G 12K 3.9G 1% /dev/shm
/dev/cciss/c0d0p3 96G 188M 91G 1% /opt
192.168.174.80:/gv_KVM 381G 244G 118G 68% /mnt/gv
[root@sn192-168-174-65 gv]#
副本为2,大小减半.
glusterfs#192.168.174.80:/gv0
759G 416G 304G 58% /back/chss/chss-mis
阅读(1886) | 评论(0) | 转发(0) |