[lustre-discuss] lustre-discuss Digest, Vol 139, Issue 39

Yasir Israr yasir at orionsolutions.co.in
Fri Oct 20 19:54:22 PDT 2017


For lustre user management it’s mandatory to have same UID / GID else you couldn’t able to sync directory properly.
You can setup NIS Server on ur master node for easy sync of user. NIS setup is easy too.


Thanks & Regards
Yasir Israr

> On 21-Oct-2017, at 6:46 AM, lustre-discuss-request at lists.lustre.org wrote:
> 
> Send lustre-discuss mailing list submissions to
>    lustre-discuss at lists.lustre.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>    http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
> or, via email, send a message with subject or body 'help' to
>    lustre-discuss-request at lists.lustre.org
> 
> You can reach the person managing the list at
>    lustre-discuss-owner at lists.lustre.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of lustre-discuss digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: Linux users are not able to access lustre folders
>      (Dilger, Andreas)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Fri, 20 Oct 2017 22:47:01 +0000
> From: "Dilger, Andreas" <andreas.dilger at intel.com>
> To: Ravi Bhat <ravibhatk at gmail.com>
> Cc: "Mohr Jr, Richard Frank (Rick Mohr)" <rmohr at utk.edu>, Lustre
>    Discuss <lustre-discuss at lists.lustre.org>
> Subject: Re: [lustre-discuss] Linux users are not able to access
>    lustre folders
> Message-ID: <563528B1-1C94-4374-A427-9617F42A0934 at intel.com>
> Content-Type: text/plain; charset="utf-8"
> 
>> 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
> 
> 
> 
> 
> 
> 
> 
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
> 
> 
> ------------------------------
> 
> End of lustre-discuss Digest, Vol 139, Issue 39
> ***********************************************



More information about the lustre-discuss mailing list