NFS server on Solaris 10

NFS server on Solaris 10

Post by Frank Giessle » Fri, 15 Jul 2005 17:41:32



Hi all,

We recently bought a Blade-1500 which came with Solaris 10
pre-installed. I'm trying to set up a NFS server. There is an entry in
/etc/dfs/dfstab, share lists the exported filesystem (so does showmount
-e from a remote machine), svc:/network/nfs/server is enabled, and ps
shows that nfsd is running.
However, rpcinfo does not list program 100003, so I'm unable to mount
the filesystem from a remote machine.

Any idea what might be wrong?
Thanks for any help,

Frank.

 
 
 

NFS server on Solaris 10

Post by Casper H.S. Di » Fri, 15 Jul 2005 17:54:06



>We recently bought a Blade-1500 which came with Solaris 10
>pre-installed. I'm trying to set up a NFS server. There is an entry in
>/etc/dfs/dfstab, share lists the exported filesystem (so does showmount
>-e from a remote machine), svc:/network/nfs/server is enabled, and ps
>shows that nfsd is running.
>However, rpcinfo does not list program 100003, so I'm unable to mount
>the filesystem from a remote machine.

Any errors in /var/adm/messages?

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.

 
 
 

NFS server on Solaris 10

Post by Frank Giessle » Fri, 15 Jul 2005 18:00:17




>>We recently bought a Blade-1500 which came with Solaris 10
>>pre-installed. I'm trying to set up a NFS server. There is an entry in
>>/etc/dfs/dfstab, share lists the exported filesystem (so does showmount
>>-e from a remote machine), svc:/network/nfs/server is enabled, and ps
>>shows that nfsd is running.
>>However, rpcinfo does not list program 100003, so I'm unable to mount
>>the filesystem from a remote machine.

> Any errors in /var/adm/messages?

No.

Frank.

 
 
 

NFS server on Solaris 10

Post by Greg Menk » Fri, 15 Jul 2005 21:23:41



> Hi all,

> We recently bought a Blade-1500 which came with Solaris 10
> pre-installed. I'm trying to set up a NFS server. There is an entry in
> /etc/dfs/dfstab, share lists the exported filesystem (so does showmount
> -e from a remote machine), svc:/network/nfs/server is enabled, and ps
> shows that nfsd is running.
> However, rpcinfo does not list program 100003, so I'm unable to mount
> the filesystem from a remote machine.

> Any idea what might be wrong?
> Thanks for any help,

svcs -a | grep nfs

Are all of the services "online"?  Are you sure the remote system has a
working nfs client?

Gregm

 
 
 

NFS server on Solaris 10

Post by Sun » Fri, 15 Jul 2005 22:30:12


check the process using ps command

you should see following process
ps -e | grep nfs

/usr/lib/nfs/statd
/usr/lib/nfs/lockd
/usr/lib/nfs/mountd
/usr/lib/nfs/nfsmapid
/usr/lib/nfs/nfsd

-SR

 
 
 

NFS server on Solaris 10

Post by Frank Giessle » Fri, 15 Jul 2005 23:34:05



> check the process using ps command

> you should see following process
> ps -e | grep nfs

> /usr/lib/nfs/statd
> /usr/lib/nfs/lockd
> /usr/lib/nfs/mountd
> /usr/lib/nfs/nfsmapid
> /usr/lib/nfs/nfsd

They are running. Additionally, there is

/usr/lib/nfs/nfs4cbd

Frank.

 
 
 

NFS server on Solaris 10

Post by Frank Giessle » Fri, 15 Jul 2005 23:45:47




>>Hi all,

>>We recently bought a Blade-1500 which came with Solaris 10
>>pre-installed. I'm trying to set up a NFS server. There is an entry in
>>/etc/dfs/dfstab, share lists the exported filesystem (so does showmount
>>-e from a remote machine), svc:/network/nfs/server is enabled, and ps
>>shows that nfsd is running.
>>However, rpcinfo does not list program 100003, so I'm unable to mount
>>the filesystem from a remote machine.

>>Any idea what might be wrong?
>>Thanks for any help,

> svcs -a | grep nfs

> Are all of the services "online"?  Are you sure the remote system has a
> working nfs client?

ulm>svcs -a |grep nfs
online         16:36:45 svc:/network/nfs/cbd:default
online         16:36:49 svc:/network/nfs/client:default
online         16:36:49 svc:/network/nfs/mapid:default
online         16:36:50 svc:/network/nfs/rquota:default
online         16:36:50 svc:/network/nfs/server:default
online         16:40:48 svc:/network/nfs/status:default
online         16:40:48 svc:/network/nfs/nlockmgr:default

ulm>rpcinfo -u ulm 100003
rpcinfo: RPC: Program not registered
program 100003 is not available

ulm>rpcinfo -t ulm 100003
rpcinfo: RPC: Program not registered
program 100003 is not available

ulm>rpcinfo -t localhost 100003
rpcinfo: RPC: Program not registered
program 100003 is not available

ulm>rpcinfo -u localhost 100003
rpcinfo: RPC: Program not registered
program 100003 is not available

Frank.

 
 
 

NFS server on Solaris 10

