Solaris 10 NFS problem ? - Unix

This is a discussion on Solaris 10 NFS problem ? - Unix ; Hi all, I was playing around with a Solaris 10 install and notice a problem with not being able to share my nfs filesystem...Anyone has a pointer to the error ? Below is the output of some of the commands ...

+ Reply to Thread
Results 1 to 6 of 6

Thread: Solaris 10 NFS problem ?

  1. Solaris 10 NFS problem ?

    Hi all, I was playing around with a Solaris 10 install and notice a problem with
    not being able to share my nfs filesystem...Anyone has a pointer to the error ?
    Below is the output of some of the commands seen after a reboot.
    Thanks for any helps.





    machine:/# more /etc/dfs/dfstab
    # Place share(1M) commands here for automatic execution
    # on entering init state 3.
    #
    # Issue the command 'svcadm enable network/nfs/server' to
    # run the NFS daemon processes and the share commands, after adding
    # the very first entry to this file.
    #
    # share [-F fstype] [ -o options] [-d ""] [resource]
    # .e.g,
    # share -F nfs -o rw=engineering -d "home dirs" /export/home2
    share -F nfs -o ro /opt/admin



    machine:/# share
    - /opt/admin ro ""


    machine:/# svcs -a | grep nfs
    legacy_run 15:18:03 lrc:/etc/rc3_d/S91nfs_server
    online 15:17:41 svc:/network/nfs/cbd:default
    online 15:17:51 svc:/network/nfs/client:default
    online 15:17:55 svc:/network/nfs/nlockmgr:default
    online 15:17:55 svc:/network/nfs/status:default
    online 15:17:55 svc:/network/nfs/server:default
    online 15:17:56 svc:/network/nfs/mapid:default
    online 15:17:57 svc:/network/nfs/rquota:default


    machine:/# ps -ef|grep nfs
    daemon 196 1 0 15:17:44 ? 0:00 /usr/lib/nfs/lockd
    daemon 192 1 0 15:17:42 ? 0:00 /usr/lib/nfs/nfsmapid
    daemon 191 1 0 15:17:42 ? 0:00 /usr/lib/nfs/nfs4cbd
    daemon 193 1 0 15:17:42 ? 0:00 /usr/lib/nfs/statd
    root 324 1 0 15:17:53 ? 0:00 /usr/lib/nfs/mountd
    daemon 327 1 0 15:17:54 ? 0:00 /usr/lib/nfs/nfsd


    machine:/# svcs -a |grep nfs
    legacy_run 15:18:03 lrc:/etc/rc3_d/S91nfs_server
    online 15:17:41 svc:/network/nfs/cbd:default
    online 15:17:51 svc:/network/nfs/client:default
    online 15:17:55 svc:/network/nfs/nlockmgr:default
    online 15:17:55 svc:/network/nfs/status:default
    online 15:17:55 svc:/network/nfs/server:default
    online 15:17:56 svc:/network/nfs/mapid:default
    online 15:17:57 svc:/network/nfs/rquota:default



    machine:/# rpcinfo -u machine 100003
    rpcinfo: RPC: Program not registered
    program 100003 is not available


    machine:/# rpcinfo -t machine 100003
    rpcinfo: RPC: Program not registered
    program 100003 is not available

    From another client:
    # mount machine:/opt/admin /mnt
    nfs mount: machine: NFS service not responding
    nfs mount: retrying: /mnt


    machine:/# nfsstat -c

    Client rpc:
    Connection oriented:
    calls badcalls badxids timeouts newcreds badverfs timers
    10 0 0 0 0 0 0
    cantconn nomem interrupts
    0 0 0
    Connectionless:
    calls badcalls retrans badxids timeouts newcreds badverfs
    3 1 0 0 0 0 0
    timers nomem cantsend
    0 0 0

    Client nfs:
    calls badcalls clgets cltoomany
    3 1 3 2
    Version 2: (2 calls)
    null getattr setattr root lookup readlink read wrcache
    0 0% 1 50% 0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
    write create remove rename link symlink mkdir rmdir
    0 0% 0 0% 0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
    readdir statfs
    0 0% 1 50%
    Version 3: (0 calls)
    null getattr setattr lookup access readlink
    0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
    read write create mkdir symlink mknod
    0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
    remove rmdir rename link readdir readdirplus
    0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
    fsstat fsinfo pathconf commit
    0 0% 0 0% 0 0% 0 0%
    Version 4: (0 calls)
    null compound
    0 0% 0 0%
    Version 4: (0 operations)
    reserved access close commit
    0 0% 0 0% 0 0% 0 0%
    create delegpurge delegreturn getattr
    0 0% 0 0% 0 0% 0 0%
    getfh link lock lockt
    0 0% 0 0% 0 0% 0 0%
    locku lookup lookupp nverify
    0 0% 0 0% 0 0% 0 0%
    open openattr open_confirm open_downgrade
    0 0% 0 0% 0 0% 0 0%
    putfh putpubfh putrootfh read
    0 0% 0 0% 0 0% 0 0%
    readdir readlink remove rename
    0 0% 0 0% 0 0% 0 0%
    renew restorefh savefh secinfo
    0 0% 0 0% 0 0% 0 0%
    setattr setclientid setclientid_confirm verify
    0 0% 0 0% 0 0% 0 0%
    write
    0 0%

    Client nfs_acl:
    Version 2: (1 calls)
    null getacl setacl getattr access getxattrdir
    0 0% 0 0% 0 0% 1 100% 0 0% 0 0%
    Version 3: (0 calls)
    null getacl setacl getxattrdir
    0 0% 0 0% 0 0% 0 0%


    excerp from /var/adm/messages:

    Jul 18 15:17:37 machine nscd_nischeck[84]: [ID 284814 user.error] authdes_seccreate: keyserv(1m) is unable to generate session key
    Jul 18 15:17:37 machine last message repeated 1 time
    Jul 18 15:17:38 machine ifconfig[146]: [ID 284814 user.error] authdes_seccreate: keyserv(1m) is unable to generate session key
    Jul 18 15:17:41 machine nscd[131]: [ID 284814 user.error] authdes_seccreate: keyserv(1m) is unable to generate session key
    Jul 18 15:17:45 machine inetd[204]: [ID 284814 daemon.error] authdes_seccreate: keyserv(1m) is unable to generate session key
    Jul 18 15:17:52 machine automount[299]: [ID 284814 daemon.error] authdes_seccreate: keyserv(1m) is unable to generate session key
    Jul 18 15:17:52 machine last message repeated 1 time
    Jul 18 15:17:55 machine syslogd[341]: [ID 284814 user.error] authdes_seccreate: keyserv(1m) is unable to generate session key



  2. Re: Solaris 10 NFS problem ?


    Additional info:
    no firewall or tcpwrappers.
    some additional info from logs:
    machine:/var/svc/log# cat network-nfs-*
    [ Jul 18 15:17:41 Executing start method ("/usr/lib/nfs/nfs4cbd") ]
    [ Jul 18 15:17:41 Method "start" exited with status 0 ]
    [ Jul 18 15:17:50 Executing start method ("/lib/svc/method/nfs-client start") ]
    [ Jul 18 15:17:51 Method "start" exited with status 0 ]
    [ Jul 18 15:14:39 Rereading configuration. ]
    [ Jul 18 15:14:39 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:17:41 Executing start method ("/usr/lib/nfs/nfsmapid") ]
    [ Jul 18 15:17:41 Method "start" exited with status 0 ]
    [ Jul 18 15:17:56 Rereading configuration. ]
    [ Jul 18 15:17:56 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:32:45 Rereading configuration. ]
    [ Jul 18 15:32:45 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:44:58 Rereading configuration. ]
    [ Jul 18 15:44:58 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:14:39 Rereading configuration. ]
    [ Jul 18 15:14:39 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:17:44 Executing start method ("/usr/lib/nfs/lockd") ]
    [ Jul 18 15:17:44 Method "start" exited with status 0 ]
    [ Jul 18 15:17:55 Rereading configuration. ]
    [ Jul 18 15:17:55 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:32:44 Rereading configuration. ]
    [ Jul 18 15:32:44 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:44:57 Rereading configuration. ]
    [ Jul 18 15:44:57 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:14:39 Rereading configuration. ]
    [ Jul 18 15:14:39 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:17:50 Executing start method ("/lib/svc/method/nfs-server start") ]
    [ Jul 18 15:17:53 Method "start" exited with status 0 ]
    [ Jul 18 15:17:55 Rereading configuration. ]
    [ Jul 18 15:17:55 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:32:44 Rereading configuration. ]
    [ Jul 18 15:32:45 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:44:57 Rereading configuration. ]
    [ Jul 18 15:44:57 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:14:38 Rereading configuration. ]
    [ Jul 18 15:14:38 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:17:41 Executing start method ("/usr/lib/nfs/statd") ]
    [ Jul 18 15:17:41 Method "start" exited with status 0 ]
    [ Jul 18 15:17:52 Rereading configuration. ]
    [ Jul 18 15:17:55 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:32:44 Rereading configuration. ]
    [ Jul 18 15:32:44 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:44:57 Rereading configuration. ]
    [ Jul 18 15:44:57 No 'refresh' method defined. Treating as :true. ]

    unknown@shadow.homeunix.org wrote:
    > Hi all, I was playing around with a Solaris 10 install and notice a problem with
    > not being able to share my nfs filesystem...Anyone has a pointer to the error ?
    > Below is the output of some of the commands seen after a reboot.
    > Thanks for any helps.
    >
    >
    >
    >
    >
    > machine:/# more /etc/dfs/dfstab
    > # Place share(1M) commands here for automatic execution
    > # on entering init state 3.
    > #
    > # Issue the command 'svcadm enable network/nfs/server' to
    > # run the NFS daemon processes and the share commands, after adding
    > # the very first entry to this file.
    > #
    > # share [-F fstype] [ -o options] [-d ""] [resource]
    > # .e.g,
    > # share -F nfs -o rw=engineering -d "home dirs" /export/home2
    > share -F nfs -o ro /opt/admin
    >
    >
    >
    > machine:/# share
    > - /opt/admin ro ""
    >
    >
    > machine:/# svcs -a | grep nfs
    > legacy_run 15:18:03 lrc:/etc/rc3_d/S91nfs_server
    > online 15:17:41 svc:/network/nfs/cbd:default
    > online 15:17:51 svc:/network/nfs/client:default
    > online 15:17:55 svc:/network/nfs/nlockmgr:default
    > online 15:17:55 svc:/network/nfs/status:default
    > online 15:17:55 svc:/network/nfs/server:default
    > online 15:17:56 svc:/network/nfs/mapid:default
    > online 15:17:57 svc:/network/nfs/rquota:default
    >
    >
    > machine:/# ps -ef|grep nfs
    > daemon 196 1 0 15:17:44 ? 0:00 /usr/lib/nfs/lockd
    > daemon 192 1 0 15:17:42 ? 0:00 /usr/lib/nfs/nfsmapid
    > daemon 191 1 0 15:17:42 ? 0:00 /usr/lib/nfs/nfs4cbd
    > daemon 193 1 0 15:17:42 ? 0:00 /usr/lib/nfs/statd
    > root 324 1 0 15:17:53 ? 0:00 /usr/lib/nfs/mountd
    > daemon 327 1 0 15:17:54 ? 0:00 /usr/lib/nfs/nfsd
    >
    >
    > machine:/# svcs -a |grep nfs
    > legacy_run 15:18:03 lrc:/etc/rc3_d/S91nfs_server
    > online 15:17:41 svc:/network/nfs/cbd:default
    > online 15:17:51 svc:/network/nfs/client:default
    > online 15:17:55 svc:/network/nfs/nlockmgr:default
    > online 15:17:55 svc:/network/nfs/status:default
    > online 15:17:55 svc:/network/nfs/server:default
    > online 15:17:56 svc:/network/nfs/mapid:default
    > online 15:17:57 svc:/network/nfs/rquota:default
    >
    >
    >
    > machine:/# rpcinfo -u machine 100003
    > rpcinfo: RPC: Program not registered
    > program 100003 is not available
    >
    >
    > machine:/# rpcinfo -t machine 100003
    > rpcinfo: RPC: Program not registered
    > program 100003 is not available
    >
    > From another client:
    > # mount machine:/opt/admin /mnt
    > nfs mount: machine: NFS service not responding
    > nfs mount: retrying: /mnt
    >
    >
    > machine:/# nfsstat -c
    >
    > Client rpc:
    > Connection oriented:
    > calls badcalls badxids timeouts newcreds badverfs timers
    > 10 0 0 0 0 0 0
    > cantconn nomem interrupts
    > 0 0 0
    > Connectionless:
    > calls badcalls retrans badxids timeouts newcreds badverfs
    > 3 1 0 0 0 0 0
    > timers nomem cantsend
    > 0 0 0
    >
    > Client nfs:
    > calls badcalls clgets cltoomany
    > 3 1 3 2
    > Version 2: (2 calls)
    > null getattr setattr root lookup readlink read wrcache
    > 0 0% 1 50% 0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
    > write create remove rename link symlink mkdir rmdir
    > 0 0% 0 0% 0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
    > readdir statfs
    > 0 0% 1 50%
    > Version 3: (0 calls)
    > null getattr setattr lookup access readlink
    > 0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
    > read write create mkdir symlink mknod
    > 0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
    > remove rmdir rename link readdir readdirplus
    > 0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
    > fsstat fsinfo pathconf commit
    > 0 0% 0 0% 0 0% 0 0%
    > Version 4: (0 calls)
    > null compound
    > 0 0% 0 0%
    > Version 4: (0 operations)
    > reserved access close commit
    > 0 0% 0 0% 0 0% 0 0%
    > create delegpurge delegreturn getattr
    > 0 0% 0 0% 0 0% 0 0%
    > getfh link lock lockt
    > 0 0% 0 0% 0 0% 0 0%
    > locku lookup lookupp nverify
    > 0 0% 0 0% 0 0% 0 0%
    > open openattr open_confirm open_downgrade
    > 0 0% 0 0% 0 0% 0 0%
    > putfh putpubfh putrootfh read
    > 0 0% 0 0% 0 0% 0 0%
    > readdir readlink remove rename
    > 0 0% 0 0% 0 0% 0 0%
    > renew restorefh savefh secinfo
    > 0 0% 0 0% 0 0% 0 0%
    > setattr setclientid setclientid_confirm verify
    > 0 0% 0 0% 0 0% 0 0%
    > write
    > 0 0%
    >
    > Client nfs_acl:
    > Version 2: (1 calls)
    > null getacl setacl getattr access getxattrdir
    > 0 0% 0 0% 0 0% 1 100% 0 0% 0 0%
    > Version 3: (0 calls)
    > null getacl setacl getxattrdir
    > 0 0% 0 0% 0 0% 0 0%
    >
    >
    > excerp from /var/adm/messages:
    >
    > Jul 18 15:17:37 machine nscd_nischeck[84]: [ID 284814 user.error] authdes_seccreate: keyserv(1m) is unable to generate session key
    > Jul 18 15:17:37 machine last message repeated 1 time
    > Jul 18 15:17:38 machine ifconfig[146]: [ID 284814 user.error] authdes_seccreate: keyserv(1m) is unable to generate session key
    > Jul 18 15:17:41 machine nscd[131]: [ID 284814 user.error] authdes_seccreate: keyserv(1m) is unable to generate session key
    > Jul 18 15:17:45 machine inetd[204]: [ID 284814 daemon.error] authdes_seccreate: keyserv(1m) is unable to generate session key
    > Jul 18 15:17:52 machine automount[299]: [ID 284814 daemon.error] authdes_seccreate: keyserv(1m) is unable to generate session key
    > Jul 18 15:17:52 machine last message repeated 1 time
    > Jul 18 15:17:55 machine syslogd[341]: [ID 284814 user.error] authdes_seccreate: keyserv(1m) is unable to generate session key
    >
    >


  3. Re: Solaris 10 NFS problem ?

    writes:



    >machine:/# rpcinfo -u machine 100003
    >rpcinfo: RPC: Program not registered
    >program 100003 is not available


    Please examine:

    //var/svc/log/network-nfs-server:default.log


    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.

  4. Re: Solaris 10 NFS problem ?

    On 18 Jul 2005 21:36:08 GMT, Casper H.S Dik wrote:
    >
    > Please examine:
    > //var/svc/log/network-nfs-server:default.log


    Good to see you back here, Casper.

    Dave Hinz

  5. Re: Solaris 10 NFS problem ?

    Dave Hinz writes:

    >On 18 Jul 2005 21:36:08 GMT, Casper H.S Dik wrote:
    >>
    >> Please examine:
    >> //var/svc/log/network-nfs-server:default.log


    >Good to see you back here, Casper.


    I didn't realize I was absent. (Perhaps lurking only, possibly
    posting mostly over at c.u.s.

    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.

  6. Re: Solaris 10 NFS problem ?

    Casper H.S. Dik wrote:
    > writes:
    >
    >
    >
    > >machine:/# rpcinfo -u machine 100003
    > >rpcinfo: RPC: Program not registered
    > >program 100003 is not available

    >
    > Please examine:
    >
    > //var/svc/log/network-nfs-server:default.log
    >

    [ Jul 18 15:17:50 Executing start method ("/lib/svc/method/nfs-server start") ]
    [ Jul 18 15:17:53 Method "start" exited with status 0 ]
    [ Jul 18 15:17:55 Rereading configuration. ]
    [ Jul 18 15:17:55 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:32:44 Rereading configuration. ]
    [ Jul 18 15:32:45 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:44:57 Rereading configuration. ]

    So does this mean a configuration error ?
    I looked at the syntax under /etc/dfs/dfstab and it seemed "correct" ?
    Could someone give me an example of the new proper syntax please ?
    Thanks much.

+ Reply to Thread