Hi All, I am trying to share zfs file system, I did enable sharnfs using this command. 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 online 22:17:49 svc:/network/nfs/mapid:default online 22:17:49 svc:/network/nfs/cbd:default online 22:17:49 svc:/network/nfs/status:default online 22:17:50 svc:/network/nfs/nlockmgr:default online 22:17:50 svc:/network/nfs/client:default online 15:06:04 svc:/network/nfs/rquota:default ech3-mes01.prod:schadala[513] ~ $ can you tell me what I am doing wrong? I installed nfs server packages, just before I started working on this. Thanks, Srini -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080922/5aec62f4/attachment.html>
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:defaultso 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''
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: Michael.Schuster at Sun.COM [mailto:Michael.Schuster at Sun.COM]
Sent: Monday, September 22, 2008 4:26 PM
To: Srinivas Chadalavada
Cc: zfs-discuss at 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''
Srinivas Chadalavada wrote:> Hi Mike,That''s not my name. also, please answer *all* my questions, you''re only providing half the information: we''re still missing the OS & revision, as well as some information about what''s in the log files svcs -x tells us about. Michael> 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: Michael.Schuster at Sun.COM [mailto:Michael.Schuster at Sun.COM] > Sent: Monday, September 22, 2008 4:26 PM > To: Srinivas Chadalavada > Cc: zfs-discuss at 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''
Hi Michael,
Sorry, Here is the info. Main thing I noticed is not able to start
the nfs server.
ech3-mes01.prod:schadala[561] ~ $ svcs -a |grep nfs
disabled 19:43:31 svc:/network/nfs/server:default
online 19:11:49 svc:/network/nfs/cbd:default
online 19:11:49 svc:/network/nfs/status:default
online 19:11:49 svc:/network/nfs/mapid:default
online 19:11:49 svc:/network/nfs/nlockmgr:default
online 19:11:49 svc:/network/nfs/client:default
online 19:11:49 svc:/network/nfs/rquota:default
ech3-mes01.prod:schadala[567] ~ $ svcs -x
svc:/network/rpc/smserver:default (removable media management)
State: disabled since September 22, 2008 7:11:49 PM CDT
Reason: Disabled by an administrator.
See: http://sun.com/msg/SMF-8000-05
See: rpc.smserverd(1M)
Impact: 1 dependent service is not running. (Use -v for list.)
svc:/application/management/seaport:default (net-snmp SNMP daemon)
State: maintenance since September 22, 2008 7:11:50 PM CDT
Reason: Start method failed repeatedly, last exited with status 1.
See: http://sun.com/msg/SMF-8000-KS
See: snmpd(1M)
See: /var/svc/log/application-management-seaport:default.log
Impact: This service is not running.
ech3-mes01.prod:schadala[568] ~ $ more /etc/release
Solaris 10 8/07 s10x_u4wos_12b X86
Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 16 August 2007
ech3-mes01.prod:schadala[569] ~ $ uname -a
SunOS ech3-mes01.prod 5.10 Generic_127128-11 i86pc i386 i86pc
-----Original Message-----
From: Michael.Schuster at Sun.COM [mailto:Michael.Schuster at Sun.COM]
Sent: Monday, September 22, 2008 8:34 PM
To: Srinivas Chadalavada
Cc: zfs-discuss at opensolaris.org
Subject: Re: [zfs-discuss] unable to share
Srinivas Chadalavada wrote:
> Hi Mike,
That''s not my name.
also, please answer *all* my questions, you''re only providing half the
information: we''re still missing the OS & revision, as well as some
information about what''s in the log files svcs -x tells us about.
Michael
> 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: Michael.Schuster at Sun.COM [mailto:Michael.Schuster at Sun.COM]
> Sent: Monday, September 22, 2008 4:26 PM
> To: Srinivas Chadalavada
> Cc: zfs-discuss at 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''
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080923/e50329af/attachment.html>