NFS 自動掛載

https://bbs.archlinux.org/viewtopic.php?id=176871php

There's good suggestions in Mounting NFS Not Working At Boot There's also good advice in NFS Automatic Mount Handling Notable suggestions for your perusal:linux

  1. Utilize a systemd unit file to mount your NFS shares with dependencies specified on your network and rpc.statd
  2. Utilize autofs or systemd automount facilities (see systemd.automount(5)) to mount the shares when you need them (and, presumably, after your network is fully functional)
  3. Use NetworkManager dispatcher to execute a script that mounts the NFS shares when your network comes up
  4. And of course, parting ways with systemd to return to sysvinit. Hope this helps or at least gets you headed in the right direction.

Autofs掛載: https://wiki.ubuntu.com.cn/UbuntuHelp:Autofsubuntu

相關文章
相關標籤/搜索