Red Hat Bugzilla – Bug 4717
Impossibility to export volumes via NFS
Last modified: 2008-05-01 11:37:51 EDT
I just installed Linux RedHat 6.0 (kernel 2.2.5) on a
Pentium II, 350Mhz (Hot Plug) ; I want to use this computer
as a file
server to make saves from other computers (IBM Risc 6000,
OSF Digital, Ultrix, Sun and so on) ; The Linux computer
"arcobs" gets 256Mo ram and six SCSI disks (the first for
the system and the others to export via NFS to the client
The network is OK and particularly NFS ; so I can mount a
remote volume on the files Server (arcobs), but on the
computers I get the following message :
"NFS3 RFS3_FSINFO failed for server arcobs : RPC :
Program/version mismatch /d_AER on /usr/d_SAV1 : I/O error".
The /etc/exports in "arcobs" is like this :
d_AER being the volume I want to export and opgc10 the
remote computer on which I mount d_AER (the mount point
/usr/d_SAV1 in the fstab of opgc10).
It seems that the RedHat kernel nfs server is announcing nfs
version 3, but it does not implement version 3.
I'm having NFS problems as well on brand new RH 6.0 machine.
It uses kernel 2.2.9. When NFS is started at boot time I get
Aug 25 16:24:41 chippewa nfs: Starting NFS services: succeeded
Aug 25 16:24:42 chippewa nfs: rpc.statd startup succeeded
Aug 25 16:24:42 chippewa nfs: rpc.rquotad startup succeeded
Aug 25 16:24:42 chippewa nfs: rpc.mountd startup succeeded
Aug 25 16:24:43 chippewa kernel: Installing knfsd (copyright (C) 1996
Aug 25 16:24:43 chippewa rpc.nfsd: nfssvc: Operation not permitted
Aug 25 16:24:43 chippewa nfs: rpc.nfsd startup failed
nfsd fails to start. I can mount nfs volumes on my linux box,
but I am unable to export anything.
BTW, I've set up the machine to be a NIS+ client as it lives
on a SUN network. NIS+ seems to work OK.
Upgrade to the latest knfsd-1.4.7 in Raw Hide. Alternatively, you
can add "--no-nfs-version 3" to the daemon startup.
Based on my experience with a similar problem (Bugzilla #5689), the
problem here is that the kernel-land NFS server is not configured into
the kernel or is configured as a module. You need to recompile the
kernel configured to ask about experimental stuff and to include
"NFS Server Support (NEW)" built into the kernel; including it as
a module was not good enough.
When I tried this, it got rid of the "nfssvc: Operation not permitted"
error but revealed another bug, at which point I decided to forget
kernel-mode NFS and fall back to the tried-and-true user-land NFS
server. That worked for me; if you want to do the same, see #5689
for the details.