Andreas,<div><br></div><div>Thanks, that does seem to fix the error. Fortunately its just a test environment so i can just create the uid on the lustre servers and off i go, i dont need to mess around with ldap.<br><br></div>
<div>a more descriptive error message would have been nice... :)</div><div><br><div class="gmail_quote">On Tue, Apr 21, 2009 at 5:12 PM, Andreas Dilger <span dir="ltr">&lt;<a href="mailto:adilger@sun.com">adilger@sun.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Apr 21, 2009 16:56 -0400, Michael Di Domenico wrote:<br>
&gt; it seems that everything is working, so long as i&#39;m root. when i try to do<br>
&gt; operations on the nfs share as a regular user i&#39;m getting i/o errors, both<br>
&gt; cmdline and through the finder.<br>
&gt; i created a directory as root and then chown&#39;d it my user, switched to my<br>
&gt; user in another terminal window and tried to touch a file<br>
&gt;<br>
&gt; this seems to pop up in /var/log/messages on the nfs server<br>
&gt;<br>
&gt; Apr 21 16:54:25 orange kernel: LustreError: 9357:0:(dir.c:384:ll_readdir())<br>
&gt; error reading dir 95641/3917193484 page 0: rc -43<br>
&gt; Apr 21 16:54:25 orange kernel: nfsd: non-standard errno: -43<br>
<br>
</div>-43 = Linux errno -EIDRM, which means that the UID/GID on your mac does not<br>
match any known UID/GID on the MDS. You need to update /etc/hosts and<br>
/etc/group on the MDS to add your user. There are lots of past postings<br>
about EIDRM if you are interested in the details.<br>
<br>
Alternately, in the past I&#39;ve updated the UID/GID on my Mac, with careful<br>
use of the ldap tool, but I don&#39;t recall the details (I found it on a Mac<br>
site via Google). I created a temporary Admin account, updated the Mac<br>
LDAP for my main user account to reflect the new UID/GID I wanted, then<br>
did &quot;find -uid {olduid} -print0 /my/home/dir | xargs -0 chown {newuid}&quot;,<br>
and the same for the GID.<br>
<br>
Please update the list on your results, so that it will be in the archive<br>
for future reference.<br>
<div><div></div><div class="h5"><br>
&gt; On Tue, Apr 21, 2009 at 4:51 PM, Michael Di Domenico &lt;<a href="mailto:mdidomenico4@gmail.com">mdidomenico4@gmail.com</a><br>
&gt; &gt; wrote:<br>
&gt;<br>
&gt; &gt; yes, using mount from terminal does seem to work just fine without options.<br>
&gt; &gt; i would have liked to use the finder to mount, but it works so far. i&#39;ll<br>
&gt; &gt; keep testing though<br>
&gt; &gt;<br>
&gt; &gt; On Tue, Apr 21, 2009 at 4:35 PM, Adeyemi Adesanya &lt;<a href="mailto:yemi@slac.stanford.edu">yemi@slac.stanford.edu</a>&gt;wrote:<br>
&gt; &gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; I would try using &#39;mount&#39; from the command line because you can try<br>
&gt; &gt;&gt; various options. The &#39;-P&#39; (resvport) option may be required to force the<br>
&gt; &gt;&gt; client to connect using a reserved port number. You will need to run &#39;mount&#39;<br>
&gt; &gt;&gt; as root in order to use this option.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; check the man pages for mount and mount_nfs on your mac.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; ------<br>
&gt; &gt;&gt; Yemi<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; On Apr 21, 2009, at 1:29 PM, Michael Di Domenico wrote:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; I used finder on the mac to mount the filesystem, but i wouldn&#39;t<br>
&gt; &gt;&gt;&gt; expect that to be any different then opening a terminal window and<br>
&gt; &gt;&gt;&gt; using the mount command, but i&#39;ll try it<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; I do see these in /var/log/messages<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Apr 21 15:52:19 orange kernel: nfsd: non-standard errno: -43<br>
&gt; &gt;&gt;&gt; Apr 21 15:52:19 orange last message repeated 3 times<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; On 4/21/09, Brian J. Murrell &lt;<a href="mailto:Brian.Murrell@sun.com">Brian.Murrell@sun.com</a>&gt; wrote:<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; On Tue, 2009-04-21 at 15:59 -0400, Michael Di Domenico wrote:<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt; Is it possible to mount a lustre file system that&#39;s being exported via<br>
&gt; &gt;&gt;&gt;&gt;&gt; nfs,<br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; Yes.<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; on a Mac OSX workstation?<br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; Dunno about that part. I haven&#39;t done that myself.<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; I searched through the web, but I&#39;m unable to find any references to<br>
&gt; &gt;&gt;&gt;&gt;&gt; anyone trying it whether successful or failure.<br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; Certainly there is lots of success stories of mounting nfs exported<br>
&gt; &gt;&gt;&gt;&gt; lustre. As for the specifically with MacOS X, that&#39;s the unknown.<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; When I try it here on my testbed it mounts fine, but sending any data<br>
&gt; &gt;&gt;&gt;&gt;&gt; causes an input/output error and does not create the file at all.<br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; Do you get any errors on the Lustre client (NFS server)?<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; b.<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; _______________________________________________<br>
&gt; &gt;&gt;&gt; Lustre-discuss mailing list<br>
&gt; &gt;&gt;&gt; <a href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a><br>
&gt; &gt;&gt;&gt; <a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;<br>
<br>
&gt; _______________________________________________<br>
&gt; Lustre-discuss mailing list<br>
&gt; <a href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a><br>
&gt; <a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br>
<br>
<br>
</div></div><div><div></div><div class="h5">Cheers, Andreas<br>
--<br>
Andreas Dilger<br>
Sr. Staff Engineer, Lustre Group<br>
Sun Microsystems of Canada, Inc.<br>
<br>
</div></div></blockquote></div><br></div>