Wynton & BKS: Difference between revisions

From DISI
Jump to navigation Jump to search
No edit summary
(added fix for nobody:nobody issue on Wynton)
Line 32: Line 32:
  exportfs -a
  exportfs -a


[[Issues]]
===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.   
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  
This is due to /sys/module/nfsd/parameters/nfs4_disable_idmapping.  To address:


May try this with bet. 
On the NFS Server exporting to Wynton:
  echo 'Y' > /sys/module/nfsd/parameters/nfs4_disable_idmapping
  exportfs -a
 


[[Category:Sysadmin]]
[[Category:Sysadmin]]

Revision as of 22:14, 6 July 2018

http://wynton.ucsf.edu/

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.

This is due to /sys/module/nfsd/parameters/nfs4_disable_idmapping. To address:

On the NFS Server exporting to Wynton:

 echo 'Y' > /sys/module/nfsd/parameters/nfs4_disable_idmapping 
 exportfs -a