Post by Fredrik Lundho » Sat, 16 Jul 2005 00:05:35






>>>Hi all,

>>>We recently bought a Blade-1500 which came with Solaris 10
>ulm>svcs -a |grep nfs

I think you have a problem in you /etc/dfs/dftstab file.
I just put a share -Fnfs /usr/tmp in mine and did a
'shareall' before 'rpcinfo -u localhost 100003' showed:
program 100003 version 2 ready and waiting
program 100003 version 3 ready and waiting

Do you have a firewall? TCP_WRAPPERS?Are you trying to use nfs-version 4?

/wfr
Fredrik

--
Fredrik Lundholm  

 
 
 

NFS server on Solaris 10

Post by Bruce D Porte » Sat, 16 Jul 2005 07:51:28



> Hi all,

> We recently bought a Blade-1500 which came with Solaris 10 pre-installed.
> I'm trying to set up a NFS server. There is an entry in /etc/dfs/dfstab,
> share lists the exported filesystem (so does showmount -e from a remote
> machine), svc:/network/nfs/server is enabled, and ps shows that nfsd is
> running.
> However, rpcinfo does not list program 100003, so I'm unable to mount the
> filesystem from a remote machine.

> Any idea what might be wrong?
> Thanks for any help,

Is the share entry correct ?
Post the entry , it may be incorrect

--
        Bruce

"The internet is a huge and diverse community and  
not every one is friendly"                            
        http://www.ytc1.co.uk                    

 
 
 

NFS server on Solaris 10

Post by Frank Giessle » Sat, 16 Jul 2005 16:21:15



> I think you have a problem in you /etc/dfs/dftstab file.
> I just put a share -Fnfs /usr/tmp in mine and did a
> 'shareall' before 'rpcinfo -u localhost 100003' showed:
> program 100003 version 2 ready and waiting
> program 100003 version 3 ready and waiting

> Do you have a firewall? TCP_WRAPPERS?Are you trying to use nfs-version 4?

Thanks for your answer.

The entry in /etc/dfs/dfstab is:

/usr/sbin/share -F nfs -o sec=sys,rw=biomagsun:linux -d "" /export

It was put there by Solaris Management Console after my entry didn't
work. 'biomagsun' and 'linux' are netgroups in our NIS+ domain. Removing
the options (-o) and thus exporting it to all doesn't help either.

No firewall, but tcp_wrappers. I disabled tcpd by removing
/etc/hosts.deny. I then restarted /network/rpc/bind and
/network/nfs/server. I even rebooted. No success.

I have no objections against NFSv4 but I'd like to see it work with ANY
version.

Frank.

 
 
 

NFS server on Solaris 10

Post by Frank Giessle » Sat, 16 Jul 2005 16:23:54



> Is the share entry correct ?
> Post the entry , it may be incorrect

I think the share entry is correct:

/usr/sbin/share -F nfs -o sec=sys,rw=biomagsun:linux -d "" /export

See my reply to Fredrik Lundholm's message.

Thanks for you answer.

Frank.

 
 
 

NFS server on Solaris 10

Post by Frank Giessle » Sat, 16 Jul 2005 20:18:14



> Hi all,

> We recently bought a Blade-1500 which came with Solaris 10
> pre-installed. I'm trying to set up a NFS server. There is an entry in
> /etc/dfs/dfstab, share lists the exported filesystem (so does showmount
> -e from a remote machine), svc:/network/nfs/server is enabled, and ps
> shows that nfsd is running.
> However, rpcinfo does not list program 100003, so I'm unable to mount
> the filesystem from a remote machine.

> Any idea what might be wrong?
> Thanks for any help,

> Frank.

Thanks to all who replied. I downloaded and reinstalled the whole OS.
It's working now. I have no idea what was wrong.

Thanks again,
Frank.

 
 
 

1. Solaris 10 - NFS Server for volume management /vol not reponding

We encountered a problem on our Solaris 10 server. We were running an
oracle patch "precheck" and it started testing "site specific
libraries",
one of them was NFS server for volume management.

This is the error I received:

NFS Server for volume management (/vol) not responding

The patch just hung.  I notice that NFS server is not enabled to be
online by default under "svcs".  Can this be the cause ?  I used to
just do # cd /vol under Solaris 8.  What's the difference in Solaris 10
?  How could I resolve this issue ?

Also, I notice that mounting CD is not automatic under Solaris 10.
What command can I use to ensure that the CD will be mounted and
rejected.

Thanks,

Humphrey

2. debug a multi process in gdb?

3. NFS timeouts (Solaris 9 and Solaris 10)

4. sound card

5. Jumpstart solaris 10 b69 and solaris 10 b72 on an Ultra 30

6. System hangs now and then.. using CL-GD 5465

7. Live upgrade failure: Solaris 10 -> Solaris 10 update 1.

8. need help locating Syquest EZ135 media

9. lsof 4.70D for Solaris 10 [was Re: Lsof on Solaris 10 x86?]

10. solaris 10 jumpstart server; how to check boot server?

11. Solaris 10 -- Where to get gcc (or other compiler) built on Solaris 10?

12. nfs portmap: server 10.122.2.37 not responding.

13. Solaris 10 NFS 4 Problem