If you are using this with cifs I would try turning the oplocks of on the the qtree and also under options.  This seems to help with this problem.

Travis A. Zadikem
Senior Network Engineer
Aztek Engineering, Inc.

A mind is like a garden it only grows when
fed and watered correctly.
Brian Rice wrote:

I've started seeing exactly this sort of failure in rm -rf's as of 5.3.2D3.

rm: Unable to remove directory foo/bar/baz/gorp: File exists
rm: Unable to remove directory foo/bar/baz: File exists
rm: Unable to remove directory foo/bar: File exists
rm: Unable to remove directory foo: File exists

Someone asserted that these files were probably open.  But they're not...
or at least they're no more or less likely to be open than any of the
other files I have rm -rf'ed with no problem in the past.

The problem is non-deterministic.  Re-running the rm -rf does help, but
of course having to repeatedly re-issue rm commands as root does pose
quite a new set of problems. :-\

Brian

-- 
Travis A. Zadikem
Senior Network Engineer
PH: (303)-415-6175
Fax: (303)-786-9190

A mind is like a garden it only grows when 
fed and watered correctly.