http://qa.mandrakesoft.com/show_bug.cgi?id=6055
Product: drakxtools
Component: diskdrake
Summary: poblem in nfs server detection routine ( NFSv3 only not
detected )
Product: drakxtools
Version: 9.2-9mdk
Platform: PC
OS/Version: All
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: diskdrake
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
several times I noticed that diskdrake failed to detect correctly my NFS server or
coul d
not detect all of them. I've got 2 real NFS server ( 192.168.1.10 and 192.168.1.20 )
and an other one wich is my computer where nfs server is installed and running but
there no exports ( 192.168.1.103 )
So I dig a little in /usr/lib/libDrakX/network/nfs.pm and I noticed that the routine
only
bind for nfs vers 2, the problem is that I used to set up nfs 3 servers with tcp. On
my 2
real server I force nfs 3. On my computer I let defaults settings ( so 2 and 3 are
active ).
On top of that server list is not sort and uniq so you may end up with many duplicate
lines.
You can see the difference here :
[EMAIL PROTECTED] admin]# rpcinfo -b mountd 3
192.168.1.103 admin3.fiventis-rouen.fr
192.168.1.10 fiventis.fiventis-rouen.fr
192.168.1.20 serveur.fiventis-rouen.fr
192.168.1.10 fiventis.fiventis-rouen.fr
192.168.1.20 serveur.fiventis-rouen.fr
192.168.1.103 admin3.fiventis-rouen.fr
192.168.1.20 serveur.fiventis-rouen.fr
192.168.1.10 fiventis.fiventis-rouen.fr
192.168.1.103 admin3.fiventis-rouen.fr
192.168.1.20 serveur.fiventis-rouen.fr
192.168.1.10 fiventis.fiventis-rouen.fr
192.168.1.103 admin3.fiventis-rouen.fr
192.168.1.20 serveur.fiventis-rouen.fr
192.168.1.10 fiventis.fiventis-rouen.fr
192.168.1.103 admin3.fiventis-rouen.fr
192.168.1.20 serveur.fiventis-rouen.fr
192.168.1.10 fiventis.fiventis-rouen.fr
192.168.1.103 admin3.fiventis-rouen.fr
[EMAIL PROTECTED] admin]# rpcinfo -b mountd 2
192.168.1.103 admin3.fiventis-rouen.fr
192.168.1.103 admin3.fiventis-rouen.fr
192.168.1.103 admin3.fiventis-rouen.fr
192.168.1.103 admin3.fiventis-rouen.fr
192.168.1.103 admin3.fiventis-rouen.fr
192.168.1.103 admin3.fiventis-rouen.fr
-> having uniq results :
[EMAIL PROTECTED] admin]# rpcinfo -b mountd 3 | sort | uniq
192.168.1.103 admin3.fiventis-rouen.fr
192.168.1.10 fiventis.fiventis-rouen.fr
192.168.1.20 serveur.fiventis-rouen.fr
[EMAIL PROTECTED] admin]# rpcinfo -b mountd 2 | sort | uniq
192.168.1.103 admin3.fiventis-rouen.fr
-> to test both nfs servers :
[EMAIL PROTECTED] admin]# (rpcinfo -b mountd 2 && rpcinfo -b mountd 3 ) | sort | uniq
192.168.1.103 admin3.fiventis-rouen.fr
192.168.1.10 fiventis.fiventis-rouen.fr
192.168.1.20 serveur.fiventis-rouen.fr
Or better :
[EMAIL PROTECTED] admin]# (rpcinfo -b mountd 2 ; rpcinfo -b mountd 3 ) | sort | uniq
192.168.1.103 admin3.fiventis-rouen.fr
192.168.1.10 fiventis.fiventis-rouen.fr
192.168.1.20 serveur.fiventis-rouen.fr
Of course this take a longer time ( rpcinfo fault ) but at least everything is
detected ...
--
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.