This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux:arch_home_directories [2015/02/10 01:58] walter [Configs] |
linux:arch_home_directories [2021/05/02 21:36] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Home Directories on Arch Linux ====== | ||
+ | |||
====== Client Config ====== | ====== Client Config ====== | ||
Line 20: | Line 22: | ||
</file> | </file> | ||
<file|/etc/fstab> | <file|/etc/fstab> | ||
- | 172.29.0.6:/nfs-dir /mount-point nfs4 rw,hard,intr 0 0 | + | 172.29.0.6:/nfs-dir /mount-point nfs4 rw,hard,defaults 0 0 |
</file> | </file> | ||
<file|/etc/systemd/timesyncd.conf> | <file|/etc/systemd/timesyncd.conf> | ||
Line 54: | Line 56: | ||
Change the lines in these files to the values defined. | Change the lines in these files to the values defined. | ||
- | <file|/etc/idmapd.conf> | + | |
- | Domain = acm.cs | + | |
- | </file> | + | |
- | <file|/etc/conf.d/nfs-common> | + | |
- | NEED_IDMAPD="yes" | + | |
- | </file> | + | |
The number of nfsd threads in increased from the default to improve preformance. | The number of nfsd threads in increased from the default to improve preformance. | ||
<file|/etc/conf.d/nfs-server> | <file|/etc/conf.d/nfs-server> | ||
Line 94: | Line 91: | ||
* nfs-client.target | * nfs-client.target | ||
* nfs-server.service | * nfs-server.service | ||
- | * nptd.service | + | * opennptd.service |
Start rpcbind, then nfs-common, and then nfs-server, then you will be able to mount the nfs directories, add these entries to rc.conf in the daemons array after the network/net-profiles entries. | Start rpcbind, then nfs-common, and then nfs-server, then you will be able to mount the nfs directories, add these entries to rc.conf in the daemons array after the network/net-profiles entries. |