<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi Avati,<br>
<br>
<br>
&nbsp;&nbsp;&nbsp; Thanks a lot! In my case, the application that tries to create a new file is not inside the folder.
<br>
<br>
<br>
&nbsp;&nbsp;&nbsp; I write a simple bash scrip to demo this problem.<br>
<br>
#!/bin/bash<br>
FOLDER=/home/mengf_lab/daimh/temp/testdir<br>
for ((i=0; i&lt;100; i&#43;&#43;))<br>
do<br>
&nbsp;&nbsp;&nbsp; echo &quot;###$i###&quot;<br>
&nbsp;&nbsp;&nbsp; ssh mengf-n1 &quot;rm -r $FOLDER; mkdir $FOLDER&quot;<br>
&nbsp;&nbsp;&nbsp; seq 10 |split -l 1 - $FOLDER/a. <br>
done<br>
<br>
<br>
And its output is <br>
###0###<br>
###1###<br>
split: /home/mengf_lab/daimh/temp/testdir/a.aa: No such file or directory<br>
###2###<br>
split: /home/mengf_lab/daimh/temp/testdir/a.aa: No such file or directory<br>
###3###<br>
###4###<br>
<br>
<br>
Best,<br>
Manhong<br>
<br>
<br>
<br>
<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF734146"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Anand Avati [anand.avati@gmail.com]<br>
<b>Sent:</b> Monday, September 10, 2012 5:25 PM<br>
<b>To:</b> Dai, Manhong<br>
<b>Cc:</b> gluster-users@gluster.org<br>
<b>Subject:</b> Re: [Gluster-users] A problem with gluster 3.3.0 and Sun Grid Engine<br>
</font><br>
</div>
<div></div>
<div><br>
<br>
<div class="gmail_quote">On Mon, Sep 10, 2012 at 8:30 AM, Manhong Dai <span dir="ltr">
&lt;<a href="mailto:daimh@umich.edu" target="_blank">daimh@umich.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<u></u>
<div>Hi,<br>
<br>
<br>
We got a huge problem on our sun grid engine cluster with glusterfs 3.3.0. Could somebody help me?<br>
<br>
<br>
Based on my understanding, if a folder is removed and recreated on other client node, a program that tries to create a new file under the folder fails very often.<br>
</div>
</blockquote>
<div><br>
</div>
<div><br>
</div>
<div>Is the directory deleted and recreated by another client/mount while the application which attempts to create the file stays cd'ed inside the directory? Can you try to confirm if this is the pattern?</div>
<div><br>
</div>
<div>Avati</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</body>
</html>