Re: how to find out where a umount is failing on -> vnodes: count 1 ?
- In reply to: David Wolfskill : "Re: how to find out where a umount is failing on -> vnodes: count 1 ?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 27 Sep 2024 12:47:03 UTC
Dear,
try lsof
Yves Guerin
Le vendredi 27 septembre 2024 à 08:37:20 UTC−4, David Wolfskill <david@catwhisker.org> 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 david@catwhisker.org
A convicted felon threatens to jail election officials. Sad.
See https://www.catwhisker.org/~david/publickey.gpg for my public key.