Wynton & BKS

From DISI
Revision as of 20:19, 17 September 2018 by Benrwong (talk | contribs) (added qof)
Jump to navigation Jump to search

http://wynton.ucsf.edu/

File Servers Exported to Wynton

File servers accessible over automount. While on wynton, "ls /bks/[NFS name]". Eg: ls /bks/ex9/work

bet 172.26.28.32      bet-wyn.wynton.ucsf.edu         bet-wyn:/work
tsadi 172.26.28.33    tsadi-wyn.wynton.ucsf.edu       tsadi-wyn:/ex1,/ex2,/ex3,/ex4
lamed 172.26.28.34    lamed-wyn.wynton.ucsf.edu       lamed-wyn:/ex5,/ex6,/ex7,/ex8
qof   172.26.28.35    qof-wyn.wynton.ucsf.edu         qof-wyn:/ex9

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