Sometimes, when you try to mount a NFS on your server (even using the IP instead of hostname) you get the following error:
I'm trying to mount a NFS on my server (hostname: server02 / IP: 10.0.10.16), that are exported by another server (hostname: server01 / IP: 10.0.10.15 )
torator@ serv er02 :/ho me/t orat or # sudo mount 10.0 .10. 15:/ tmp/ TL12 SP07 /TL
nfsmnthelp: 1831-019 10.0.10.15: System call error number -1.
mount: 1831-008 giving up on:
10.0.10. 15:/ tmp/ TL12 SP07
System call error number -1.
torator@ serv er02 :/ho me/t orat or #
How to solve this? It's very simple, you need to add on both servers an entry on /etc/hosts file
On server01:
10.0.10.16 server02
On server02:
10.0.10.15 server01
After that, it's possible to mount the NFS
torator@ serv er02 :/ho me/t orat or # sudo mount 10.0 .10. 15:/ tmp/ TL12 SP07 /TL
torator@ serv er02 :/ho me/t orat or # df -g /TL
Filesystem GB blocks Free %Used Iused %Iused Mounted on
10.0.10. 15:/ tmp/ TL12 SP07 10.00 9.0 10% 2110 44% /TL
torator@ serv er02 :/ho me/t orat or #
I expected that this can help you
'Unix/Linux' 카테고리의 다른 글
AIX 5.3에서 6.1로 업그레이드 후 gcc 에러날 때 (0) | 2013.11.06 |
---|---|
change date of files (0) | 2013.07.10 |
(NFS) NFS Mount Problem Determination (0) | 2013.07.05 |
(NFS) How to force mountd/lockd to use a specific port. (0) | 2013.07.05 |
Sed - An Introduction and Tutorial by Bruce Barnett (0) | 2013.06.28 |