[lustre-discuss] Linux users are not able to access lustre folders

Ravi Bhat ravibhatk at gmail.com
Sat Oct 21 09:29:38 PDT 2017


Hi,
After copying users details from lustre client /etc/passwd to lustre MDS
server, it's working fine.

Now, I have bright cluster manager in my headnode, which has LDAP server.
How do I configure my lustre servers to use that LDAP server?

Regards,

Regards,
Konila Ravi Bhat

On 21-Oct-2017 4:17 am, "Dilger, Andreas" <andreas.dilger at intel.com> wrote:

On Oct 20, 2017, at 09:37, Ravi Bhat <ravibhatk at gmail.com> wrote:
>
> Hi Rick
> Thanks, I have created user (luser6) in client as well as in lustre
servers. But I get the same error as
> No directory /home/luser6
> Logging in with home="/".
>
> But now I can cd /home/luser6 manually and create files or folders.

Note that the "luser6" needs to have the same numeric UID/GID as on the
clients.
Copying /etc/passwd to the MDS is the easiest way to do this (it isn't
needed on the OSS nodes).  You probably do NOT want to copy /etc/shadow to
the MDS, to prevent regular users from logging in there.

You can check that this is configured correctly by running on the MDS (as
root):

  /usr/sbin/l_getidentity -d {uid}

to verify that "uid" is accessible from /etc/passwd (or
NIS/LDAP/AD/whatever).

Cheers, Andreas

> Regards,
> Konila Ravi Bhat
>
> On 20-Oct-2017 8:31 pm, "Mohr Jr, Richard Frank (Rick Mohr)" <
rmohr at utk.edu> wrote:
>
> > On Oct 20, 2017, at 10:50 AM, Ravi Konila <ravibhatk at gmail.com> wrote:
> >
> > Can you please guide me how do I do it, I mean install NIS on servers
and clients?
> > Is it mandatory to setup NIS?
> >
>
> NIS is not mandatory.  You just need a way to ensure that user accounts
are visible to the lustre servers.  You could also use LDAP or even just
/etc/passwd.   You’ll probably just want to choose whatever mechanism is
used on your other systems.
>
> For the purposes of testing, you could always just create the luser1
locally on each lustre server to see if things start to work.
>
> --
> Rick Mohr
> Senior HPC System Administrator
> National Institute for Computational Sciences
> http://www.nics.tennessee.edu
>
>
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Cheers, Andreas
--
Andreas Dilger
Lustre Principal Architect
Intel Corporation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20171021/df024ccf/attachment.html>


More information about the lustre-discuss mailing list