Networking Forums

Networking Forums > Computer Networking > Linux Networking > nfs shutdown error (automount)

Reply
Thread Tools Display Modes

nfs shutdown error (automount)

 
 
ched
Guest
Posts: n/a

 
      09-22-2003, 10:47 PM
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LDAP error message? (automount schema) Charles Tryon Linux Networking 3 01-28-2008 09:49 PM
LDAP and Automount? Charles Tryon Linux Networking 0 12-15-2007 08:48 PM
NIS, automount and offline Ole Jacob Taraldset Linux Networking 0 02-24-2006 05:50 PM
Nfs automount direct map Valery Lang Linux Networking 2 12-14-2003 10:51 PM
Re: nested amd automount yuhl Linux Networking 0 06-30-2003 09:47 AM



1 2 3 4 5 6 7 8 9 10 11