Hi Mike,
   Here is the output.
Sep 22 18:46:01 Executing start method ("/lib/svc/method/nfs-server
start") ]
cannot share 'export': /export: Unknown error
cannot share 'export/home': /export/home: Unknown error
[ Sep 22 18:46:01 Method "start" exited with status 0 ]
[ Sep 22 18:46:01 Stopping because all processes in service exited. ]
[ Sep 22 18:46:01 Executing stop method ("/lib/svc/method/nfs-server
stop 472")
]
[ Sep 22 18:46:01 Method "stop" exited with status 0 ]
[ Sep 22 18:46:01 Disabled. ]

ech3-mes01.prod:schadala[561] ~ $ svcs -x
svc:/network/nfs/server:default
svc:/network/nfs/server:default (NFS server)
 State: disabled since September 22, 2008  6:04:58 PM CDT
Reason: Disabled by an administrator.
   See: http://sun.com/msg/SMF-8000-05
   See: nfsd(1M)
   See: /var/svc/log/network-nfs-server:default.log
Impact: This service is not running.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 22, 2008 4:26 PM
To: Srinivas Chadalavada
Cc: zfs-discuss@opensolaris.org
Subject: Re: [zfs-discuss] unable to share

On 09/22/08 16:11, Srinivas Chadalavada wrote:
> Hi All,
> 
>    I am trying to share zfs file system, I did enable sharnfs using
this 
> command.

what OS/build are you using?

> sudo zfs set sharenfs=on export/home
> 
> when I do share -a
> 
> I get this error
> 
> ech3-mes01.prod:schadala[511] ~ $ sudo zfs share -a
> 
> cannot share 'export': /export: Unknown error
> 
> cannot share 'export/home': /export/home: Unknown error
> 
> I am not able to start nfs server also.
> 
> ech3-mes01.prod:schadala[512] ~ $ svcs -a |grep 
> nfs                             


> disabled       18:04:58  svc:/network/nfs/server:default

so what happens when you do "svcadm enable
svc:/network/nfs/server:default"?

what's the output of "svcs -x svc:/network/nfs/server:default", and what
do 
the log files you find there say?

-- 
Michael Schuster        http://blogs.sun.com/recursion
Recursion, n.: see 'Recursion'

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to