Subject: Re: problems with recursive removal of hierarchy that's loopback mounted from NFS
To: NetBSD-current Discussion List <current-users@NetBSD.ORG>
From: Bob Nestor <rnestor@augustmail.com>
List: current-users
Date: 05/29/2000 10:30:26
Greg A. Woods wrote:

>This is probably "grounds" for a send-pr, but I thought I'd better check
>here first to see if it's either already known or maybe even fixed.
>
>I have my public FTP directory NFS mounted on my other servers, and then
>I use a loopback mount to put them squarely in /var/spool/ftp/pub on
>each server (so that an anonymous chroot'ed ftp works to any server just
>as it does to the official one).
>
>This seems to work fine except when I do a recursive removal of a
>directory hierarchy.  Some portion of the tree is correctly removed and
>then suddenly "rm" starts reporting "Invalid argument".  Here's an
>example:

I don't know if it's related, but I'm seeing some funny stuff with NFS 
mounted filesystems too.  I've got the current source tree NFS mounted 
and I'm trying to do a "make release" on a client system.  Every so often 
I'm seeing "permission denied" on file accesses.  The build is running as 
root and the file protections are all open.  In interactive mode the 
offending command always succeeds.  I'm in the process of copying the 
source tree to local storage to see if the problem is in fact NFS related.

Oh, the system serving the source tree is running 1.4.2/sparc, the system 
attempting to use it is running a fairly recent version of -current 
(1.4Y/mac68k).

-bob