A server stack is the collection of software that forms the operational infrastructure on a given machine. In a computing context, a stack is an ordered pile. A server stack is one type of solution stack — an ordered selection of software that makes it possible to complete a particular task. Like in this post about Same NFS share on different clients with different local users was one problem in server stack that need for a solution. Below are some tips in manage your linux server when you find problem about linux, nfs, mount, fstab, netapp.
I have a NFS share on Netapp that is mounted on a RHEL client and I’ve set its owner and group owner from this client with chown command. User and group are local on this server. I mount the same share on another RHEL client but the user and group that can read and write must be different and local on this second server.
How can I obtain it?
Ownership of files can’t be split like that. The files on the share can only have one owner (UID) and one group (GID). The names of those groups could be different on different clients (e.g. UID 1000 is “smith” on one client and “jones” on another), but the actual UID/GID values are stored on the NFS server file system and will be the same for all clients.
If you want to have common access across multiple clients with local users, then you’ll have to have common definitions of groups on all clients (e.g. the “dummy” group has GID=1001 on all clients). The members of the group could be defined locally.