best simple nfs export and fstab commands for basic sharing?
I want rw mounts and I want username/group matching by name, not gid/uid. We have a mix of RHEL/CentOS 6/7. What are the best/simplest options to do this?
Centralized directory using nis, or LDAP.
When all the systems are part of a single directory, you can centrally manage the gid/UID is what is stored in the file system level
Which is matched to the local passwd file or a directory nis/LDAP
Storing a numeric value requires less space than trying to store a username which can contain various characters, alph, numeric, some symbols......
If using a central directory, make sure to have replicas as well as test transition of a replica to becoming the new master should the current master Fails due to HW issues.
There are write-ups on various setup/disaster situations.
Xetroximyn
ASKER
I toyed around with IPA for a bit, and had problems..... I decided I prefer local users.... simple.... I don't have to worry about any additional server or service to facilitate logins....
Is it possible to have NFS map permissions/ownership by username instead of UID?
Someone told me nfs4 can, someone else said it can't.
When all the systems are part of a single directory, you can centrally manage the gid/UID is what is stored in the file system level
Which is matched to the local passwd file or a directory nis/LDAP
Storing a numeric value requires less space than trying to store a username which can contain various characters, alph, numeric, some symbols......
If using a central directory, make sure to have replicas as well as test transition of a replica to becoming the new master should the current master Fails due to HW issues.
There are write-ups on various setup/disaster situations.