วันพฤหัสบดีที่ 26 กรกฎาคม พ.ศ. 2555

[E-mail] Can not mount NFS in Ubuntu with CentOS 6.3

Hi everybody

I'm using ubuntu 12.04.LAN IP is 192.168.1.36

I install Virtual Box. In virtual box I install CentOS 6.3. LAN IP is 192.168.56.102

2 computers can ping success

I want to mount folder in CentOS /home/www/web/uploads to /home/nfs (in Ubuntu)

Ubuntu: rootmkdir /home/nfs
/etc/init.d/nfs-kernel-server start
service portmap start
in /etc/exports I add /home/nfs 192.168.56.102(rw,insecure,no_root_squash)

In CentOS:mount -t nfs 192.168.1.36:/home/nfs /home/www/web/uploads

Error: mount.nfs: access denied by server while mounting 192.168.1.36:/home/nfs

Please help me solve this problem

Thank you very much
-------------------


Hi,
Once run "exportfs -av", and once restart portmap and nfs-kernel-server services,
after that try to mount again , in case if you face any issue , please check "tail -f /var/log/syslog"
you can also check following things from client machine
showmount -e <NFS_SERVER_IP> # it will show you nfs settings
also check following command from client side
rpcinfo -p <NFS_SERVER_IP>



ไม่มีความคิดเห็น:

แสดงความคิดเห็น