I have just installed RedHat 6.1 on a pentium Pro 200 with 80 Mb of RAM.
Linux 2.2.12-20 is installed. I've tried for several days to integrate
the computer into a LAN composed by a NIS domain and a NFS server (where
there are some volumes containing softwares and my home directory). I
use amd (version 6.0.1-14) to mount on demand the NFS volumes I need. It
seems everything is OK.
Problems begin at the reboot time. The run level 6 lanches 'netfs stop'
which unmount network volumes (NFS particulary). It execute the command:
umount -f -a -t nfs
This command updates /etc/mtab (it is also updated when amd stop at the
reboot time) but /proc/mounts does not change. And this error is
umount: Cannot MOUNTPROG RPC: RPC: Program not registered
What does it means actually?
Since /proc/mounts does not change, the kernel thinks that NFS volumes
are always mounted and (I guess) it tries to unmount them. So it seeks
the NFS server. The problem is that amd is between the kernel and the
NFS server. According to the kernel, amd is a NFS server. But the reboot
process (rd6.d) stops amd before executing 'netfs stop'. So the reboot
process does not succeed to unmount nfs volumes listed in /proc/mounts
and it stops itself on the errors:
- 350 is the PID of amd (it does not run anymore)
- bacchus is the name of my computer
- /opt/local/include and /gril are some of the nfs mounting points
So I am forced to reset, before unmounting local file systems, to stop
my computer. :(
Did someone have the same problem?
Did he or she resove it?
Why /proc/mounts does not change while /etc/mtab is up to date?
Where can I find doc about NFS, NIS, RPC et amd (or automount)?
Thank you for your help,
Laboratoire d'Informatique Fondamentale de Lille (LIFL)
Universite des Sciences et Technologies de Lille
Batiment M3 Cite Scientifique
59655 Villeneuve d'Ascq Cedex
tel: 03 20 33 63 38
fax: 03 20 43 65 66