Install from NFS onto NFS fails on amd64

Rick Macklem rmacklem at uoguelph.ca
Thu Jul 2 14:50:42 UTC 2009



On Thu, 2 Jul 2009, Bjoern A. Zeeb wrote:

> Hi,
>
> trying to installworld from NFS to NFS (which also is the NFS Root
> of the installing and to be updated machien) on amd64 always fails
> with this error.  Anyone knows why that is?
>
[stuff snipped]
> install -s -o root -g wheel -m 555   ldd32 /usr/bin
> rm: /tmp/install.uMl44I7W: Directory not empty
> *** Error code 1
>
> Stop in /zoo/bz/HEAD.svn.
> *** Error code 1
>
> Stop in /zoo/bz/HEAD.svn.
> lion1# 
Well, at a quick glance, I can't see anything in either the NFS client nor
server that generates ENOTEMPTY for rmdir. It would seem to me that it
was generated by the underlying file system on the NFS server for some
reason. (Same goes for the syscall above the client side NFS.)

You could confirm this with a printf() right after VOP_RMDIR() in
sys/nfsserver/nfs_serv.c. (A tcpdump/wireshark trace would tell you
if the ENOTEMPTY was reported by the server, which looks like it is
the case.)

Not much help, but...rick


More information about the freebsd-current mailing list