* knfsd & unfsd on the same server
@ 2003-02-27 16:45 Bernd Schubert
2003-02-27 17:54 ` Trond Myklebust
0 siblings, 1 reply; 3+ messages in thread
From: Bernd Schubert @ 2003-02-27 16:45 UTC (permalink / raw)
To: clusternfs-users; +Cc: nfs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: knfsd & unfsd on the same server
2003-02-27 16:45 knfsd & unfsd on the same server Bernd Schubert
@ 2003-02-27 17:54 ` Trond Myklebust
2003-02-27 18:45 ` Bernd Schubert
0 siblings, 1 reply; 3+ messages in thread
From: Trond Myklebust @ 2003-02-27 17:54 UTC (permalink / raw)
To: Bernd Schubert; +Cc: clusternfs-users, nfs
>>>>> " " == Bernd Schubert <bernd-schubert@web.de> writes:
> mount -t nfs -o mountprog=110005,nfsprog=110003,port=2050
> localhost:/test1 /mnt/test2
The 'nfsprog' option is unsupported by the Linux NFS client as the
mount program has no way of passing the number down to the kernel.
Cheers,
Trond
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: knfsd & unfsd on the same server
2003-02-27 17:54 ` Trond Myklebust
@ 2003-02-27 18:45 ` Bernd Schubert
0 siblings, 0 replies; 3+ messages in thread
From: Bernd Schubert @ 2003-02-27 18:45 UTC (permalink / raw)
To: Trond Myklebust; +Cc: clusternfs-users, nfs
On Thursday 27 February 2003 18:54, Trond Myklebust wrote:
> >>>>> " " == Bernd Schubert <bernd-schubert@web.de> writes:
> > mount -t nfs -o mountprog=110005,nfsprog=110003,port=2050
> > localhost:/test1 /mnt/test2
>
> The 'nfsprog' option is unsupported by the Linux NFS client as the
> mount program has no way of passing the number down to the kernel.
>
> Cheers,
> Trond
Thanks for your answer, so we know that we will have to live with this issue.
Best regards,
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-02-27 18:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-27 16:45 knfsd & unfsd on the same server Bernd Schubert
2003-02-27 17:54 ` Trond Myklebust
2003-02-27 18:45 ` Bernd Schubert
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.