<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Krish,</span></div><div><span></span>&nbsp;</div><div><span>this is giving general volume information , can the state of volume known from&nbsp;any specific logs?</span></div><div><span></span>&nbsp;</div><div><span></span>&nbsp;</div><div><span>#gluster volume info gvol1</span></div><div><span>Volume Name: gvol1<br>Type: Distribute<br>Volume ID: aa25aa58-d191-432a-a84b-325051347af6<br>Status: Stopped<br>Number of Bricks: 1<br>Transport-type: tcp<br>Bricks:<br>Brick1: 10.0.0.30:/export/brick1<br>Options Reconfigured:<br>nfs.addr-namelookup: off<br>nfs.port: 2049<br></span></div><div>&nbsp;</div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <div style="margin: 5px 0px; padding:
 0px; border: 1px solid rgb(204, 204, 204); height: 0px; line-height: 0; font-size: 0px;" class="hr" contentEditable="false" readonly="true"></div>  <font size="2" face="Arial"> <b><span style="font-weight: bold;">From:</span></b> Krishnan Parthasarathi &lt;kparthas@redhat.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> srinivas jonn &lt;jmsrinivas@yahoo.com&gt; <br><b><span style="font-weight: bold;">Cc:</span></b> gluster-users@gluster.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, 3 June 2013 3:14 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Gluster-users] recovering gluster volume || startup failure<br> </font> </div> <div class="y_msg_container"><br>Srinivas,<br><br>Could you paste the output of "gluster volume info gvol1"?<br>This should give us an idea as to what was the state of the volume<br>before the power loss.<br><br>thanks,<br>krish<br><br>----- Original Message -----<br>&gt;
 Hello Gluster users:<br>&gt; sorry for long post, I have run out of ideas here, kindly let me know if i am<br>&gt; looking at right places for logs and any suggested actions.....thanks<br>&gt; a sudden power loss casued hard reboot - now the volume does not start<br>&gt; Glusterfs- 3.3.1 on Centos 6.1 transport: TCP<br>&gt; sharing volume over NFS for VM storage - VHD Files<br>&gt; Type: distributed - only 1 node (brick)<br>&gt; XFS (LVM)<br>&gt; mount /dev/datastore1/mylv1 /export/brick1 - mounts VHD files.......is there<br>&gt; a way to recover these files?<br>&gt; cat export-brick1.log<br>&gt; [2013-06-02 09:29:00.832914] I [glusterfsd.c:1666:main]<br>&gt; 0-/usr/sbin/glusterfsd: Started running /usr/sbin/glusterfsd version 3.3.1<br>&gt; [2013-06-02 09:29:00.845515] I [graph.c:241:gf_add_cmdline_options]<br>&gt; 0-gvol1-server: adding option 'listen-port' for volume 'gvol1-server' with<br>&gt; value '24009'<br>&gt; [2013-06-02 09:29:00.845558] I
 [graph.c:241:gf_add_cmdline_options]<br>&gt; 0-gvol1-posix: adding option 'glusterd-uuid' for volume 'gvol1-posix' with<br>&gt; value '16ee7a4e-ee9b-4543-bd61-9b444100693d'<br>&gt; [2013-06-02 09:29:00.846654] W [options.c:782:xl_opt_validate]<br>&gt; 0-gvol1-server: option 'listen-port' is deprecated, preferred is<br>&gt; 'transport.socket.listen-port', continuing with correction<br>&gt; Given volfile:<br>&gt; +------------------------------------------------------------------------------+<br>&gt; 1: volume gvol1-posix<br>&gt; 2: type storage/posix<br>&gt; 3: option directory /export/brick1<br>&gt; 4: option volume-id aa25aa58-d191-432a-a84b-325051347af6<br>&gt; 5: end-volume<br>&gt; 6:<br>&gt; 7: volume gvol1-access-control<br>&gt; 8: type features/access-control<br>&gt; 9: subvolumes gvol1-posix<br>&gt; 10: end-volume<br>&gt; 11:<br>&gt; 12: volume gvol1-locks<br>&gt; 13: type features/locks<br>&gt; 14: subvolumes gvol1-access-control<br>&gt;
 ----------<br>&gt; -----------------<br>&gt; <br>&gt; 46: option transport-type tcp<br>&gt; 47: option auth.login./export/brick1.allow<br>&gt; 6c4653bb-b708-46e8-b3f9-177b4cdbbf28<br>&gt; 48: option auth.login.6c4653bb-b708-46e8-b3f9-177b4cdbbf28.password<br>&gt; 091ae3b1-40c2-4d48-8870-6ad7884457ac<br>&gt; 49: option auth.addr./export/brick1.allow *<br>&gt; 50: subvolumes /export/brick1<br>&gt; 51: end-volume<br>&gt; +------------------------------------------------------------------------------+<br>&gt; [2013-06-02 09:29:03.963001] W [socket.c:410:__socket_keepalive] 0-socket:<br>&gt; failed to set keep idle on socket 8<br>&gt; [2013-06-02 09:29:03.963046] W [socket.c:1876:socket_server_event_handler]<br>&gt; 0-socket.glusterfsd: Failed to set keep-alive: Operation not supported<br>&gt; [2013-06-02 09:29:04.850120] I [server-handshake.c:571:server_setvolume]<br>&gt; 0-gvol1-server: accepted client from<br>&gt;
 iiclab-oel1-9347-2013/06/02-09:29:00:835397-gvol1-client-0-0 (version:<br>&gt; 3.3.1)<br>&gt; [2013-06-02 09:32:16.973786] W [glusterfsd.c:831:cleanup_and_exit]<br>&gt; (--&gt;/usr/lib64/libgfrpc.so.0(rpcsvc_notify+0x93) [0x30cac0a5b3]<br>&gt; (--&gt;/usr/lib64/libgfrpc.so.0(rpcsvc_handle_rpc_call+0x293) [0x30cac0a443]<br>&gt; (--&gt;/usr/sbin/glusterfsd(glusterfs_handle_terminate+0x15) [0x40a955]))) 0-:<br>&gt; received signum (15), shutting down<br>&gt; [2013-06-02 09:32:16.973895] W [glusterfsd.c:831:cleanup_and_exit]<br>&gt; (--&gt;/lib64/libc.so.6(clone+0x6d) [0x3ef56e68ed] (--&gt;/lib64/libpthread.so.0()<br>&gt; [0x3ef5a077e1] (--&gt;/usr/sbin/glusterfsd(glusterfs_sigwaiter+0xdd)<br>&gt; [0x405d4d]))) 0-: received signum (15), shutting down<br>&gt; NFS LOG<br>&gt; [2013-06-02 09:29:00.918906] I [rpc-clnt.c:1657:rpc_clnt_reconfig]<br>&gt; 0-gvol1-client-0: changing port to 24009 (from 0)<br>&gt; [2013-06-02 09:29:03.963023] W
 [socket.c:410:__socket_keepalive] 0-socket:<br>&gt; failed to set keep idle on socket 8<br>&gt; [2013-06-02 09:29:03.963062] W [socket.c:1876:socket_server_event_handler]<br>&gt; 0-socket.glusterfsd: Failed to set keep-alive: Operation not supported<br>&gt; [2013-06-02 09:29:04.849941] I<br>&gt; [client-handshake.c:1636:select_server_supported_programs] 0-gvol1-client-0:<br>&gt; Using Program GlusterFS 3.3.1, Num (1298437), Version (330)<br>&gt; [2013-06-02 09:29:04.853016] I [client-handshake.c:1433:client_setvolume_cbk]<br>&gt; 0-gvol1-client-0: Connected to 10.0.0.30:24009, attached to remote volume<br>&gt; '/export/brick1'.<br>&gt; [2013-06-02 09:29:04.853048] I [client-handshake.c:1445:client_setvolume_cbk]<br>&gt; 0-gvol1-client-0: Server and Client lk-version numbers are not same,<br>&gt; reopening the fds<br>&gt; [2013-06-02 09:29:04.853262] I<br>&gt; [client-handshake.c:453:client_set_lk_version_cbk] 0-gvol1-client-0: Server<br>&gt; lk version
 = 1<br>&gt; <br>&gt; _______________________________________________<br>&gt; Gluster-users mailing list<br>&gt; <a href="mailto:Gluster-users@gluster.org" ymailto="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>&gt; <a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br><br><br></div> </div> </div>  </div></body></html>