Re: home on nfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



m.roth@xxxxxxxxx writes:

> hw wrote:
>> Hi,
>>
>> I have the home directory of a user on an nfs server and mount it on a
>> client.  When the user logs in, they end up in the root directory rather
>> than in their actual home directory and need to cd into it.
>>
>> The user can read and write to their home directory, so it kinda works
>> fine --- but only kinda.  When the user starts emacs, some of the
>> settings in ~/.emacs are not applied, but the saved desktop is being
>> loaded.
>>
>> Both machines are running Centos 7.4.  What could be wrong with the nfs
>> mount?
>>
> 1. Do you have /etc/auto.master set up? How about /etc/auto.home (or do
> you set that in auto.master)?

No, the directory is mounted via an entry in /etc/fstab.

> Is /etc/exports on the NFS server exporting
> correctly (/home server:/exported/homes/&)?

The directory itself is exported, like

/path/to/mountpoint/user          client(rw)

> 2. Is autofs enabled and running on the client?

No, do have to do it that way?

This is only one user and one client, so I didn´t see any need to bother
with automatic mounting.  It´s automatic anyway because of the fstab
entry.


-- 
"Didn't work" is an error.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux