<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
David Simas wrote:
<blockquote cite="mid:20100527190828.GB12279@horus.slac.stanford.edu"
 type="cite">
  <pre wrap="">On Thu, May 27, 2010 at 12:50:15PM -0600, Andreas Dilger wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">There have been some reports of problems with automount and Lustre  
that have never been tracked down.  If someone with automount  
experience and config, and time to track this down could investigate  
I'm sure we could work it out.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
The autofs that comes with RHEL5 won't mount Lustre.  We got
it working with autofs-5.0.3-36, from some version of Fedora.
Later versions of autofs should also work.  The fix to autofs
is almost trivial.  A function scans the mount command to
make sure it contains just "legal" characters.  To get Lustre
to automount, it needs "@" in it's list of such.  

We did find that the automounter sometimes failed to remove
the Lustre record from /etc/mtab on unmounting the file system.
That would cause subsequent remounts to fail.  Another easy
fix: link /etc/mtab to /proc/mounts.

  </pre>
</blockquote>
<br>
Also, remember that you can't mount Lustre subdirectories. That is, you
can mount your Lustre filesystem as, say, /home, but you can't mount
/home/username.<br>
<br>
An approach that we are testing (but haven't tried in production yet)
was suggested by an earlier post from Andreas Dilger, and involves two
automounts. The first mounts the base Lustre filesystem(s) somewhere
(say, /lustre) as a direct mount, the second is /etc/auto.home and
looks like this:<br>
<br>
*    -bind    :/lustre/&<br>
<br>
In our case we have an executable map that generates the mount line
based on the contents of the description field in LDAP (which indicates
which Lustre FS contains the home - we have two), but the principle is
the same.<br>
<blockquote cite="mid:20100527190828.GB12279@horus.slac.stanford.edu"
 type="cite">
  <pre wrap="">David S.

  </pre>
  <blockquote type="cite">
    <pre wrap="">Cheers, Andreas

On 2010-05-27, at 12:24, David Noriega <a class="moz-txt-link-rfc2396E" href="mailto:tsk133@my.utsa.edu"><tsk133@my.utsa.edu></a> wrote:

    </pre>
    <blockquote type="cite">
      <pre wrap="">We are pre-Lustre right now and have some questions. Currently our  
cluster uses LDAP+automount to mount user's home directories from  
our file server.  Once we go Lustre, is there any sort of  
modification to LDAP or automount(besides the installation of the  
Lustre client programs) needed?

-- 
Personally, I liked the university. They gave us money and  
facilities, we didn't have to produce anything! You've never been  
out of college! You don't know what it's like out there! I've worked  
in the private sector. They expect results. -Ray Ghostbusters
_______________________________________________
Lustre-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lustre.org/mailman/listinfo/lustre-discuss">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a>
      </pre>
    </blockquote>
    <pre wrap="">_______________________________________________
Lustre-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lustre.org/mailman/listinfo/lustre-discuss">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->_______________________________________________
Lustre-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lustre.org/mailman/listinfo/lustre-discuss">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a>
  </pre>
</blockquote>
</body>
</html>