[CentOS] CentOS 6: files now owned by nobody:nobody

Mon Aug 29 23:25:28 UTC 2016
Pat Haley <phaley at mit.edu>

I believe NFSv4.  On the machine that contains the physical disks (is 
that the "server" or the "NSF mount"?) the relevant line from /etc/fstab 
seems to be

UUID=bde58f42-4ac4-4763-b0a8-f83723f0e2a0 /home ext4    defaults      1 2

while on my front-end machine its

mseas-data2:/home       /home      nfs     defaults        0 0

where mseas-data2 is the name of the machine that contains the physical 
disks.  Note that it isn't just root that's becoming "nobody" but all 
the users


On 08/29/2016 07:14 PM, John R Pierce wrote:
> On 8/29/2016 3:59 PM, Pat Haley wrote:
>> We are running a cluster under CentOS 6.6.  We recently attached a 
>> new NAS device, running CentOS 6.8 and rsync'd our user file system 
>> to it.  We noticed that all the files were owned by nobody (with 
>> nobody as the group).  We copied over the /etc/passwd and /etc/group 
>> files from our front-end server to our NAS server.  If we log in to 
>> the NAS server we see the files owned by their correct owners. 
>> However, doing an ls from the front-end server or any of the compute 
>> nodes still shows the files owned by "nobody".  We rebooted one of 
>> the compute nodes but it still sees the files owned by nobody.
> a CentOS server isn't really a 'NAS device', as NAS implies an 
> appliance storage device.
> this is NFS?   NFSv3, or NFSv4?   what NFS options are on the server 
> and on the NFS mount?    quite often NFS servers force root to nobody.


Pat Haley                          Email:  phaley at mit.edu
Center for Ocean Engineering       Phone:  (617) 253-6824
Dept. of Mechanical Engineering    Fax:    (617) 253-8125
MIT, Room 5-213                    http://web.mit.edu/phaley/www/
77 Massachusetts Avenue
Cambridge, MA  02139-4301