Re: failed to create directories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for Justin's reply. But my client is not 32-bit



On Thu, Jan 23, 2014 at 2:45 AM, Justin Dossey <jbd@xxxxxxxxxxxxx> wrote:
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.  

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?


On Tue, Jan 21, 2014 at 7:37 PM, Mingfan Lu <mingfan.lu@xxxxxxxxx> wrote:
Hi,

I failed to create directories (using python os.makedirs) occationally, the following is an example.

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.

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

======= Application's log ===========
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/
。。。
2014-01-22 00:02:04 - CmdUtil.executeCmd.34 - ERROR : The command:"dd if=/data/tmp/480/7073760/f73624801c0887a9db20ce600cce312c.mkv of=/mnt/upload/sh_ugc/production/video/2014/01/22/a38/466/351/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': No such file or directory
". Return status code: "1"

======= Glusterfs client 's log ===========

[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)
[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)
[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
[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


_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users



--
Justin Dossey
CTO, PodOmatic


_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux