All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bernd Schubert <bernd-schubert@web.de>
To: clusternfs-users@lists.sourceforge.net
Cc: <nfs@lists.sourceforge.net>
Subject: knfsd & unfsd on the same server
Date: Thu, 27 Feb 2003 17:45:20 +0100	[thread overview]
Message-ID: <200302271745.20691.bernd-schubert@web.de> (raw)

Hi,

I would like to get knfsd and unfsd (actually ClusterNFS) running on the same 
server. Actually this already working, even without modifying the source 
code, when e.g. unfsd is running on another port. 
However, on stopping any of both servers, both are unregistered from rpc, as 
rpcinfo shows. Furthermore there are strange log-file messages on mounting 
from unfsd, probably since first the wrong rpc.mountd is being called.

To improve this I tried to change the rpc-program numbers in unfsd. For the  
rpc.mountd from unfsd this works fine, however when I *also* change the 
rpc-number for the nfsd (unfsd), I can't mount from this server. 
Here are 2 example commands:

mount -t nfs localhost:/test1	/mnt/test1 #would mount from knfsd

mount -t nfs -o mountprog=110005,nfsprog=110003,port=2050 localhost:/test1 
/mnt/test2


So again, when I only change the mountd-rpc-program-number, the second mount 
command would work (of course without specifying nfsprog=...), even without 
any error/warning message in the logfiles. However, this still causes that 
both nfsd-servers are unregistered from rpc when any of both is being stopped

Is this a bug in the mount command, or did I make a mistake when I changed the 
rpc-program numbers in unfsd? (I changed them in nfs_prot.h and mount.h). At 
least 'rpcinfo -p localhost' seems to show me that unfsd is working with the 
changed rpc-number.


Thanks in advance for any help,
	Bernd





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

             reply	other threads:[~2003-02-27 16:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-27 16:45 Bernd Schubert [this message]
2003-02-27 17:54 ` knfsd & unfsd on the same server Trond Myklebust
2003-02-27 18:45   ` Bernd Schubert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200302271745.20691.bernd-schubert@web.de \
    --to=bernd-schubert@web.de \
    --cc=clusternfs-users@lists.sourceforge.net \
    --cc=nfs@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.