I'm in the process of trying to setup a single node cluster with NFS and Samba resources. I've managed to get Samba up and running great... and I have NFS running, but I'm being spammed with errors in my /var/adm/messages. The error is "[ID 176151 daemon.error] Unable to lookup nfs:nfs_server from kstat:No such file or directory".
At first I thought that maybe it was some sort of incompatibility between Cluster Express 9/08 and snv_99 (since all documentation points to running CE9/08 with snv_97), so I downloaded and compiled the latest ohacds source and installed the latest SUNWscnfs package. That didn't help, so I turned to google. I managed to find a forum thread at http://forums.sun.com/thread.jspa?messageID=9495551 <http://forums.sun.com/thread.jspa?messageID=9495551> . I also found this bug http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6418557 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6418557> . Which basically states that instance 0 of nfs in kstat no longer exists. I found http://docs.sun.com/app/docs/doc/816-2028/6m8dh0koc?a=view <http://docs.sun.com/app/docs/doc/816-2028/6m8dh0koc?a=view> which covers an error that is close to mine (at least the user readable part... not the error ID). It suggests I run "kstat -m nfs -i 0 -n nfs_server -s calls". After browsing through google a bit more I ended up running into the hanfs_util.c source. I found the line of code that does the kstat (http://src.opensolaris.org/source/xref/ohac/ohacds/usr/src/cmd/ha-servi ces/nfs/hanfs_util.c <http://src.opensolaris.org/source/xref/ohac/ohacds/usr/src/cmd/ha-servi ces/nfs/hanfs_util.c> line 129 is `ks <http://src.opensolaris.org/source/xref/ohac/ohacds/usr/src/cmd/ha-servi ces/nfs/hanfs_util.c#ks> = kstat_lookup <http://src.opensolaris.org/source/s?defs=kstat_lookup> (kc <http://src.opensolaris.org/source/xref/ohac/ohacds/usr/src/cmd/ha-servi ces/nfs/hanfs_util.c#kc> , "nfs", 0, "nfs_server");'). I'm wondering if I change kstat_lookup <http://src.opensolaris.org/source/s?defs=kstat_lookup> (kc <http://src.opensolaris.org/source/xref/ohac/ohacds/usr/src/cmd/ha-servi ces/nfs/hanfs_util.c#kc> , "nfs", 0, "nfs_server"); to kstat_lookup <http://src.opensolaris.org/source/s?defs=kstat_lookup> (kc <http://src.opensolaris.org/source/xref/ohac/ohacds/usr/src/cmd/ha-servi ces/nfs/hanfs_util.c#kc> , "nfs", 3, "nfs_server"); if I'll break anything... I'm also wondering if a fix for this already exists... Thanks, --Tim P.S. Thanks Madhan and Nicholas for your speedy reply regarding my lofi globaldevices question! J -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/ha-clusters-discuss/attachments/20081016/abcff6cd/attachment.html>