[2014-06-14 15:13:54.202483] D [glusterd-store.c:2355:glusterd_store_peerinfo] 0-: Returning with 0
[2014-06-14 15:13:54.203460] I [glusterd-rpc-ops.c:542:__glusterd_friend_update_cbk] 0-management: Received ACC from uuid: 514b76e8-7537-4660-9beb-6a2c061bb43b
[2014-06-14 15:16:30.468986] D [glusterd-volume-ops.c:69:__glusterd_handle_create_volume] 0-management: Received create volume req
[2014-06-14 15:16:30.469082] D [glusterd-utils.c:620:glusterd_check_volume_exists] 0-management: Volume devroot does not exist.stat failed with errno : 2 on path: /var/lib/glusterd/vols/devroot
[2014-06-14 15:16:30.469233] D [glusterd-utils.c:340:glusterd_lock] 0-management: Cluster lock held by 95ee24ce-5d6a-4e2d-9641-764adb5ac79a
[2014-06-14 15:16:30.470704] D [glusterd-utils.c:620:glusterd_check_volume_exists] 0-management: Volume devroot does not exist.stat failed with errno : 2 on path: /var/lib/glusterd/vols/devroot
[2014-06-14 15:16:30.470779] D [glusterd-utils.c:803:glusterd_brickinfo_new] 0-management: Returning 0
[2014-06-14 15:16:30.470819] D [glusterd-utils.c:865:glusterd_brickinfo_new_from_brick] 0-management: Returning 0
[2014-06-14 15:16:30.470853] D [glusterd-utils.c:665:glusterd_volinfo_new] 0-management: Returning 0
[2014-06-14 15:16:30.470898] D [glusterd-utils.c:749:glusterd_volume_brickinfos_delete] 0-management: Returning 0
[2014-06-14 15:16:30.470933] D [glusterd-utils.c:777:glusterd_volinfo_delete] 0-management: Returning 0
[2014-06-14 15:16:30.470967] D [glusterd-utils.c:803:glusterd_brickinfo_new] 0-management: Returning 0
[2014-06-14 15:16:30.470998] D [glusterd-utils.c:865:glusterd_brickinfo_new_from_brick] 0-management: Returning 0
[2014-06-14 15:16:30.471027] D [glusterd-utils.c:665:glusterd_volinfo_new] 0-management: Returning 0
[2014-06-14 15:16:30.471061] D [glusterd-utils.c:749:glusterd_volume_brickinfos_delete] 0-management: Returning 0
[2014-06-14 15:16:30.471090] D [glusterd-utils.c:777:glusterd_volinfo_delete] 0-management: Returning 0
[2014-06-14 15:16:30.471119] D [glusterd-utils.c:803:glusterd_brickinfo_new] 0-management: Returning 0
[2014-06-14 15:16:30.471148] D [glusterd-utils.c:865:glusterd_brickinfo_new_from_brick] 0-management: Returning 0
[2014-06-14 15:16:30.471471] D [glusterd-utils.c:5029:glusterd_friend_find_by_hostname] 0-management: Unable to find friend: sfdev1
[2014-06-14 15:16:30.471621] D [glusterd-utils.c:290:glusterd_is_local_addr] 0-management: 10.81.197.195
[2014-06-14 15:16:30.471728] D [glusterd-utils.c:257:glusterd_interface_search] 0-management: 10.81.197.195 is local address at interface eth0
[2014-06-14 15:16:30.471761] D [glusterd-utils.c:5064:glusterd_hostname_to_uuid] 0-management: returning 0
[2014-06-14 15:16:30.471789] D [glusterd-utils.c:819:glusterd_resolve_brick] 0-management: Returning 0
[2014-06-14 15:16:30.471843] D [glusterd-utils.c:5215:glusterd_new_brick_validate] 0-management: returning 0
[2014-06-14 15:16:30.472083] D [glusterd-utils.c:5029:glusterd_friend_find_by_hostname] 0-management: Unable to find friend: sfdev1
[2014-06-14 15:16:30.472260] D [glusterd-utils.c:290:glusterd_is_local_addr] 0-management: 10.81.197.195
[2014-06-14 15:16:30.472350] D [glusterd-utils.c:257:glusterd_interface_search] 0-management: 10.81.197.195 is local address at interface eth0
[2014-06-14 15:16:30.472381] D [glusterd-utils.c:5064:glusterd_hostname_to_uuid] 0-management: returning 0
[2014-06-14 15:16:30.472409] D [glusterd-utils.c:819:glusterd_resolve_brick] 0-management: Returning 0
[2014-06-14 15:16:30.472630] D [glusterd-utils.c:803:glusterd_brickinfo_new] 0-management: Returning 0
[2014-06-14 15:16:30.472668] D [glusterd-utils.c:865:glusterd_brickinfo_new_from_brick] 0-management: Returning 0
[2014-06-14 15:16:30.472697] D [glusterd-utils.c:665:glusterd_volinfo_new] 0-management: Returning 0
[2014-06-14 15:16:30.472729] D [glusterd-utils.c:749:glusterd_volume_brickinfos_delete] 0-management: Returning 0
[2014-06-14 15:16:30.472758] D [glusterd-utils.c:777:glusterd_volinfo_delete] 0-management: Returning 0
[2014-06-14 15:16:30.472788] D [glusterd-utils.c:803:glusterd_brickinfo_new] 0-management: Returning 0
[2014-06-14 15:16:30.472817] D [glusterd-utils.c:865:glusterd_brickinfo_new_from_brick] 0-management: Returning 0
[2014-06-14 15:16:30.472845] D [glusterd-utils.c:665:glusterd_volinfo_new] 0-management: Returning 0
[2014-06-14 15:16:30.472875] D [glusterd-utils.c:749:glusterd_volume_brickinfos_delete] 0-management: Returning 0
[2014-06-14 15:16:30.472903] D [glusterd-utils.c:777:glusterd_volinfo_delete] 0-management: Returning 0
[2014-06-14 15:16:30.472932] D [glusterd-utils.c:803:glusterd_brickinfo_new] 0-management: Returning 0
[2014-06-14 15:16:30.472961] D [glusterd-utils.c:865:glusterd_brickinfo_new_from_brick] 0-management: Returning 0
[2014-06-14 15:16:30.472989] D [glusterd-utils.c:4980:glusterd_friend_find_by_hostname] 0-management: Friend sfdev2 found.. state: 3
-Alex
Can you please check again the part relating to the attempt to create volume devroot in glusterd.vol.log? glusterd's log file normally contains information regarding why an operation failed.On 06/14/2014 11:38 AM, Alexey Zilber wrote:
Hi All,
I'm having a horrid time getting gluster to create a volume.
Initially, I messed up a path and had the error mentioned here:
http://joejulian.name/blog/glusterfs-path-or-a-prefix-of-it-is-already-part-of-a-volume/
I fixed it, restarted gluster on both nodes, and then I just get a
straight up failure:
# gluster volume create devroot replica 2 transport tcp
sfdev1:/data/brick1/devroot sfdev2:/data/brick1/devroot
volume create: devroot: failed
The only thing that gets created are the extended attributes in
/data/brick1/devroot on sfdev1.
Here's the cli.log.. not much in there:
---
[2014-06-14 05:42:03.519769] W [rpc-transport.c:175:rpc_transport_load]
0-rpc-transport: missing 'option transport-type'. defaulting to "socket"
[2014-06-14 05:42:03.523525] I [socket.c:3480:socket_init] 0-glusterfs:
SSL support is NOT enabled
[2014-06-14 05:42:03.523580] I [socket.c:3495:socket_init] 0-glusterfs:
using system polling thread
[2014-06-14 05:42:03.600482] I
[cli-cmd-volume.c:392:cli_cmd_volume_create_cbk] 0-cli: Replicate
cluster type found. Checking brick order.
[2014-06-14 05:42:03.600844] I
[cli-cmd-volume.c:304:cli_cmd_check_brick_order] 0-cli: Brick order okay
[2014-06-14 05:42:03.668257] I
[cli-rpc-ops.c:805:gf_cli_create_volume_cbk] 0-cli: Received resp to
create volume
[2014-06-14 05:42:03.668365] I [input.c:36:cli_batch] 0-: Exiting with: -1
---
.cmd_log_history shows:
[2014-06-14 05:42:03.668051]: volume create devroot replica 2 transport
tcp sfdev1:/data/brick1/devroot sfdev2:/data/brick1/devroot : FAILED :
etc-glusterfs-glusterd.vol.log seems good too.
-Vijay
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://supercolony.gluster.org/mailman/listinfo/gluster-users