[Gluster-users] failed to create directories

Mingfan Lu mingfan.lu at gmail.com
Wed Jan 22 03:37:09 UTC 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140122/9316fa5d/attachment.html>


More information about the Gluster-users mailing list