nfs
開機掛入
client:
vim /etc/rc.local
mount -t nfs -o nosuid,noexec,nodev,rw,bg,soft,rsize=32768,wsize=32768 140.116.245.205:/home /nfs_home
mount -t nfs -o rw,bg,soft,rsize=32768,wsize=32768 140.116.245.205:/opt /opt
client:
vim /etc/rc.local
mount -t nfs -o nosuid,noexec,nodev,rw,bg,soft,rsize=32768,wsize=32768 140.116.245.205:/home /nfs_home
mount -t nfs -o rw,bg,soft,rsize=32768,wsize=32768 140.116.245.205:/opt /opt
查看:
client:showmount -e hostip
host: showmount -a
(all)
留言
張貼留言