3 Replies Latest reply: Mar 7, 2013 12:24 PM by 1502 RSS

    Problems enabling nfs client and server

    1502
      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-Oracle
          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
            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
              Problem solved

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