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

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

文章分类

全部博文(276)

文章存档

2017年(17)

2016年(131)

2015年(63)

2013年(2)

2012年(32)

2011年(31)

分类: 服务器与存储

2015-12-01 16:03:05

移除 brick

点击(此处)折叠或打开

  1. gluster> volume remove-brick gv0 192.168.174.80:/opt/brick/gv0 start
  2. volume remove-brick start: success
  3. ID: 969230e8-603e-41a3-be27-0ec33565c247
  4. gluster> volume status gv0
    Status of volume: gv0
    Gluster process                             TCP Port  RDMA Port  Online  Pid
    ------------------------------------------------------------------------------
    Brick 192.168.174.80:/opt/brick/gv0         N/A       N/A        N       N/A  
    Brick 192.168.174.81:/opt/brick/gv0         N/A       N/A        N       N/A  
    Brick 192.168.174.68:/opt/brick/gv0         49152     0          Y       12106
    Brick 192.168.174.67:/opt/brick/gv0         49152     0          Y       12481
    Brick 192.168.167.52:/opt/brick/gv0         49152     0          Y       985  
    Brick 192.168.167.58:/opt/brick/gv0         49152     0          Y       5580
    Brick 192.168.167.76:/opt/brick/gv0         49152     0          Y       3662
    NFS Server on localhost                     2049      0          Y       2212
    Quota Daemon on localhost                   N/A       N/A        Y       2220
    NFS Server on 192.168.174.68                N/A       N/A        N       N/A  
    Quota Daemon on 192.168.174.68              N/A       N/A        Y       12760
    NFS Server on 192.168.174.79                N/A       N/A        N       N/A  
    Quota Daemon on 192.168.174.79              N/A       N/A        Y       1134
    NFS Server on 192.168.174.81                2049      0          Y       32590
    Quota Daemon on 192.168.174.81              N/A       N/A        Y       32598
    NFS Server on 192.168.174.80                N/A       N/A        N       N/A  
    Quota Daemon on 192.168.174.80              N/A       N/A        Y       28926
    NFS Server on 192.168.167.58                2049      0          Y       6505
    Quota Daemon on 192.168.167.58              N/A       N/A        Y       6513
    NFS Server on 192.168.174.67                N/A       N/A        N       N/A  
    Quota Daemon on 192.168.174.67              N/A       N/A        Y       13147
    NFS Server on 192.168.167.76                N/A       N/A        N       N/A  
    Quota Daemon on 192.168.167.76              N/A       N/A        Y       4679
     
    Task Status of Volume gv0
    ------------------------------------------------------------------------------
    Task                 : Remove brick        
    ID                   : 969230e8-603e-41a3-be27-0ec33565c247
    Removed bricks:     
    192.168.174.80:/opt/brick/gv0
    Status               : failed             
  5. gluster> volume remove-brick gv0 192.168.174.80:/opt/brick/gv0 commit
    Removing brick(s) can result in data loss. Do you want to Continue? (y/n) y
    volume remove-brick commit: success
    Check the removed bricks to ensure all files are migrated.
    If files with data are found on the brick path, copy them via a gluster mount point before re-purposing the removed brick.
  6. gluster> volume status gv0
    Status of volume: gv0
    Gluster process                             TCP Port  RDMA Port  Online  Pid
    ------------------------------------------------------------------------------
    Brick 192.168.174.81:/opt/brick/gv0         N/A       N/A        N       N/A  
    Brick 192.168.174.68:/opt/brick/gv0         49152     0          Y       12106
    Brick 192.168.174.67:/opt/brick/gv0         49152     0          Y       12481
    Brick 192.168.167.52:/opt/brick/gv0         49152     0          Y       985  
    Brick 192.168.167.58:/opt/brick/gv0         49152     0          Y       5580
    Brick 192.168.167.76:/opt/brick/gv0         49152     0          Y       3662
    NFS Server on localhost                     2049      0          Y       2414
    Quota Daemon on localhost                   N/A       N/A        Y       2423
    NFS Server on 192.168.174.68                N/A       N/A        N       N/A  
    Quota Daemon on 192.168.174.68              N/A       N/A        Y       12896
    NFS Server on 192.168.167.58                2049      0          Y       6713
    Quota Daemon on 192.168.167.58              N/A       N/A        Y       6721
    NFS Server on 192.168.174.79                N/A       N/A        N       N/A  
    Quota Daemon on 192.168.174.79              N/A       N/A        Y       1617
    NFS Server on 192.168.174.67                N/A       N/A        N       N/A  
    Quota Daemon on 192.168.174.67              N/A       N/A        Y       13280
    NFS Server on 192.168.174.80                N/A       N/A        N       N/A  
    Quota Daemon on 192.168.174.80              N/A       N/A        Y       29240
    NFS Server on 192.168.174.81                2049      0          Y       32736
    Quota Daemon on 192.168.174.81              N/A       N/A        Y       32744
    NFS Server on 192.168.167.76                N/A       N/A        N       N/A  
    Quota Daemon on 192.168.167.76              N/A       N/A        Y       4823
     
    Task Status of Volume gv0
    ------------------------------------------------------------------------------
    There are no active volume tasks
  7. gluster> volume remove-brick gv0 192.168.174.81:/opt/brick/gv0 force
    Removing brick(s) can result in data loss. Do you want to Continue? (y/n) y
    volume remove-brick commit force: success

阅读(1534) | 评论(0) | 转发(0) |
0

上一篇:ovirt速度安装

下一篇:glusterfs 客户端访问

给主人留下些什么吧!~~