您的位置:首页 > 其它

Rhel 7 nfs install

2015-08-24 10:46 295 查看
1. NFS server

yum -y install nfs-utils

systemctl  enable rpcbind

systemctl  enable nfs-server

mkdir /nvme

mount /dev/nvme0n1 /nvme

vim /etc/exports

[root@memblaze-lyk1 ~]# cat /etc/exports

/nvme *(rw,sync,no_root_squash,no_all_squash)

systemctl restart nfs-server

2. NFS client

[root@memblaze-lyk3 ~]# showmount  -e 40.0.01

Export list for 40.0.01:

/nvme *

[root@memblaze-lyk3 ~]# showmount  -e 40.0.0.1

Export list for 40.0.0.1:

/nvme *

[root@memblaze-lyk3 ~]# mkdir /nvme

[root@memblaze-lyk3 ~]# mount 40.0.0.1:/nvme /nvme
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: