This discussion is archived
3 Replies Latest reply: Mar 7, 2013 10:24 AM by 1502 RSS

Problems enabling nfs client and server

1502 Newbie
Currently Being Moderated
I just re-build a solaris 11.1x86 on a x4640 SunFire

Have problems enabling nfs

First i typed the following command:
# svcs network/nfs/server
disable

Second I typed the following command:
#svcadm enable network/nfs/server

# svcs network/nfs/server
offline

did this 3 or 4 times without success...
any ideas?
I holding production here! Please help!!
  • 1. Re: Problems enabling nfs client and server
    cindys Pro
    Currently Being Moderated
    Let's rule out the easier stuff first...

    Do you have something shared?

    I think you need to have something shared before you can enable the nfs server service.
    Or, if you share something, the service is started automatically. See below.

    Thanks, Cindy

    # svcs -a | grep nfs
    disabled Feb_26 svc:/network/nfs/client:default
    disabled Feb_26 svc:/network/nfs/server:default
    disabled Feb_26 svc:/network/nfs/rquota:default

    # svcadm enable svc:/network/nfs/server:default

    # svcs | grep nfs
    disabled 13:51:52 svc:/network/nfs/server:default

    # zfs set share.nfs=on rpool/cindy
    # share
    rpool_cindy /rpool/cindy nfs sec=sys,rw

    # svcs | grep nfs
    online Feb_26 svc:/network/nfs/fedfs-client:default
    online Feb_27 svc:/network/nfs/status:default
    online Feb_27 svc:/network/nfs/cbd:default
    online Feb_27 svc:/network/nfs/mapid:default
    online Feb_27 svc:/network/nfs/nlockmgr:default
    online 13:52:35 svc:/network/nfs/rquota:default
    online 13:52:35 svc:/network/nfs/server:default
  • 2. Re: Problems enabling nfs client and server
    bobthesungeek76036 Pro
    Currently Being Moderated
    cindys wrote:
    ....
    I think you need to have something shared before you can enable the nfs server service.
    No thinking about it. You <b>must</b> have something shared before you can enable NFS server
  • 3. Re: Problems enabling nfs client and server
    1502 Newbie
    Currently Being Moderated
    Problem solved

    Edited by: 1502 on Mar 7, 2013 10:24 AM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points