<div dir="ltr">This is a long shot, but the "inode not found" message makes me wonder whether your client is 32-bit while your server is 64-bit. If the client is using 32-bit inode numbers but the server is using 64-bit inode numbers, you could have something like this happen, I think. <div>
<br></div><div>If your client is 32-bit but the GlusterFS server is 64-bit, could you confirm that the volume is mounted with the enable-ino32 option?</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 21, 2014 at 7:37 PM, Mingfan Lu <span dir="ltr"><<a href="mailto:mingfan.lu@gmail.com" target="_blank">mingfan.lu@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,<br><br>I failed to create directories (using python os.makedirs) occationally, the following is an example.<br>
<br>When 00:01:56, my application try to create the directories /mnt/upload/sh_ugc/production/video/2014/01/22/a38/466/351/ ,but finally, my application failed write the file to the directories. I use ls to find that the directories doesn't exist, that means the application failed to create the directories.<br>
<br></div><div>From the glusterfs client's log, I found those pasted below, I could not understand why? any could help to figure out the root cause? thanks<br><br></div><i><b>======= Application's log ===========</b></i><br>
<div>2014-01-22 00:01:56 - FileUtil.createDir.83 - INFO : create an download
dir named /mnt/upload/sh_ugc/production/video/2014/01/22/a38/466/351/<br>。。。<br>2014-01-22 00:02:04 - CmdUtil.executeCmd.34 - ERROR : The command:"dd
if=/data/tmp/<a href="tel:480%2F7073760" value="+14807073760" target="_blank">480/7073760</a>/f73624801c0887a9db20ce600cce312c.mkv
<b>of=/mnt/upload/sh_ugc/production/video/2014/01/22/a38/466/351/</b>5ebc87b8-82b5-11e3-8262-b8ca3a608648
bs=1M" execute faily. Error info is "dd: opening
`/mnt/upload/sh_ugc/production/video/2014/01/22/a38/466/351/5ebc87b8-82b5-11e3-8262-b8ca3a608648':<b>
No such file or directory</b><br>". Return status code: "1"<br><br><i><b>======= Glusterfs client 's log ===========</b></i><br><br>[2014-01-22 00:01:58.331699] W [client3_1-fops.c:327:client3_1_mkdir_cbk] 0-sh-ugc1-mams-client-23: remote operation failed: File exists. Path: /production/video/2014/01/22/a38 (00000000-0000-0000-0000-000000000000)<br>
[2014-01-22 00:01:58.331897] W [client3_1-fops.c:327:client3_1_mkdir_cbk] 0-sh-ugc1-mams-client-22: remote operation failed: File exists. Path: /production/video/2014/01/22/a38 (00000000-0000-0000-0000-000000000000)<br>[2014-01-22 00:01:58.678114] W [fuse-bridge.c:255:fuse_entry_cbk] 0-glusterfs-fuse: 89189949: MKDIR() /production/video/2014/01/22/a38 returning inode 0<br>
[2014-01-22 00:01:58.701931] W [inode.c:914:inode_lookup] (-->/usr/lib64/glusterfs/3.3.0.5rhs_iqiyi_7/xlator/debug/io-stats.so(io_stats_mkdir_cbk+0x1b0) [0x7f26c539e4f0] (-->/usr/lib64/glusterfs/3.3.0.5rhs_iqiyi_7/xlator/mount/fuse.so(+0xf39c) [0x7f26c974739c] (-->/usr/lib64/glusterfs/3.3.0.5rhs_iqiyi_7/xlator/mount/fuse.so(+0xf25b) [0x7f26c974725b]))) 0-fuse: inode not found<br>
<br></div></div>
<br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Justin Dossey<br>
CTO, PodOmatic<div><br></div>
</div>