Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1824944
  • 博文数量: 276
  • 博客积分: 1574
  • 博客等级: 上尉
  • 技术积分: 2894
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-26 23:23
个人简介

生活的美妙在于,不知道一下秒是惊艳还是伤神,时光流转,珍惜现在的拥有的时光

文章分类

全部博文(276)

文章存档

2017年(17)

2016年(131)

2015年(63)

2013年(2)

2012年(32)

2011年(31)

分类: 服务器与存储

2015-10-29 15:16:40

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) |
给主人留下些什么吧!~~