标签:决定 loading 关系 根据 mount 创建 inf dock probe
docker pull erichough/nfs-server
mkdir -p /home/ap/nas_b
Linux modprobe命令用于自动处理可载入模块。
modprobe可载入指定的个别模块,或是载入一组相依的模块。modprobe会根据depmod所产生的相依关系,决定要载入哪些模块。若在载入过程中发生错误,在modprobe会卸载整组的模块。
modprobe nfs
modprobe nfsd
  docker run --privileged -d                            -v /home/ap/nas_a:/nas_a                          -e NFS_EXPORT_0=‘/nas_a  *(rw,sync,no_root_squash,no_all_squash,no_subtree_check,nohide,crossmnt)‘    -p 2049:2049   -p 2049:2049/udp     -p 111:111     -p 111:111/udp       -p 32765:32765 -p 32765:32765/udp   -p 32767:32767 -p 32767:32767/udp   -it --name ai-nas-a   erichough/nfs-server

mount -v -t nfs -o ro,nfsvers=3,nolock,proto=udp,port=2049 128.196.126.134:/nas_a /home/ap/nas_a

标签:决定 loading 关系 根据 mount 创建 inf dock probe
原文地址:https://www.cnblogs.com/pythonx/p/14641059.html