How to add new bricks to a volume?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 22 October 2012 14:57, Tao Lin <linbaiye at gmail.com> wrote:
> Hi, dear glfs experts:
>   I've been using glusterfs (version 3.2.6) for months,so far it works very
> well.Now I'm facing a problem of adding two new bricks to an existed
> replicated (rep=2) volume,which is  consisted of only two bricks and is
> mounted by multiple clients.Can I just use the following commands to add new
> bricks without stopping the services which is using the volume as motioned?
> 1?gluster peer probe new-node1
> 2?gluster peer probe new-node2
> 3?gluster volume add-brick VOLNAME new-brick1 new-brick2
> 4?gluster volume rebalance VOLNAME fix-layout start
> 5?gluster volume rebalance VOLNAME migrate-data start
> Is there something I missed? Thanks a lot.

I haven't tried that but it seems OK. Just keep in mind that your new
volume won't be replicated but distributed replicated.

Regards,
-- 
Bartek Krawczyk
network and system administrator


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux