Wynton & BKS: Difference between revisions
No edit summary |
No edit summary |
||
Line 31: | Line 31: | ||
Issue command: | Issue command: | ||
exportfs -a | exportfs -a | ||
[[Issues]] | |||
CentOS 6 NFS servers are showing user/group ownerships as nobody:nobody. This problem doesn't happen on the CentOS 7 machines. They are mounted NFSv4.0. | |||
Suspecting I need to do this: echo 'Y' > /sys/module/nfsd/parameters/nfs4_disable_idmapping | |||
May try this with bet. | |||
[[Category:Sysadmin]] | [[Category:Sysadmin]] |
Revision as of 20:48, 6 July 2018
File Servers Exported to Wynton
bet 172.26.28.32 bet-wyn.wynton.ucsf.edu bet-wyn tsadi 172.26.28.33 tsadi-wyn.wynton.ucsf.edu tsadi-wyn lamed 172.26.28.34 lamed-wyn.wynton.ucsf.edu lamed-wyn
Adding a file server to Wynton
Connect an open network port on host to Wynton's network. Ask JL for IP-address and ports to connect to in BH101. Create network interface in /etc/sysconfig/network-scripts for new interface. Populate with the following:
/etc/sysconfig/network-scripts/ifcfg-<interface name>
TYPE=Ethernet DEVICE=<interface name> BOOTPROTO=static HWADDR=<MAC Address> ONBOOT=yes IPADDR=<Wynton IP> NETMASK=255.255.255.0 DHCP_HOSTNAME=<wynton network hostname>.wynton.ucsf.edu HOSTNAME=<wynton network hostname>.wynton.ucsf.edu
Create a static route to wynton
/etc/sysconfig/network-scripts/route-<interface name>
172.26.0.0/16 via 172.26.28.1 dev <interface name>
See lamed for example.
Edit /etc/exports. Backup the configuration just in case of messups. Export the NFS files to 172.26.0.0/16 with (rw,sync,fsid=<insert fsid>). Issue command:
exportfs -a
Issues CentOS 6 NFS servers are showing user/group ownerships as nobody:nobody. This problem doesn't happen on the CentOS 7 machines. They are mounted NFSv4.0.
Suspecting I need to do this: echo 'Y' > /sys/module/nfsd/parameters/nfs4_disable_idmapping
May try this with bet.