From owner-freebsd-bugs@freebsd.org Mon Aug 12 08:55:41 2019 Return-Path: Delivered-To: freebsd-bugs@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 EE660AAA68 for ; Mon, 12 Aug 2019 08:55:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 466V7167R0z41xy for ; Mon, 12 Aug 2019 08:55:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D0762AAA67; Mon, 12 Aug 2019 08:55:41 +0000 (UTC) Delivered-To: bugs@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 D037CAAA66 for ; Mon, 12 Aug 2019 08:55:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 466V715BDFz41xx for ; Mon, 12 Aug 2019 08:55:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8F2BD2417F for ; Mon, 12 Aug 2019 08:55:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x7C8tfe8027278 for ; Mon, 12 Aug 2019 08:55:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x7C8tfB2027277 for bugs@FreeBSD.org; Mon, 12 Aug 2019 08:55:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 239797] zfs promote corrupted df/mount output of device names of UFS filesystems Date: Mon, 12 Aug 2019 08:55:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ota@j.email.ne.jp X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2019 08:55:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239797 Bug ID: 239797 Summary: zfs promote corrupted df/mount output of device names of UFS filesystems Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: ota@j.email.ne.jp After running several zfs promote and zfs destroy commands, the output of df/mount incorrectly list zvol name for / and /usr UFS filesystems. Below = is the output of zfs list and df to compare. sys/zlib_BBD_CTF@starting_bxe prefixes to these UFS filesystems are incorre= ct. I didn't see any functionality issues with these although I wasn't comforta= ble. After rebooting, the output of df and mount became correct. % zfs list NAME USED AVAIL REFER MOUNTPOINT sys 15.6G 7.12G 262K /mnt/sys sys/local 4.39G 7.12G 2.20G /usr/local sys/obj 6.43G 7.12G 6.43G /usr/obj sys/ports 309M 7.12G 309M /usr/ports sys/ports-build 16.5M 7.12G 16.5M /ports sys/src-git-zlib 2.96G 7.12G 1.51G /usr/obj/freebsd sys/src2 742M 7.12G 742M /usr/src sys/zlib-dual-git 77.2M 7.12G 1.76G /mnt/sys/zlib-dual-git sys/zlib_BBD_CTF 729M 7.12G 729M /usr/obj/zlib % df -h Filesystem Size Used Avail Capacity= =20 Mounted on sys/zlib_BBD_CTF@starting_bxe/dev/ada0s1a 989M 779M 131M 86% = / devfs 1.0K 1.0K 0B 100%=20= =20=20 /dev sys/zlib_BBD_CTF@starting_bxe/dev/ada0s1d 6.8G 2.6G 3.7G 41%=20= =20=20 /usr tmpfs 2.0G 28K 2.0G 0%=20= =20=20 /tmp tmpfs 2.0G 4.0K 2.0G 0%=20= =20=20 /usr/tmp sys 7.1G 262K 7.1G 0%=20= =20=20 /mnt/sys sys/obj 14G 6.4G 7.1G 47%=20= =20=20 /usr/obj sys/ports-build 7.1G 16M 7.1G 0%=20= =20=20 /ports sys/src2 7.8G 742M 7.1G 9%=20= =20=20 /usr/src sys/local 9.3G 2.2G 7.1G 24%=20= =20=20 /usr/local sys/ports 7.4G 309M 7.1G 4%=20= =20=20 /usr/ports sys/zlib_BBD_CTF 7.8G 729M 7.1G 9%=20= =20=20 /usr/obj/zlib sys/zlib-dual-git 8.9G 1.8G 7.1G 20%=20= =20=20 /mnt/sys/zlib-dual-git sys/src-git-zlib 8.6G 1.5G 7.1G 18%=20= =20=20 /usr/obj/freebsd --=20 You are receiving this mail because: You are the assignee for the bug.=