From nobody Fri Sep 27 12:28:22 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 4XFVB84R72z5Xx8G for ; Fri, 27 Sep 2024 12:28:32 +0000 (UTC) (envelope-from SRS0=hpl7=QZ=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (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 4XFVB56w72z4n5R for ; Fri, 27 Sep 2024 12:28:29 +0000 (UTC) (envelope-from SRS0=hpl7=QZ=klop.ws=ronald-lists@realworks.nl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=rw2 header.b=ADyIcJg0; spf=pass (mx1.freebsd.org: domain of "SRS0=hpl7=QZ=klop.ws=ronald-lists@realworks.nl" designates 194.109.157.24 as permitted sender) smtp.mailfrom="SRS0=hpl7=QZ=klop.ws=ronald-lists@realworks.nl"; dmarc=pass (policy=quarantine) header.from=klop.ws Date: Fri, 27 Sep 2024 14:28:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1727440102; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=JZXbIinlfZgBym12qirY77X5DJ7lhXBaf3xrrL6m9ZA=; b=ADyIcJg0TwCsRnGsgJvTStgYeoirFVcm8VF6XfE19imxTYYsxn3QOiIijAN9lXI/9p4wQD DkCu1abnGgZwvWr+ZMcmxuE9GJ/BsrUpDG1g+6W8TBbNSy37qowAlbJhmP8lfmnJ+8Rfd0 Fy18HEjDGNarJ95cqz+bB87WYdhqG1ym5aAkholoC9he6YKS6tBfYosskric3lWdhsTaJN eq/4z84DS7YQjoqNdEK9sDx1Xyc7wqve6tHKH1NL88EQiVaHofTcN2jIWVTa2dY2gueCU8 IjP0f7OHzw8Q3HsbxQrH5A4tQX9uIvLoFgjaH0NRbeHzQHdfkw3sKcCl8Geesg== From: Ronald Klop To: freebsd-stable@freebsd.org Message-ID: <2020716853.7639.1727440102154@localhost> Subject: how to find out where a umount is failing on -> vnodes: count 1 ? 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/alternative; boundary="----=_Part_7638_1380732487.1727440102039" X-Mailer: Realworks (720.59) Importance: Normal X-Priority: 3 (Normal) X-Spamd-Result: default: False [-2.20 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.997]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[klop.ws,quarantine]; FORGED_SENDER(0.30)[ronald-lists@klop.ws,SRS0=hpl7=QZ=klop.ws=ronald-lists@realworks.nl]; R_SPF_ALLOW(-0.20)[+ip4:194.109.157.0/24]; R_DKIM_ALLOW(-0.20)[klop.ws:s=rw2]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ZERO(0.00)[0]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[freebsd-stable@freebsd.org]; FROM_NEQ_ENVFROM(0.00)[ronald-lists@klop.ws,SRS0=hpl7=QZ=klop.ws=ronald-lists@realworks.nl]; TO_DN_NONE(0.00)[]; HAS_X_PRIO_THREE(0.00)[3]; DKIM_TRACE(0.00)[klop.ws:+] X-Rspamd-Queue-Id: 4XFVB56w72z4n5R X-Spamd-Bar: -- ------=_Part_7638_1380732487.1727440102039 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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? Ronald. ------=_Part_7638_1380732487.1727440102039 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit 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?

Ronald.
  ------=_Part_7638_1380732487.1727440102039--