How do I replace a failed brick

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

 



Assume I have 4 bricks in a replica (count=2) volume:

Volume Name: data-vol

Number of Bricks: 2 x 2 = 4

Brick1: 192.168.1.101/brick

Brick2: 192.168.1.102/brick

Brick3: 192.168.1.103/brick

Brick4: 192.168.1.104/brick

Something happens to Brick3 and I want to replace it by 192.168.1.105/brick

What command should I use to replace 192.168.1.103/brick by 192.168.1.105/brick?

Can I use:

gluster volume replace-brick data-vol 192.168.1.103/brick 192.168.1.105/brick commit force? 

Or I have to start _replace-brick_ first then commit it?

Thanks,

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users

[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