[Gluster-users] problem adding brick to existing replicated volume
Mark Nipper
nipsy at bitgnome.net
Mon Jul 23 17:13:50 UTC 2012
I ran into a problem this morning trying to add a brick
to an existing replicated volume containing two servers. I was
able to probe the host initially, but then the add-brick failed:
---
$ gluster peer probe shake
Probe successful
$ gluster peer status
Number of Peers: 2
Hostname: vh-prod02
Uuid: 3bd398ca-5ae3-4bfd-826b-1412bb5b2407
State: Peer in Cluster (Connected)
Hostname: shake
Uuid: 71460539-c247-4439-b5cd-c5316b71c5ea
State: Peer in Cluster (Connected)
$ gluster volume add-brick images replica 3
shake:/srv/glusterd/images
Operation failed on shake
Looking at the information on the volume:
---
$ gluster volume info images
Volume Name: images
Type: Replicate
Volume ID: a3f5f6b2-6076-47a6-b4ae-8ed463766334
Status: Started
Number of Bricks: 1 x 3 = 3
Transport-type: tcp
Bricks:
Brick1: vh-prod01:/srv/glusterd/images
Brick2: vh-prod02:/srv/glusterd/images
Brick3: shake:/srv/glusterd/images
Options Reconfigured:
performance.cache-size: 512MB
network.ping-timeout: 10
So it shows the brick even though it says operation
failed. I've since removed the brick with:
---
$ gluster volume remove-brick images replica 2 shake:/srv/glusterd/images
Removing brick(s) can result in data loss. Do you want to Continue? (y/n) y
Operation failed on shake
That also failed, but now shows:
---
$ gluster volume info images
Volume Name: images
Type: Replicate
Volume ID: a3f5f6b2-6076-47a6-b4ae-8ed463766334
Status: Started
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: vh-prod01:/srv/glusterd/images
Brick2: vh-prod02:/srv/glusterd/images
Options Reconfigured:
performance.cache-size: 512MB
network.ping-timeout: 10
Although now this shows up:
---
$ gluster volume heal images info
Heal operation on volume images has been successful
Brick vh-prod01:/srv/glusterd/images
Number of entries: 1
/
Brick vh-prod02:/srv/glusterd/images
Number of entries: 1
/
which concerns me a bit.
I'm running 3.3.0 on RHEL x86-64. Anyone have any
suggestions at this point?
--
Mark Nipper
nipsy at bitgnome.net (XMPP)
+1 979 575 3193
-
'Whenever a politician starts talking about "the children,"
keep one eye on your wallet and the other on your liberty.'
-- anonymous
More information about the Gluster-users
mailing list