Hi folks,
I have a shutdown problem i was hoping someone could help me with. I'm
bit of a newbie, so please bear with me. I'm running a NIS / NFS
server, and export home directories etc to my clients. The clients use
the automounter to mount the relevant directories. I'm using Mandrake
9.0. Everything runs fine until shutdown.
When a client shutsdown, i get RPC errors, these seems to vary a
little to what they apply to. They look as follows:
Unmounting NFS File System: umount2 Device or Resource Busy
umount: /home/user/chedburgh: not mounted
Then i get a series of RPC failures, such as
RPC: Sendmsg returned error 101
nfs: RPC call returned error 101
Sometimes the portmapper reports this error instead.
perror 101 = Network is unreadable
My syslog reports the following:
Sep 22 22:52:23 mars umount: umount2: Device or resource busy
Sep 22 22:52:23 mars umount: umount: /home/user/chedburgh: not mounted
Sep 22 22:52:23 mars netfs: Unmounting NFS filesystems: failed
Sep 22 22:52:30 mars netfs: Unmounting NFS filesystems (retry):
succeeded
Sep 22 22:52:37 mars netfs: Unmounting NFS filesystems (retry):
succeeded
Autofs is shutdown as K28, before the netfs shutdown script.
This all seems to be linked to the automounter i think, as when i am
logged in as root and shutdown, i get no troubles. When i shutdown,
the automounter tends to complain it cant unmount the home dir, i
assume this is because it has not timed out yet (expires after 180
sec). Is it the order of the shutdown? I have moved the autofs
shutdown script to after the netfs script, and it made no difference.
Anyone have any ideas please?
Also, i was curious to how others go about mounting home dirs, and if
its possible to get the system to correctly unmount a home dir on
shutdown?
Any ideas, tips or pointers greatly appreciated

Also, i'll post any
config files if you need to see them, i'm just not sure which to post
here now.
cheers
ched