From nobody Fri Sep 27 12:36:36 2024 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XFVMV1QqHz5Xxdw for ; Fri, 27 Sep 2024 12:36:38 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XFVMT5Y7fz4qH4 for ; Fri, 27 Sep 2024 12:36:37 +0000 (UTC) (envelope-from david@catwhisker.org) Authentication-Results: mx1.freebsd.org; none Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.18.1/8.18.1) with ESMTP id 48RCaasY095967; Fri, 27 Sep 2024 12:36:36 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.18.1/8.18.1/Submit) id 48RCaaqo095966; Fri, 27 Sep 2024 05:36:36 -0700 (PDT) (envelope-from david) Date: Fri, 27 Sep 2024 05:36:36 -0700 From: David Wolfskill To: Ronald Klop Cc: freebsd-stable@freebsd.org Subject: Re: how to find out where a umount is failing on -> vnodes: count 1 ? Message-ID: Mail-Followup-To: David Wolfskill , Ronald Klop , freebsd-stable@freebsd.org References: <2020716853.7639.1727440102154@localhost> List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/jWyQpGiXEkhgt71" Content-Disposition: inline In-Reply-To: <2020716853.7639.1727440102154@localhost> X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US] X-Rspamd-Queue-Id: 4XFVMT5Y7fz4qH4 X-Spamd-Bar: ---- --/jWyQpGiXEkhgt71 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 27, 2024 at 02:28:22PM +0200, Ronald Klop wrote: > Hi, >=20 > Sometimes when I stop a jail the filesystem is not unmounted. >=20 > /data/jails/freebsd14.1-RELEASE on /data/jails/jenkins/_root (nullfs, loc= al, read-only, nfsv4acls, fsid 07ff002929000000, vnodes: count 1 ) > [root@rpi4 ~]# umount 07ff002929000000 > umount: unmount of /data/jails/jenkins/_root failed: Device busy >=20 > Sometimes after some time the umount does succeed. >=20 > 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 --=20 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. --/jWyQpGiXEkhgt71 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQSTLzOSbomIK53fjFliipiWhXYx5QUCZvam018UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTMy RjMzOTI2RTg5ODgyQjlEREY4QzU5NjI4QTk4OTY4NTc2MzFFNQAKCRBiipiWhXYx 5Zd5AQD6w8dQVyN+G0UYK7OhKiyFrsxJYgVR8EUYgZHD4neMmAEAoGoUdRI/mxqK DsAeXM2fayjbWkzHdPIWwrzEMZSVtAw= =zaob -----END PGP SIGNATURE----- --/jWyQpGiXEkhgt71--