Barberi, Carl E
2011-Oct-11 19:07 UTC
[Lustre-discuss] Unable to write to the Lustre File System as any user except root
I have a File Server set up running Lustre 2.1. I have one MDS and 3 OSS with Infiniband interconnect. The MDS and 3 OSS mount fine and I am able to mount a client. If I perform any basic operation (such as "ll", "cp", "mv", etc.) as root, it appears to work. However, when I run as any other user, I get the following error in my syslog: " LustreError: 11-0: an error occurred while communicating with 192.168.10.2 at o2ib<mailto:192.168.10.2 at o2ib>. The mds_getxattr operation failed with -13." It tells me that I don''t have permission to read from or write to the file system. Why am I seeing this? Thank you, Carl -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20111011/be2eeb57/attachment.html
Kilian CAVALOTTI
2011-Oct-12 06:23 UTC
[Lustre-discuss] Unable to write to the Lustre File System as any user except root
Hi Carl, On Tue, Oct 11, 2011 at 9:07 PM, Barberi, Carl E <carl.e.barberi at lmco.com> wrote:> ? LustreError: 11-0: an error occurred while communicating with > 192.168.10.2 at o2ib.? The mds_getxattr operation failed with -13.?You likely miss authentication information on your MDS about the user you''re trying to write as. Just configure NIS, LDAP or whatever you''re using on your MDS, and you should be good to go. Cheers, -- Kilian
Barberi, Carl E
2011-Oct-12 13:37 UTC
[Lustre-discuss] EXTERNAL: Re: Unable to write to the Lustre File System as any user except root
Thank you Kilian. However, I was just able to perform Lustre operations as another user. So now it seems that only one of my users exhibits the problem I saw. I don''t have NIS or LDAP configured on this MDS, but I have another Lustre FS setup elsewhere that does not exhibit any of the problems I''ve seen. Any thoughts as to why now only one user cannot access the Lustre FS? Thanks, Carl -----Original Message----- From: Kilian CAVALOTTI [mailto:kilian.cavalotti.work at gmail.com] Sent: Wednesday, October 12, 2011 2:24 AM To: Barberi, Carl E Cc: lustre-discuss at lists.lustre.org Subject: EXTERNAL: Re: [Lustre-discuss] Unable to write to the Lustre File System as any user except root Hi Carl, On Tue, Oct 11, 2011 at 9:07 PM, Barberi, Carl E <carl.e.barberi at lmco.com> wrote:> ? LustreError: 11-0: an error occurred while communicating with > 192.168.10.2 at o2ib.? The mds_getxattr operation failed with -13.?You likely miss authentication information on your MDS about the user you''re trying to write as. Just configure NIS, LDAP or whatever you''re using on your MDS, and you should be good to go. Cheers, -- Kilian
Cliff White
2011-Oct-12 15:48 UTC
[Lustre-discuss] EXTERNAL: Re: Unable to write to the Lustre File System as any user except root
If you are not using LDAP, etc, then the user''s information must be in the MDS''s password files. Users must be known to the MDS. cliffw On Wed, Oct 12, 2011 at 6:37 AM, Barberi, Carl E <carl.e.barberi at lmco.com>wrote:> Thank you Kilian. However, I was just able to perform Lustre operations as > another user. So now it seems that only one of my users exhibits the > problem I saw. I don''t have NIS or LDAP configured on this MDS, but I have > another Lustre FS setup elsewhere that does not exhibit any of the problems > I''ve seen. Any thoughts as to why now only one user cannot access the > Lustre FS? > > Thanks, > Carl > > -----Original Message----- > From: Kilian CAVALOTTI [mailto:kilian.cavalotti.work at gmail.com] > Sent: Wednesday, October 12, 2011 2:24 AM > To: Barberi, Carl E > Cc: lustre-discuss at lists.lustre.org > Subject: EXTERNAL: Re: [Lustre-discuss] Unable to write to the Lustre File > System as any user except root > > Hi Carl, > > On Tue, Oct 11, 2011 at 9:07 PM, Barberi, Carl E > <carl.e.barberi at lmco.com> wrote: > > ? LustreError: 11-0: an error occurred while communicating with > > 192.168.10.2 at o2ib. The mds_getxattr operation failed with -13.? > > You likely miss authentication information on your MDS about the user > you''re trying to write as. > Just configure NIS, LDAP or whatever you''re using on your MDS, and you > should be good to go. > > Cheers, > -- > Kilian > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss at lists.lustre.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss >-- cliffw Support Guy WhamCloud, Inc. www.whamcloud.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20111012/1228cfed/attachment.html
Barberi, Carl E
2011-Oct-12 15:57 UTC
[Lustre-discuss] EXTERNAL: Re: Unable to write to the Lustre File System as any user except root
We found the issue. The ability to write to the Lustre FS was dependent on the synchronization of the user IDs between the MDS and the clients, which I assume LDAP/NIS would take care of (as you guys mentioned). Thank you for your help. I appreciate it. Carl From: Cliff White [mailto:cliffw at whamcloud.com] Sent: Wednesday, October 12, 2011 11:48 AM To: Barberi, Carl E Cc: Kilian CAVALOTTI; lustre-discuss at lists.lustre.org Subject: Re: [Lustre-discuss] EXTERNAL: Re: Unable to write to the Lustre File System as any user except root If you are not using LDAP, etc, then the user''s information must be in the MDS''s password files. Users must be known to the MDS. cliffw On Wed, Oct 12, 2011 at 6:37 AM, Barberi, Carl E <carl.e.barberi at lmco.com<mailto:carl.e.barberi at lmco.com>> wrote: Thank you Kilian. However, I was just able to perform Lustre operations as another user. So now it seems that only one of my users exhibits the problem I saw. I don''t have NIS or LDAP configured on this MDS, but I have another Lustre FS setup elsewhere that does not exhibit any of the problems I''ve seen. Any thoughts as to why now only one user cannot access the Lustre FS? Thanks, Carl -----Original Message----- From: Kilian CAVALOTTI [mailto:kilian.cavalotti.work at gmail.com<mailto:kilian.cavalotti.work at gmail.com>] Sent: Wednesday, October 12, 2011 2:24 AM To: Barberi, Carl E Cc: lustre-discuss at lists.lustre.org<mailto:lustre-discuss at lists.lustre.org> Subject: EXTERNAL: Re: [Lustre-discuss] Unable to write to the Lustre File System as any user except root Hi Carl, On Tue, Oct 11, 2011 at 9:07 PM, Barberi, Carl E <carl.e.barberi at lmco.com<mailto:carl.e.barberi at lmco.com>> wrote:> " LustreError: 11-0: an error occurred while communicating with > 192.168.10.2 at o2ib. The mds_getxattr operation failed with -13."You likely miss authentication information on your MDS about the user you''re trying to write as. Just configure NIS, LDAP or whatever you''re using on your MDS, and you should be good to go. Cheers, -- Kilian _______________________________________________ Lustre-discuss mailing list Lustre-discuss at lists.lustre.org<mailto:Lustre-discuss at lists.lustre.org> http://lists.lustre.org/mailman/listinfo/lustre-discuss -- cliffw Support Guy WhamCloud, Inc. www.whamcloud.com<http://www.whamcloud.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20111012/a4167765/attachment-0001.html