Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Oct 2021 18:01:07 -0500
From:      Doug McIntyre <merlyn@geeks.org>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: How to delete stale NFS handles
Message-ID:  <YWDNs2chfQcO2Vmp@geeks.org>
In-Reply-To: <CAGBxaXkb7u8Q-6xQbssUvF78kQ5YbjjL0uoPStEK=E5XmZ4TXw@mail.gmail.com>
References:  <CAGBxaXkb7u8Q-6xQbssUvF78kQ5YbjjL0uoPStEK=E5XmZ4TXw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 08, 2021 at 03:14:59PM -0400, Aryeh Friedman wrote:
> How do I delete the .nfs's in the following session capture:
> 
> aryeh@sarek1024% rm -rf scrap/
> rm: scrap/www/WEB-INF/lib: Directory not empty
...
> ./scrap/www/WEB-INF/lib/.nfs.82430403.33dc4.4
> ./scrap/www/WEB-INF/lib/.nfs.82430407.33dc4.4
> ./scrap/www/WEB-INF/lib/.nfs.82430406.33dc4.4

There's a process running that is holding that file open.

You'll have to shut down that process so it'll release the file handle.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YWDNs2chfQcO2Vmp>