Difference between revisions of "hidden:NFS server"
From Lsdf
m |
m (Replaced content with " Configuration of the NFS service on ''hpa'' Configuration of the automounter on clients") |
||
Line 1: | Line 1: | ||
+ | [[ Configuration of the NFS service on ''hpa'']] |
||
− | The directory on the HPSS servers for the configuration files is: <b>TBD</b> |
||
+ | [[ Configuration of the automounter on clients]] |
||
− | With changing to this directory the automount will be active. |
||
− | The mount will be unmounted after 3 minutes without access. |
||
− | |||
− | ==Configuration on the HPA server (172.18.95.59)== |
||
− | |||
− | * the directory for the config files was created: <b>/export/hpa</b> |
||
− | |||
− | * The file /etc/exports was modified: |
||
− | |||
− | /export/hpa 172.18.95.0/22(rw,no_subtree_check,no_acl,no_root_squash) |
||
− | |||
− | * nfs-utils was updated with yum |
||
− | |||
− | * nfs was startetd with <b>systemctl start nfs.service</b> |
||
− | |||
− | ==Configuration on the HPSS nodes== |
||
− | |||
− | * <b>autofs</b> was installed |
||
− | yum install autofs |
||
− | |||
− | <b>alternative</b> |
||
− | |||
− | cd /tmp <br /> |
||
− | wget ftp://mirror.switch.ch/pool/4/mirror/scientificlinux/6.7/x86_64/os/Packages/hesiod-3.1.0-19.el6.x86_64.rpm |
||
− | wget ftp://mirror.switch.ch/pool/4/mirror/scientificlinux/6.4/x86_64/os/Packages/autofs-5.0.5-73.el6.x86_64.rpm<br /> |
||
− | rpm -ivh hesiod-3.1.0-19.el6.x86_64.rpm |
||
− | rpm -ivh autofs-5.0.5-73.el6.x86_64.rpm |
||
− | |||
− | |||
− | for the configuration the following files was changed: |
||
− | |||
− | <b>/etc/auto.master</b> |
||
− | |||
− | /mnt/nfs /etc/auto.hpa |
||
− | |||
− | <b>/etc/auto.hpa</b> |
||
− | |||
− | # Config files stored on HPA. Export using NFS V4 only |
||
− | hpa -fstype=nfs4 hpa.lsdf.kit.edu:/export/hpa |
||
− | |||
− | Starting autofs - <b>/etc/init.d/autofs start</b> |