<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Perhaps more expansively:<br>
Is the new MDS configured to be able to authenticate these users?  Using /etc/passwd synchronization to do network auth is nasty.  It's just asking for weird troubles if you don't get it exactly right.  LDAP or similar is the way to go.</p>
<p><br>
</p>
<p>- Patrick<br>
</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> lustre-discuss <lustre-discuss-bounces@lists.lustre.org> on behalf of Carlson, Timothy S <Timothy.Carlson@pnnl.gov><br>
<b>Sent:</b> Monday, December 12, 2016 11:24:38 AM<br>
<b>To:</b> Phill Harvey-Smith; lustre-discuss@lists.lustre.org<br>
<b>Subject:</b> Re: [lustre-discuss] problems accessing files as non-root user.</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Does your new MDS server have all the UIDs of these people in /etc/passwd?<br>
<br>
Tim<br>
<br>
-----Original Message-----<br>
From: lustre-discuss [<a href="mailto:lustre-discuss-bounces@lists.lustre.org">mailto:lustre-discuss-bounces@lists.lustre.org</a>] On Behalf Of Phill Harvey-Smith<br>
Sent: Monday, December 12, 2016 9:16 AM<br>
To: lustre-discuss@lists.lustre.org<br>
Subject: [lustre-discuss] problems accessing files as non-root user.<br>
<br>
Hi All,<br>
<br>
I'm in the final step of upgrading our storage servers to lustre 2.8.<br>
<br>
The MDS/OSS are running on Centos 7.2 the clients are Ubuntu 12.04, though I also have a virtual machine running on Centos 7.2 as a client, both seem to exhibit the same problem.<br>
<br>
Our old environment was a 2.4 client and a 2.1 server.<br>
<br>
I have used rsync across ssh to sync the data from the old environment to the new, this appeared to work correctly.<br>
<br>
However trying to access the data on the new clients (ether the Ubuntu or Centos), as a non-root user results in strange errors and an inability to access the files. Accessing them as root seems to work without error.<br>
<br>
for example one of my filesystems is mounted as /home :<br>
<br>
192.168.0.6@tcp0:/storage               /storage        lustre <br>
defaults,_netdev,flock,noauto 0 0<br>
192.168.0.6@tcp0:/home                  /home           lustre <br>
defaults,_netdev,flock,noauto 0 0<br>
192.168.0.6@tcp0:/scratch               /scratch        lustre <br>
defaults,_netdev,flock,noauto 0 0<br>
<br>
for example as user stsxab doning an ls -la of /home results in many entries such as :<br>
<br>
stsxab@test-r420:/home$ ls -la<br>
ls: .: Bad address<br>
ls: cannot access margaw: Permission denied<br>
ls: home.old: Bad address<br>
ls: strjab: Bad address<br>
ls: margbe: Bad address<br>
ls: strmah: Bad address<br>
ls: strkar: Bad address<br>
<br>
etc before a list of some of the directories.<br>
<br>
The following is also logged in /var/log/syslog :<br>
Dec 12 17:09:30 test-r420 kernel: [ 1622.960000] Lustre: Unmounted home-client Dec 12 17:09:40 test-r420 kernel: [ 1633.122522] Lustre: Unmounted home-client Dec 12 17:10:04 test-r420 kernel: [ 1656.968193] Lustre: Mounted home-client Dec 12 17:10:04 test-r420
 kernel: [ 1656.968199] Lustre: Skipped 3 previous similar messages Dec 12 17:11:07 test-r420 kernel: [ 1720.170159] LustreError: 11-0:
<br>
home-MDT0000-mdc-ffff881002e2b000: operation ldlm_enqueue to node 192.168.0.6@tcp failed: rc = -14<br>
<br>
But doing the ls as root works fine.<br>
<br>
Any idea what the problem is with this as I need to get it resolved or roll back to the old client / servers and pospone until it is working correctly.<br>
<br>
Cheers.<br>
<br>
Phill.<br>
_______________________________________________<br>
lustre-discuss mailing list<br>
lustre-discuss@lists.lustre.org<br>
<a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br>
_______________________________________________<br>
lustre-discuss mailing list<br>
lustre-discuss@lists.lustre.org<br>
<a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br>
</div>
</span></font>
</body>
</html>