<div dir="ltr">Please forgive my lack of experience, but I&#39;ve just recently started deeply working with ocfs2 and am not familiar with all it&#39;s caveats.<div><br></div><div>We&#39;ve just deployed two servers that have SAN arrays attached to them. These arrays are synchronized with DRBD in master/master mode, with ocfs2 configured on top of that. In all my testing everything worked well, except for an issue with symbolic links throwing an exception in the kernel (ths was fixed by applying a patch I found here: <a href="http://comments.gmane.org/gmane.comp.file-systems.ocfs2.devel/8008">comments.gmane.org/gmane.comp.file-systems.ocfs2.devel/8008</a>). Of these machines, one of them is designated the master and the other is it&#39;s backup.</div>
<div><br></div><div>Host is Gentoo linux running the 3.8.13.</div><div><br></div><div>I have four other machines that are connecting to the master ocfs2 partition using nfs. The problem I&#39;m having is that on these machines, I&#39;m randomly getting read errors while trying to enter directories over nfs. In all of these cases, except on, these directories are immediately unavailable after they are created. The error that comes back is always something like this:</div>
<div><br></div><div><div>ls: cannot access /mnt/storage/documents/818/8189794/: Stale NFS file handle</div></div><div><br></div><div>The mount point is /mnt/storage. Other directories on the mount are available, and on other servers the same directory can be accessed perfectly fine.</div>
<div><br></div><div>I haven&#39;t been able to reproduce this issue in isolated testing.</div><div><br></div><div>The four machines that connect via NFS are doing one of two things:</div><div><br></div><div>1) processing e-mail through a php driven daemon (read and write, creating directories)</div>
<div>2) serving report files in PDF format over the web via a php web application (read only)</div><div><br></div><div>I believe that the ocfs2 version if 1.5. I found this in the kernel source itself, but haven&#39;t figured out how to determine this in the shell. ocfs2-tools is version 1.8.2, which is what ocfs2 wanted (maybe this is ocfs2 1.8 then?).</div>
<div><br></div><div>The only other path I can think to take is to abandon OCFS2 and use DRBD in master/slave mode with ext4 on top of that. This would still provide me with the redundancy I want, but at a lack of not being able to use both machines simultaneously.</div>
<div><br></div><div>If anyone has any advice, I&#39;d love to hear it.</div><div><br></div><div>Thanks in advance,<br></div><div><br></div><div>Adam.</div><div><br></div><div><div><br></div>-- <br>Adam Randall<br><a href="http://www.xaren.net">http://www.xaren.net</a><br>
AIM: blitz574<br>Twitter: @randalla0622<br><br>&quot;To err is human... to really foul up requires the root password.&quot;
</div></div>