[zfs-discuss] Re: ZFS disables nfs/server on a host
I seem to be having nfs server issues myself, on a fresh install of b62 with a mirrored root pool. I try and I try but my nfs/server process always reverts to disabled. I unfortunately have no ufs slices to try out a basic nfs configuration. No matter how I try and share out a directory or filesystem (share or zfs share or just editing dfstab and enabling my nfs-server service) I get the following in my nfs server log: [ Apr 27 20:44:36 Executing start method ("/lib/svc/method/nfs-server start") ] No NFS filesystems are shared [ Apr 27 20:44:36 Method "start" exited with status 0 ] [ Apr 27 20:44:36 Stopping because service disabled. ] [ Apr 27 20:44:36 Executing stop method ("/lib/svc/method/nfs-server stop 112") ] Bad System Call - core dumped [ Apr 27 20:44:43 Method "stop" exited with status 0 ] I have also got the zfs share assertion in this thread, but I forget exactly what I did to invoke it. Is this is known bug or am I running into something weird? cheers, -o This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Re: ZFS disables nfs/server on a host
On Thu, 26 Apr 2007, Ben Miller wrote: > I just rebooted this host this morning and the same thing happened again. I > have the core file from zfs. > > [ Apr 26 07:47:01 Executing start method ("/lib/svc/method/nfs-server start") > ] > Assertion failed: pclose(fp) == 0, file ../common/libzfs_mount.c, line 380, > func > tion zfs_share > Abort - core dumped For there to be no output between the 'executing start method' and the assertion means that the popen succeeded, but the fgets() failed. It's possible that fgets was interrupted and returned an EINTR, which isn't currently being handled by the code in zfs_share_nfs(). The code I'm looking at starts here: http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libzfs/common/libzfs_mount.c#454 It'd be nice to see a truss or dtrace of this to help narrow it down. Regards, markm ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[zfs-discuss] Re: ZFS disables nfs/server on a host
I was able to duplicate this problem on a test Ultra 10. I put in a workaround by adding a service that depends on /milestone/multi-user-server which does a 'zfs share -a'. It's strange this hasn't happened on other systems, but maybe it's related to slower systems... Ben This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[zfs-discuss] Re: ZFS disables nfs/server on a host
I just rebooted this host this morning and the same thing happened again. I have the core file from zfs. [ Apr 26 07:47:01 Executing start method ("/lib/svc/method/nfs-server start") ] Assertion failed: pclose(fp) == 0, file ../common/libzfs_mount.c, line 380, func tion zfs_share Abort - core dumped Why would nfs/server be disabled instead of going into maintenance with this error? This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[zfs-discuss] Re: ZFS disables nfs/server on a host
It does seem like an ordering problem, but nfs/server should be starting up late enough with SMF dependencies. I need to see if I can duplicate the problem on a test system... This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss