|
|
想两个linux系统(一个是VM)共享文件,VM挂载到另外一个linux,我是这样做的:
server(192.168.0.126)设定
vi /etc/exports
在该文件中添加:
/home/share 192.168.0.*(rw) *(rw)
启动NFS:
/etc/rc.d/init.d/portmap start (在REDHAT中PORTMAP是默认启动的)
/etc/rc.d/init.d/nfs start
然后在VM的linux中挂载server的共享目录
mount -t nfs 192.168.0.126:/home/share /mnt/*
结果不能挂栽:
错误提示:
mount:mount to NFS server '192.168.0.126' failed:system error:no route to host
不知如何解决,请教高手指点 |
|