On Mon, Mar 16, 2009 at 11:17 AM, Saravanan N
<[email protected]> wrote:
> Paul,
> Try restart of rpc service in NFS server (10.101.140.117) and give it a try
> at client side.
> In Solaris 10,
> svcadm disable rpc/bind ( to Stop)
> svcadm enable rpc/bind ( Start)
> svcs -x rpc/bind ( to get the status).
> Prior to Solaris 10,
> /etc/init.d/rpcbind stop
> /etc/init.d/rpcbind start.
>
>
>
>
>
>
>
> Paul Durrant wrote, On 03/16/2009 03:31 PM:
>>
>> Akhil Jain wrote:
>>>
>>> Hi All,
>>>
>>> Want to know why I am getting the RPC bind failure error when I try to
>>> mount a file system? Although the remote system is pingable from my machine.
>>>
>>> mount -o proto=udp 10.101.140.117: /vob/3g
>>> nfs mount: 10.101.140.117: : RPC: Rpcbind failure - RPC: Timed out
>>>
>>
>> Perhaps the space between the ':' and '/vob/3g' is your problem?



Not only rpcbind may constitute the problem. If /etc/dfs/dfstab is not
yet populated, in certain cases you may soon find that the nfs server
never gets started by inetd, even though you have attempted to
manually share at least one directory.
Try if it works, if you populate /etc/dfs/dfstab and restart the nfs
daemon on the exporting machine, such as in the following manner:

# ps -ef|grep nfs
    root 20290 20275   0 11:53:25 pts/7       0:00 grep nfs
# svcadm enable network/nfs/server
# ps -ef|grep nfs
# share -o ro,anon=0 /mnt
# ps -ef|grep nfs
    root 20297 20275   0 11:53:52 pts/7       0:00 grep nfs
# cp -i /etc/dfs/dfstab /etc/dfs/dfstab__PREV`date
'+DATE_20%y_%m_%d__TIME_%H_%M_%S'`;`/usr/bin/printf "\nshare -F nfs
-o rw,anon=0  -d \"my test dirs\"  /vob/3g\n" >> /etc/dfs/dfstab`
# ps -ef|grep nfs
  daemon 20319     1   0 11:54:21 ?           0:00 /usr/lib/nfs/nfsd
  daemon 20300     1   0 11:53:56 ?           0:01 /usr/lib/nfs/nfsmapid
  daemon 20299     1   0 11:53:56 ?           0:00 /usr/lib/nfs/statd
    root 20403 20275   0 12:11:53 pts/7       0:00 grep nfs
    root 20317     1   0 11:54:21 ?           0:00 /usr/lib/nfs/mountd
  daemon 20310     1   0 11:54:17 ?           0:00 /usr/lib/nfs/lockd
# svcs -v|grep nfs
online         -             11:53:56    242 svc:/network/nfs/mapid:default
online         -             11:53:57    241 svc:/network/nfs/status:default
online         -             11:54:16      - svc:/network/nfs/rquota:default
online         -             11:54:16    243 svc:/network/nfs/nlockmgr:default
online         -             11:54:21    244 svc:/network/nfs/server:default
#


%martin
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to