Dear,
try lsof
Yves Guerin
Le vendredi 27 septembre 2024 à 08:37:20 UTC−4, David Wolfskill
<[email protected]> a écrit :
On Fri, Sep 27, 2024 at 02:28:22PM +0200, Ronald Klop wrote:
> Hi,
>
> Sometimes when I stop a jail the filesystem is not unmounted.
>
> /data/jails/freebsd14.1-RELEASE on /data/jails/jenkins/_root (nullfs, local,
> read-only, nfsv4acls, fsid 07ff002929000000, vnodes: count 1 )
> [root@rpi4 ~]# umount 07ff002929000000
> umount: unmount of /data/jails/jenkins/_root failed: Device busy
>
> Sometimes after some time the umount does succeed.
>
> How can I find what is keeping this mount busy?
> ....
fstat(1) should be able to do that -- e.g.:
fstat -f /data/jails/jenkins/_root
Peace,
david
--
David H. Wolfskill [email protected]
A convicted felon threatens to jail election officials. Sad.
See https://www.catwhisker.org/~david/publickey.gpg for my public key.