On Sunday September 23, [EMAIL PROTECTED] wrote: > On Sat, Sep 22, 2007 at 10:42:31AM -0700, David Liontooth wrote: > > Package: nfs-kernel-server > > Version: 1:1.1.0-13 > > Severity: normal > > > > > > The command to unexport a directory appears to no longer have any effect. > > > > I issue "exportfs -u :/tv01" and "exportfs" shows /tv01 still exported; > > consequently, I cannot unmount it. > > In contrast, removing /tv01 from /etc/exports and then running exportfs -ra > > successfully removes the export. > > > > This used to work fine. > > Sending this on to upstream, as I cannot see any good reason offhand why it > should not work.
Some simple testing and code review suggests that this works as expected. However it is possible that I am expecting something different to you, or testing something different. You say you: exportfs -u :/tv01 What exactly is in your /etc/exports that this is expected to revert? The obvious answer would be /tv01 (some,flags,here) however "exportfs" will complain about that, so I suspect not. Maybe you have: /tv01 somehost(someflags) otherhost(otherflags) and you expect exportfs -u :/tv01 to unexport /tv01 to all hosts? I would agree that doesn't work. Did it ever? What version? As an aside, you can always: exportfs -f and then unmount filesystems. They will be free to be unmounted until the next NFS access request arrives. Maybe that will server your needs? NeilBrown -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]