stepping-stone / node-integration

The FOSS-Cloud's node configuration scripts
Other
0 stars 0 forks source link

node-integration fails for secondary storage node: brick is a mount point #20

Open dev-zero opened 10 years ago

dev-zero commented 10 years ago

The following happens during node-configuration on stoney cloud 1.2.10.7 (and glusterfs 3.4.2-r1):

Executing: gluster peer probe X.Y.Z.11 ...
Could not add gluster peer, try again in 5 seconds!
Added the gluster peer with the IP address X.Y.Z.11 successfully!

Verifying the peer status ...
Creating the distributed replicated volume ...
Executing: gluster volume create virtualization replica 2 transport tcp X.Y.Z.12:/var/data/gluster-volume-01 X.Y.Z.11:/var/data/gluster-volume-01 ...
volume create: virtualization: failed: The brick X.Y.Z.12:/var/data/gluster-volume-01 is a mount point. Please create a sub-directory under the mount point and use that as the brick directory. Or use 'force' at the end of the command if you want to override this behavior.
{
   "Return String" : "The script ended in an undefined state.",
   "Return Code" : 1
}
dev-zero commented 10 years ago

According to http://www.gluster.org/pipermail/gluster-users/2013-May/036058.html upstream recommends to use a sub-directory for "ease of maintenance". Don't know why yet, might have to investigate first before blindly applying "force".