nfs mount: No such file or directory ?
Im having some odd behavior when try mount NFS share on my Solaris 10.
NFS Server is Linux SUSE and this share I can mount easily on any another Linux box in my network. However, when I try to mount this same share under my Solaris I get following error. Code:
# mount -F nfs 10.23.5.30:/var/backups/ /export/home/a Any ideas ? |
You verified "/export/home/a" exists on the Solaris server? That appears to be what the message is complaining about.
|
As I have written:
Quote:
|
It would help if you provide more clues and details about this issue.
Can you for example explain how did you check the paths? i.e. what command(s) you used and what output you got? |
OK. I think it is all written in my 1st post but let me try again with full details.
This is NFS server: Linux SUSE (SUSE Linux Enterprise Server 11 (x86_64)) IP: 10.23.5.30 Code:
suse1:/var/backups/ # pwd Code:
[root@solaris1 /export/home/a]# pwd Code:
[root@solaris1 /]# mount -F nfs 10.23.5.30:/var/backups/ /export/home/a |
I'm afraid that's not the same error message.
Please copy/paste what is actually written. |
you should not stand in the directory (/export/home/a) if you want to use it for mounts.
check if /var/backup really shared |
Here is screen shot for SUSE Linux (NFS server): https://www.dropbox.com/s/rak5p012oxlbue7/nfs1.PNG?dl=0
Code:
suse1:/var/backups # pwd Here is the sitiation on Solaris: https://www.dropbox.com/s/ckep98ce3n...olnfs.PNG?dl=0 Code:
[root@solaris1 /]# pwd I also tried to mount this share on another machine (with RHEL) and it mounts with no problem @pan64 - im obviously not in the mount point dir. See that prompt is / |
What does "exportfs" with no options output on the NFS server?
What does "showmount <nfs-server>" output on the NFS server? What does the same command output on the target NFS client system? What does "ping 10.23.50.5" from the NFS client system show? |
Like I said, I can mount this share form another machine (under RHEL).
Here is an output you ask: NFS Server Code:
suse1:~ # exportfs Code:
[root@solaris1 /]# showmount 10.23.5.30 |
Sorry - command should be "showmount -e" so it shows you what mounts are available that can be seen.
Is the IP of the client in range between 10.23.5.0 and 10.23.5.127? Your export is restricting it to that range? Is there a firewall running on the client? Does disabling that firewall make it work? Are you running the NFS client on the client? That is on some OSes like Linux the NFS server and the NFS client are started separately. It has been a while since I did Solaris. Is the RPC daemon running there? |
In case someone comes across this many years later, I found the solution for me on another search result that I cannot link as this is my first post
For me, it was as simple as adding the option `-o vers=3` to the mount command. This works: ``` bash-3.2# mount -F nfs -o vers=3 server:/shares/data1 /mnt/filer/data1 ``` After previously seeing `No such file or directory` response: ``` bash-3.2# mount -F nfs server:/shares/data1 /mnt/filer/data1 nfs mount: server:/shares/data1: No such file or directory ``` |
All times are GMT -5. The time now is 01:56 AM. |