Re: [Yaffs] [YAFFS] NFS export with YAFFS2 (continued)

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Henrik Grindal Bakken
Date:  
To: yaffs
Subject: Re: [Yaffs] [YAFFS] NFS export with YAFFS2 (continued)
Charles Manning <> writes:

>> Second update. It appears that after a kill -9 on [lockd] and
>> [nfsd], they die within a relatively short time, but not instantly.
>> When they are both dead, I can umount.
>
> If you are using the kernel exporting then killing the daemon with
> -9 might not be immediately cleaning up since some state is in the
> kernel and some in the process. If that is happening then it might
> be taking a while for the kernel to detect the problem and clean up.
>
> Since the fs is busy while it is exported, you can't unmount it.
>
> If you do this cleanly with exportfs -u ... then you should be able
> to unmount yaffs.


I shut down nfs first, but I don't do exportfs -u, which I probably
should. I'm merely shutting down nfs first (along with the other
running processes), and then (somewhat later) umounting. I'll try to
add exportfs -u to my nfs shutdown script.


--
Henrik Grindal Bakken <>
PGP ID: 8D436E52
Fingerprint: 131D 9590 F0CF 47EF 7963 02AF 9236 D25A 8D43 6E52