nfs connection/version problem

  • Follow


Hi,

After installing Solaris 5.10 on a UltraSparc III+, I have perfect 
connection to the internet, but can't connect to my nfs-server 
(Slackware 12). With this vfstab entry:

Kaapstad:/admin -       /mnt/Kaapstadadmin      nfs     -       yes     -

I get this error after mount -a :

nfs mount: Kaapstad:/admin: No such file or directory

Kaapstad is in the /etc/hosts file, so that's no problem. However, 
looking at nfs:

 > ps -ef | grep nfs
 >   daemon   282     1   0 09:02:26 ?           0:00 /usr/lib/nfs/lockd
 >   daemon   265     1   0 09:02:26 ?           0:00 /usr/lib/nfs/nfsmapid
 >   daemon   271     1   0 09:02:26 ?           0:00 /usr/lib/nfs/nfs4cbd
 >   daemon   267     1   0 09:02:26 ?           0:00 /usr/lib/nfs/statd

Makes me suspect I have nfs4 running, instead of nfs3. And the server 
doesn't accept nfs4 connections. Can I safely (and easily) replace nfs4 
by nfs3?

Thank you.
0
Reply Huub 1/29/2010 12:46:15 PM

Huub <v.niekerk_@_hccnet.nl> writes:

>Hi,

>After installing Solaris 5.10 on a UltraSparc III+, I have perfect 
>connection to the internet, but can't connect to my nfs-server 
>(Slackware 12). With this vfstab entry:

>Kaapstad:/admin -       /mnt/Kaapstadadmin      nfs     -       yes     -

>I get this error after mount -a :

>nfs mount: Kaapstad:/admin: No such file or directory


I'm afraid that you need to create the directory /mnt/Kaapstadadmin
first.

Casper
-- 
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
0
Reply Casper 1/29/2010 12:51:34 PM


On 2010-01-29 12:46:15 +0000, Huub said:

> Makes me suspect I have nfs4 running, instead of nfs3. And the server 
> doesn't accept nfs4 connections. Can I safely (and easily) replace nfs4 
> by nfs3?

They should negotiate versions properly. But if there are problems with 
using a negotiated version (NFSv4 from a Linux server is problematic) 
you can edit /etc/default/nfs and force the Solaris NFS client to only 
negotiate 3.

-- 
Chris

0
Reply Chris 1/29/2010 1:14:21 PM

>> I get this error after mount -a :
>
>> nfs mount: Kaapstad:/admin: No such file or directory
>
>
> I'm afraid that you need to create the directory /mnt/Kaapstadadmin
> first.

Thanks for your answer. I should have mentioned I did create the directory:

# ls /mnt
Kaapstadadmin
# ls /mnt/Kaapstadadmin/
# ls -l /mnt/Kaapstadadmin/
total 0

So that's not the cause.

Any other suggestions?
0
Reply Huub 1/29/2010 1:15:32 PM

On 01/29/10 14:14, Chris Ridd wrote:
> On 2010-01-29 12:46:15 +0000, Huub said:
>
>> Makes me suspect I have nfs4 running, instead of nfs3. And the server
>> doesn't accept nfs4 connections. Can I safely (and easily) replace
>> nfs4 by nfs3?
>
> They should negotiate versions properly. But if there are problems with
> using a negotiated version (NFSv4 from a Linux server is problematic)
> you can edit /etc/default/nfs and force the Solaris NFS client to only
> negotiate 3.
>

Thank you! This did the trick.
0
Reply Huub 1/29/2010 1:18:53 PM

Huub <v.niekerk_@_hccnet.nl> writes:

>>> I get this error after mount -a :
>>
>>> nfs mount: Kaapstad:/admin: No such file or directory
>>
>>
>> I'm afraid that you need to create the directory /mnt/Kaapstadadmin
>> first.

>Thanks for your answer. I should have mentioned I did create the directory:

># ls /mnt
>Kaapstadadmin
># ls /mnt/Kaapstadadmin/
># ls -l /mnt/Kaapstadadmin/
>total 0

>So that's not the cause.

What does the following command show:

	showmount -e Kaapstad

Casper
-- 
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
0
Reply Casper 1/29/2010 3:09:55 PM

>
> What does the following command show:
>
> 	showmount -e Kaapstad
>

The suggestion from Chris Ridd worked for me. The outcome from showmount 
showed that there shouldn't be a problem. Thanks for you suggestions.
0
Reply Huub 1/29/2010 4:25:38 PM

6 Replies
457 Views

(page loaded in 0.052 seconds)

Similiar Articles:













7/23/2012 5:16:54 AM


Reply: