<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>&nbsp;&nbsp; &nbsp; The setup is very basic for testing, a single FreeBSD 7.0 server functioning as server and client. &nbsp;The behavior is quite strange. &nbsp;As I mentioned writes work, and if I specifically pass a filename to ls (`ls -l foo`) it displays the file and proper attributes, but a plain `ls` with no arguments returns nothing whatsoever. &nbsp;Reads do work though as if I do `vi foo` I'm able to edit the file then save it back. &nbsp;Anyway, here are the spec files and the logs for client and server run with DEBUG. &nbsp;To keep it from being a complete mess the logs are right after startup, where all I have done is mounted the share and attempted the `ls` on the directory. &nbsp;There is a transport init failed error in the logs, not sure what to make of that since some of the file operations actually work.</div><div>&nbsp;&nbsp; &nbsp; Considering what a huge win this would be for us if it was working, I could likely provide a FreeBSD machine or two if that's what stands between the current state of things and getting it to a fully functional level.</div><div><br></div><div>server spec:</div><div><br></div><div><div>volume brick</div><div>&nbsp;&nbsp;type storage/posix</div><div>&nbsp;&nbsp;option directory /home/export</div><div>end-volume</div><div><br></div><div>volume server</div><div>&nbsp;&nbsp;type protocol/server</div><div>&nbsp;&nbsp;option transport-type tcp/server</div><div>&nbsp;&nbsp;subvolumes brick</div><div>&nbsp;&nbsp;option auth.ip.brick.allow *</div><div>end-volume</div></div><div><br></div><div><br></div><div>client spec:</div><div><br></div><div><div>volume client</div><div>&nbsp;&nbsp;type protocol/client</div><div>&nbsp;&nbsp;option transport-type tcp/client</div><div>&nbsp;&nbsp;option remote-host 127.0.0.1</div><div>&nbsp;&nbsp;option remote-subvolume brick</div><div>end-volume</div></div><div><br></div><div><br></div><div>server log:</div><div><br></div><div><div>2008-06-12 16:37:58 D [glusterfs.c:166:get_spec_fp] glusterfs: loading spec from /usr/local/etc/glusterfs/glusterfs-server.vol</div><div>2008-06-12 16:37:58 D [spec.y:107:new_section] parser: New node for 'brick'</div><div>2008-06-12 16:37:58 D [xlator.c:115:xlator_set_type] xlator: attempt to load file /usr/local/lib/glusterfs/1.3.9/xlator/storage/posix.so</div><div>2008-06-12 16:37:58 D [spec.y:127:section_type] parser: Type:brick:storage/posix</div><div>2008-06-12 16:37:58 D [spec.y:141:section_option] parser: Option:brick:directory:/home/export</div><div>2008-06-12 16:37:58 D [spec.y:198:section_end] parser: end:brick</div><div>2008-06-12 16:37:58 D [spec.y:107:new_section] parser: New node for 'server'</div><div>2008-06-12 16:37:58 D [xlator.c:115:xlator_set_type] xlator: attempt to load file /usr/local/lib/glusterfs/1.3.9/xlator/protocol/server.so</div><div>2008-06-12 16:37:58 D [spec.y:127:section_type] parser: Type:server:protocol/server</div><div>2008-06-12 16:37:58 D [spec.y:141:section_option] parser: Option:server:transport-type:tcp/server</div><div>2008-06-12 16:37:58 D [spec.y:185:section_sub] parser: child:server->brick</div><div>2008-06-12 16:37:58 D [spec.y:141:section_option] parser: Option:server:auth.ip.brick.allow:*</div><div>2008-06-12 16:37:58 D [spec.y:198:section_end] parser: end:server</div><div>2008-06-12 16:37:58 D [server-protocol.c:6299:init] server: protocol/server xlator loaded</div><div>2008-06-12 16:37:58 D [transport.c:80:transport_load] transport: attempt to load file /usr/local/lib/glusterfs/1.3.9/transport/tcp/server.so</div><div>2008-06-12 16:37:58 D [server-protocol.c:6340:init] server: defaulting limits.transaction-size to 4194304</div><div>2008-06-12 16:38:48 D [tcp-server.c:145:tcp_server_notify] server: Registering socket (5) for new transport object of 127.0.0.1</div><div>2008-06-12 16:38:48 D [ip.c:120:gf_auth] brick: allowed = "*", received ip addr = "127.0.0.1"</div><div>2008-06-12 16:38:48 D [server-protocol.c:5664:mop_setvolume] server: accepted client from 127.0.0.1:1023</div><div>2008-06-12 16:38:48 D [server-protocol.c:5707:mop_setvolume] server: creating inode table with lru_limit=1024, xlator=brick</div><div>2008-06-12 16:38:48 D [inode.c:1163:inode_table_new] brick: creating new inode table with lru_limit=1024, sizeof(inode_t)=154</div><div>2008-06-12 16:38:48 D [inode.c:577:__create_inode] brick/inode: create inode(1)</div><div>2008-06-12 16:38:48 D [inode.c:367:__active_inode] brick/inode: activating inode(140733193388033), lru=0/1024</div><div>2008-06-12 16:38:48 D [inode.c:577:__create_inode] brick/inode: create inode(19725238606894080)</div><div>2008-06-12 16:38:48 D [inode.c:367:__active_inode] brick/inode: activating inode(19725238606894080), lru=0/1024</div><div>2008-06-12 16:38:48 D [inode.c:367:__active_inode] brick/inode: activating inode(19725238606894080), lru=0/1024</div><div>2008-06-12 16:38:48 D [inode.c:367:__active_inode] brick/inode: activating inode(19725238606894080), lru=0/1024</div><div>2008-06-12 16:38:48 D [inode.c:367:__active_inode] brick/inode: activating inode(19725238606894080), lru=0/1024</div><div><br></div><div><br></div><div>client log file:</div><div><br></div><div><div>2008-06-12 16:38:20 D [glusterfs.c:166:get_spec_fp] glusterfs: loading spec from /usr/local/etc/glusterfs/glusterfs-client.vol</div><div>2008-06-12 16:38:20 D [spec.y:107:new_section] parser: New node for 'client'</div><div>2008-06-12 16:38:20 D [xlator.c:115:xlator_set_type] xlator: attempt to load file /usr/local/lib/glusterfs/1.3.9/xlator/protocol/client.so</div><div>2008-06-12 16:38:20 D [spec.y:127:section_type] parser: Type:client:protocol/client</div><div>2008-06-12 16:38:20 D [spec.y:141:section_option] parser: Option:client:transport-type:tcp/client</div><div>2008-06-12 16:38:20 D [spec.y:141:section_option] parser: Option:client:remote-host:127.0.0.1</div><div>2008-06-12 16:38:20 D [spec.y:141:section_option] parser: Option:client:remote-subvolume:brick</div><div>2008-06-12 16:38:20 D [spec.y:198:section_end] parser: end:client</div><div>2008-06-12 16:38:20 D [glusterfs.c:128:fuse_graph] glusterfs: setting option mount-point to /mnt/gluster</div><div>2008-06-12 16:38:20 D [xlator.c:115:xlator_set_type] xlator: attempt to load file /usr/local/lib/glusterfs/1.3.9/xlator/mount/fuse.so</div><div>2008-06-12 16:38:20 D [client-protocol.c:5313:notify] client: transport init failed</div><div>2008-06-12 16:38:20 D [client-protocol.c:5006:init] client: defaulting transport-timeout to 42</div><div>2008-06-12 16:38:20 D [transport.c:80:transport_load] transport: attempt to load file /usr/local/lib/glusterfs/1.3.9/transport/tcp/client.so</div><div>2008-06-12 16:38:20 D [client-protocol.c:5033:init] client: defaulting limits.transaction-size to 268435456</div><div>2008-06-12 16:38:20 D [inode.c:1163:inode_table_new] fuse: creating new inode table with lru_limit=1024, sizeof(inode_t)=154</div><div>2008-06-12 16:38:20 D [inode.c:577:__create_inode] fuse/inode: create inode(1)</div><div>2008-06-12 16:38:20 D [inode.c:367:__active_inode] fuse/inode: activating inode(140733193388033), lru=0/1024</div><div>2008-06-12 16:38:48 D [tcp-client.c:77:tcp_connect] client: socket fd = 5</div><div>2008-06-12 16:38:48 D [tcp-client.c:107:tcp_connect] client: finalized on port `1023'</div><div>2008-06-12 16:38:48 D [tcp-client.c:128:tcp_connect] client: defaulting remote-port to 6996</div><div>2008-06-12 16:38:48 D [common-utils.c:179:gf_resolve_ip] resolver: DNS cache not present, freshly probing hostname: 127.0.0.1</div><div>2008-06-12 16:38:48 D [common-utils.c:204:gf_resolve_ip] resolver: returning IP:127.0.0.1[0] for hostname: 127.0.0.1</div><div>2008-06-12 16:38:48 D [common-utils.c:212:gf_resolve_ip] resolver: flushing DNS cache</div><div>2008-06-12 16:38:48 D [tcp-client.c:161:tcp_connect] client: connect on 5 in progress (non-blocking)</div><div>2008-06-12 16:38:48 D [tcp-client.c:205:tcp_connect] client: connection on 5 success</div><div>2008-06-12 16:38:48 D [client-protocol.c:5342:notify] client: got GF_EVENT_CHILD_UP</div><div>2008-06-12 16:38:48 W [client-protocol.c:280:client_protocol_xfer] client: attempting to pipeline request type(1) op(34) with handshake</div><div>2008-06-12 16:38:48 D [client-protocol.c:5096:client_protocol_handshake_reply] client: reply frame has callid: 424242</div><div>2008-06-12 16:38:48 D [client-protocol.c:5130:client_protocol_handshake_reply] client: SETVOLUME on remote-host succeeded</div><div>2008-06-12 16:38:48 D [fuse-bridge.c:375:fuse_entry_cbk] glusterfs-fuse: 0: (34) / => 515396075521</div><div>2008-06-12 16:38:48 W [fuse-bridge.c:389:fuse_entry_cbk] glusterfs-fuse: 0: (34) / => 515396075521 Rehashing 0/0</div><div>2008-06-12 16:38:48 D [fuse-bridge.c:1751:fuse_opendir] glusterfs-fuse: 0: OPEN /</div><div>2008-06-12 16:38:48 D [fuse-bridge.c:678:fuse_fd_cbk] glusterfs-fuse: 0: (22) / => 0x80139e0e0</div><div>2008-06-12 16:38:48 D [fuse-bridge.c:2056:fuse_statfs] glusterfs-fuse: 0: STATFS</div><div>2008-06-12 16:38:48 D [fuse-bridge.c:1931:fuse_readdir] glusterfs-fuse: 0: READDIR (0x80139e0e0, size=4096, offset=0)</div><div>2008-06-12 16:38:48 D [fuse-bridge.c:1899:fuse_readdir_cbk] glusterfs-fuse: 0: READDIR => 568/4096,0</div><div>2008-06-12 16:38:48 D [fuse-bridge.c:1958:fuse_releasedir] glusterfs-fuse: 0: CLOSEDIR 0x80139e0e0</div><div>2008-06-12 16:38:48 D [fuse-bridge.c:916:fuse_err_cbk] glusterfs-fuse: 0: (24) ERR => 0</div><div>2008-06-12 16:38:48 D [fuse-bridge.c:375:fuse_entry_cbk] glusterfs-fuse: 0: (34) / => 140733193388033</div><div>2008-06-12 16:38:48 D [fuse-bridge.c:1751:fuse_opendir] glusterfs-fuse: 0: OPEN /</div><div>2008-06-12 16:38:48 D [fuse-bridge.c:678:fuse_fd_cbk] glusterfs-fuse: 0: (22) / => 0x80139e0e0</div><div>2008-06-12 16:38:48 D [fuse-bridge.c:2056:fuse_statfs] glusterfs-fuse: 0: STATFS</div><div>2008-06-12 16:38:48 D [fuse-bridge.c:1931:fuse_readdir] glusterfs-fuse: 0: READDIR (0x80139e0e0, size=4096, offset=0)</div><div>2008-06-12 16:38:48 D [fuse-bridge.c:1899:fuse_readdir_cbk] glusterfs-fuse: 0: READDIR => 568/4096,0</div><div>2008-06-12 16:38:48 D [fuse-bridge.c:1958:fuse_releasedir] glusterfs-fuse: 0: CLOSEDIR 0x80139e0e0</div><div>2008-06-12 16:38:48 D [fuse-bridge.c:916:fuse_err_cbk] glusterfs-fuse: 0: (24) ERR => 0</div></div></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--&nbsp;<br>Scott Larson<br>Network Administrator<br><br></div><div>Wiredrive<br>4216 3/4 Glencoe Ave<br>Marina Del Rey, CA 90292<br>t 310.823.8238<br><a href="mailto:stl@iowainteractive.com">stl@wiredrive.com</a><br><a href="http://www.wiredrive.com/">http://www.wiredrive.com</a></div></div></span></div></span> </div><br><div><div>On Jun 3, 2008, at 1:25 AM, KE Liew wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">It would be useful to know which version you're using, and what your setup is. Posting your spec file and logs can help too.<br><br><br>KwangErn<br><br><div class="gmail_quote">On Tue, Jun 3, 2008 at 1:17 AM, Scott Larson &lt;<a href="mailto:stl@wiredrive.com">stl@wiredrive.com</a>> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> &nbsp; &nbsp; The quick question: &nbsp;Has anyone else run into the issue where<br> they can write files to a directory, but then are unable to see them<br> with something like `ls`? &nbsp;After starting the server and client and<br> mounting the glusterfs share to /mnt/gluster, if I cd into it and run<br> `touch foo &amp;&amp; ls`, no files are visible. &nbsp;However if I then look at<br> the actual directory being shared, /usr/export, file foo is present.<br> This problem seems counterintuitive. &nbsp;I can provide logs and the<br> config if there isn't an obvious answer, however nothing in the logs<br> immediately grabs me.<br> &nbsp; &nbsp; As a background, I'm looking at alternatives to our Isilon<br> cluster, and all of our client servers are FreeBSD 7.0. &nbsp;I know that<br> is not currently a supported client OS, however GlusterFS would be a<br> seemingly good candidate for our needs and the fact writes actually<br> work is promising.<br> <br> --<br> Scott Larson<br> Network Administrator<br> IOWA Interactive<br> 4216 3/4 Glencoe Ave<br> Marina Del Rey, CA 90292<br> <br> t 310.823.8238<br> f 310.823.7108<br> <a href="mailto:stl@iowainteractive.com">stl@iowainteractive.com</a><br> <a href="http://www.iowainteractive.com" target="_blank">http://www.iowainteractive.com</a><br> <a href="http://www.wiredrive.com" target="_blank">http://www.wiredrive.com</a><br> <br> <br> _______________________________________________<br> Gluster-users mailing list<br> <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br> <a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br> </blockquote></div><br></blockquote></div><br></body></html>