* trying to unload nfsd
@ 2007-01-04 20:06 Brian J. Murrell
2007-01-05 12:17 ` Trond Myklebust
0 siblings, 1 reply; 3+ messages in thread
From: Brian J. Murrell @ 2007-01-04 20:06 UTC (permalink / raw)
To: nfs
[-- Attachment #1.1: Type: text/plain, Size: 793 bytes --]
I have umounted all of my nfs filesystems and stopped the nfs services.
I still can't unload the nfsd module:
$ sudo /sbin/lsmod | grep nfsd
nfsd 277152 4
exportfs 7680 1 nfsd
lockd 77616 1 nfsd
nfs_acl 5120 1 nfsd
sunrpc 174840 7 nfsd,lockd,nfs_acl
The only thing I can see that could be pinning it still is:
$ grep nfs /proc/mounts
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
But I can't seem to umount that:
$ sudo umount /var/lib/nfs/rpc_pipefs
umount: /var/lib/nfs/rpc_pipefs: device is busy
umount: /var/lib/nfs/rpc_pipefs: device is busy
What could be pinning that fs/mount-point?
b.
--
My other computer is your Microsoft Windows server.
Brian J. Murrell
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 347 bytes --]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
[-- Attachment #3: Type: text/plain, Size: 140 bytes --]
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: trying to unload nfsd
2007-01-04 20:06 trying to unload nfsd Brian J. Murrell
@ 2007-01-05 12:17 ` Trond Myklebust
2007-01-08 15:57 ` Steve Dickson
0 siblings, 1 reply; 3+ messages in thread
From: Trond Myklebust @ 2007-01-05 12:17 UTC (permalink / raw)
To: Brian J. Murrell; +Cc: nfs
On Thu, 2007-01-04 at 15:06 -0500, Brian J. Murrell wrote:
> I have umounted all of my nfs filesystems and stopped the nfs services.
> I still can't unload the nfsd module:
>
> $ sudo /sbin/lsmod | grep nfsd
> nfsd 277152 4
> exportfs 7680 1 nfsd
> lockd 77616 1 nfsd
> nfs_acl 5120 1 nfsd
> sunrpc 174840 7 nfsd,lockd,nfs_acl
>
> The only thing I can see that could be pinning it still is:
>
> $ grep nfs /proc/mounts
> sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
>
> But I can't seem to umount that:
>
> $ sudo umount /var/lib/nfs/rpc_pipefs
> umount: /var/lib/nfs/rpc_pipefs: device is busy
> umount: /var/lib/nfs/rpc_pipefs: device is busy
>
> What could be pinning that fs/mount-point?
Nothing in the sunrpc module depends on anything in nfsd as you can see
from the above lsmod output.
I'd rather expect that you've forgotten to kill off rpc.mountd,
rpc.idmapd and/or rpc.svcgssd.
Trond
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: trying to unload nfsd
2007-01-05 12:17 ` Trond Myklebust
@ 2007-01-08 15:57 ` Steve Dickson
0 siblings, 0 replies; 3+ messages in thread
From: Steve Dickson @ 2007-01-08 15:57 UTC (permalink / raw)
To: Trond Myklebust; +Cc: Brian J. Murrell, nfs
Trond Myklebust wrote:
> I'd rather expect that you've forgotten to kill off rpc.mountd,
> rpc.idmapd and/or rpc.svcgssd.
Right... here is what I do to unload both nfsd and sunrpc
service nfs stop && service rpcidmapd stop &&
umount /proc/fs/nfsd && rmmod nfsd
rmmod lockd && rmmod nfs_acl
umount /var/lib/nfs/rpc_pipefs && rmmod sunrpc
(Note: this assumes there are entires in /etc/fstab
for both /proc/fs/nfsd and var/lib/nfs/rpc_pipefs.
It also assumes the Secure NFS gssd daeamon are not
running).
steved.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-01-08 15:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-04 20:06 trying to unload nfsd Brian J. Murrell
2007-01-05 12:17 ` Trond Myklebust
2007-01-08 15:57 ` Steve Dickson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.