Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Sep 2024 05:36:36 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        Ronald Klop <ronald-lists@klop.ws>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: how to find out where a umount is failing on -> vnodes: count 1 ?
Message-ID:  <Zvam1EJ0xbnLKkLK@albert.catwhisker.org>
In-Reply-To: <2020716853.7639.1727440102154@localhost>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iNUEARYKAH0WIQSTLzOSbomIK53fjFliipiWhXYx5QUCZvam018UgAAAAAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTMy
RjMzOTI2RTg5ODgyQjlEREY4QzU5NjI4QTk4OTY4NTc2MzFFNQAKCRBiipiWhXYx
5Zd5AQD6w8dQVyN+G0UYK7OhKiyFrsxJYgVR8EUYgZHD4neMmAEAoGoUdRI/mxqK
DsAeXM2fayjbWkzHdPIWwrzEMZSVtAw=
=zaob
-----END PGP SIGNATURE-----
help

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