[Gluster-users] cannot create volume

Sandeep Singh sandeep.s9006 at gmail.com
Tue Oct 23 14:38:17 UTC 2012

Hey Team,

I am running into a problem where I can not create a volume group.

I've installed all the dependencies on CentOS 6.3 and then installed all
the available rpm's from the download section of gluster.org.

I've two servers runnin on amazon cloud EC2,  I then added EBS image on
both of them and formatted as ext4 file system, then mounted on /disk2-ebs
on both of the machines.

I then installed glusterfs and started it along with rpcbind(I'm not sure
it is needed or not but I started it just in case)

I can add peers using peer probe and peer status shows that peer is added.
then I add localhost also as hostname.

Now the problem is when I try to create volume, just nothing happens prompt
dropps to terminal after some time as if it is creating volume but it does
not display anything.
Same happens when I try to start that volume.  and then finally volume info
gv1 says that this volume does not exist.

I'm completely lost here, I tried this on debian before and I was getting
the same behaviour there as well. now it's on centos. below are the commands

-bash-4.1# gluster volume create gv1 replica 2 transport tcp fs1:/disk2-ebs
-bash-4.1# gluster volume start gv1
-bash-4.1# gluster volume info gv1
Volume gv1 does not exist

On the second terminal here is the output of tail -f

[2012-10-23 10:20:47.394983] W [rpc-transport.c:174:rpc_transport_load]
0-rpc-transport: missing 'option transport-type'. defaulting to "socket"
[2012-10-23 10:20:47.575241] I
[cli-cmd-volume.c:386:cli_cmd_volume_create_cbk] 0-cli: Replicate cluster
type found. Checking brick order.
[2012-10-23 10:20:47.575804] I
[cli-cmd-volume.c:301:cli_cmd_check_brick_order] 0-cli: Brick order okay

[2012-10-23 10:22:47.576637] I [input.c:46:cli_batch] 0-: Exiting with: 110
[2012-10-23 10:28:54.741924] W [rpc-transport.c:174:rpc_transport_load]
0-rpc-transport: missing 'option transport-type'. defaulting to "socket"
[2012-10-23 10:30:54.899706] I [input.c:46:cli_batch] 0-: Exiting with: 110
[2012-10-23 10:31:11.704962] W [rpc-transport.c:174:rpc_transport_load]
0-rpc-transport: missing 'option transport-type'. defaulting to "socket"
[2012-10-23 10:31:11.865417] I [cli-rpc-ops.c:504:gf_cli3_1_get_volume_cbk]
0-cli: Received resp to get vol: 0
[2012-10-23 10:31:11.865769] I [cli-rpc-ops.c:757:gf_cli3_1_get_volume_cbk]
0-cli: Returning: -1
[2012-10-23 10:31:11.865873] I [input.c:46:cli_batch] 0-: Exiting with: -1

Please can anyone help what I am doing wrong here.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20121023/7835bccb/attachment.html>

More information about the Gluster-users mailing list