From owner-freebsd-current@freebsd.org Thu Oct 24 07:58:51 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7E46B163484 for ; Thu, 24 Oct 2019 07:58:51 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46zKPk59Rlz4gBd for ; Thu, 24 Oct 2019 07:58:50 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id A684B8D4A224 for ; Thu, 24 Oct 2019 07:58:42 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 256B8E7084E for ; Thu, 24 Oct 2019 07:58:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id jgAaLMwAeHvy for ; Thu, 24 Oct 2019 07:58:40 +0000 (UTC) Received: from [192.168.2.110] (unknown [IPv6:fde9:577b:c1a9:31:a5e2:9978:41e0:ce84]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id AAE3CE70828 for ; Thu, 24 Oct 2019 07:58:40 +0000 (UTC) From: "Bjoern A. Zeeb" To: "FreeBSD Current" Subject: fsync: giving up on dirty, umount -f fails Date: Thu, 24 Oct 2019 07:58:39 +0000 X-Mailer: MailMate (2.0BETAr6142) Message-ID: <132B079B-69D3-4525-A1B1-076514ED7ED5@lists.zabbadoz.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 46zKPk59Rlz4gBd X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 2a01:4f8:13b:39f::9f:25 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net X-Spamd-Result: default: False [-4.79 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:13b:39f::9f:25]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[zabbadoz.net]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; IP_SCORE(-2.49)[ip: (-8.45), ipnet: 2a01:4f8::/29(-2.16), asn: 24940(-1.82), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2019 07:58:51 -0000 Hi, I am archiving some old disks and while trying to umount [-f] them I am getting errors and I basically cannot get rid of the mount anymore without rebooting. This is on a HEAD from mid-end-August (around r351518M). Given there is a lot of work going on at the moment to deal with “disks dropping out by error” and not to panic I was just wondering if this is something to address as well? Somehow umount -f should be able to succeed (in the future)? fsync: giving up on dirty (error = 5) g_vfs_done():da0s2g[READ(offset=4666441728, length=16384)]error = 5 0xfffff803533b81e0: tag devfs, type VCHR usecount 1, writecount 0, refcount 1661 rdev 0xfffff8015372a800 flags (VI_ACTIVE) v_object 0xfffff80365537c00 ref 0 pages 8340 cleanbuf 1561 dirtybuf 97 lock type devfs: EXCL by thread 0xfffff80006a57000 (pid 26526, umount, tid 100091) dev da0s2g /bz