From owner-freebsd-bugs@freebsd.org Wed Mar 24 23:44:09 2021 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 065E657B468 for ; Wed, 24 Mar 2021 23:44:09 +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 4F5Pvr6cSJz3Qj1 for ; Wed, 24 Mar 2021 23:44:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E113157B466; Wed, 24 Mar 2021 23:44:08 +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 E0D8557BB08 for ; Wed, 24 Mar 2021 23:44:08 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F5Pvr5yt7z3Qyj for ; Wed, 24 Mar 2021 23:44:08 +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.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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C02B31CED9 for ; Wed, 24 Mar 2021 23:44:08 +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 12ONi83L069723 for ; Wed, 24 Mar 2021 23:44:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12ONi8li069722 for bugs@FreeBSD.org; Wed, 24 Mar 2021 23:44:08 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 159356] [zfs] [patch] ZFS NAME_ERR_DISKLIKE check is Solaris-specific Date: Wed, 24 Mar 2021 23:44:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dclarke@blastwave.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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.34 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2021 23:44:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D159356 --- Comment #6 from Dennis Clarke --- I have no idea how to create anything in the mystery site that is=20 running phabricator. This thing --> https://reviews.freebsd.org/ . Therefore I have a real barrier to entry to do anything there. europa# uname -apKU=20 FreeBSD europa 14.0-CURRENT FreeBSD 14.0-CURRENT #2: Tue Mar 23 10:32:37 GMT 2021 root@europa:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 amd64 1400006 1400006 europa# zpool create -o cachefile=3D/boot/zfs/zpool.cache -m none \ > -O compress=3Dzstd -O checksum=3Dsha512 -O atime=3Don -O xattr=3Don \ > -o autoexpand=3Don -o autoreplace=3Don -o failmode=3Dcontinue \ > -o listsnaps=3Don -O dedup=3Doff -O copies=3D1 -O canmount=3Doff \ > -m none c0ffee mirror ada3p1 ada2p1=20 europa# zpool list NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEAL= TH=20 ALTROOT c0ffee 464G 176K 464G - - 0% 0% 1.00x ONLI= NE=20 - z0 95.5G 18.9G 76.6G - - 8% 19% 1.00x ONLI= NE=20 - europa# So there is no issue with a pool name that begins with "c[0-9". europa#=20 europa# zpool destroy c0ffee europa#=20 europa# zpool create -o cachefile=3D/boot/zfs/zpool.cache -m none \ > -O compress=3Dzstd -O checksum=3Dsha512 -O atime=3Don -O xattr=3Don \ > -o autoexpand=3Don -o autoreplace=3Don -o failmode=3Dcontinue \ > -o listsnaps=3Don -O dedup=3Doff -O copies=3D1 -O canmount=3Doff \ > -m none c0 mirror ada3p1 ada2p1 europa# zpool list NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH= =20 ALTROOT c0 464G 162K 464G - - 0% 0% 1.00x ONLINE= - z0 95.5G 18.9G 76.6G - - 8% 19% 1.00x ONLINE= - europa#=20 . . . europa# zfs recv -Fvu c0 < /var/tmp/root/z1_20210323231220.capR receiving full stream of z1@20210301132814 into c0@20210301132814 received 46.0K stream in 1 seconds (46.0K/sec) receiving incremental stream of z1@20210311172455 into c0@20210311172455 received 312B stream in 1 seconds (312B/sec) receiving incremental stream of z1@20210323231220 into c0@20210323231220 received 312B stream in 1 seconds (312B/sec) receiving full stream of z1/usr@20210301132814 into c0/usr@20210301132814 received 46.0K stream in 1 seconds (46.0K/sec) receiving incremental stream of z1/usr@20210311172455 into c0/usr@20210311172455 received 312B stream in 1 seconds (312B/sec) . . . receiving full stream of z1/freebsd_src@20210323231220 into c0/freebsd_src@20210323231220 received 3.28G stream in 50 seconds (67.1M/sec) europa# zfs list -r -t all c0=20 NAME USED AVAIL REFER MOUNTPOINT c0 12.7G 437G 24K none c0@20210301132814 0B - 24K - c0@20210311172455 0B - 24K - c0@20210323231220 0B - 24K - c0/freebsd_src 2.33G 437G 2.33G /usr/src c0/freebsd_src@20210323231220 0B - 2.33G - c0/opt 6.35G 437G 8.40M /opt c0/opt@20200930084425 28K - 8.28M - c0/opt@20200930093340 28K - 8.28M - c0/opt@20201219110739 123K - 8.41M - c0/opt@20210117031410 123K - 8.41M - c0/opt@20210121200001 125K - 8.40M - c0/opt@20210130051352 124K - 8.40M - c0/opt@20210220023743 124K - 8.40M - c0/opt@20210301132814 123K - 8.40M - c0/opt@20210311172455 124K - 8.40M - c0/opt@20210315070355 123K - 8.39M - c0/opt@20210323231220 0B - 8.40M - c0/opt/bw 6.32G 437G 6.09G /opt/bw c0/opt/bw@20200930084425 0B - 1.52G - c0/opt/bw@20200930093340 0B - 1.52G - c0/opt/bw@20201219110739 5.66M - 1.75G - c0/opt/bw@20210117031410 212K - 4.16G - c0/opt/bw@20210117194637 154K - 4.16G - c0/opt/bw@20210121200001 10.7M - 4.16G - c0/opt/bw@20210130051352 10.8M - 4.16G - c0/opt/bw@20210220023743 10.7M - 4.16G - c0/opt/bw@20210301132814 71.9M - 4.54G - c0/opt/bw@20210311172455 18.0M - 6.09G - c0/opt/bw@20210315070355 18.0M - 6.09G - c0/opt/bw@20210323231220 0B - 6.09G - c0/test 36K 437G 36K /var/tmp/test c0/test@20210323231220 0B - 36K - c0/usr 4.00G 437G 24K none c0/usr@20210301132814 0B - 24K - c0/usr@20210311172455 0B - 24K - c0/usr@20210323231220 0B - 24K - c0/usr/home 4.00G 437G 3.01G /usr/home c0/usr/home@20200930084425 52.5K - 569M - c0/usr/home@20200930093340 53.5K - 569M - c0/usr/home@20201219110740 3.32M - 2.81G - c0/usr/home@20210117031410 4.04M - 2.89G - c0/usr/home@20210121200001 4.08M - 2.89G - c0/usr/home@20210130051352 4.07M - 2.89G - c0/usr/home@20210220023743 160K - 2.89G - c0/usr/home@20210301132814 161K - 2.88G - c0/usr/home@20210311172455 3.88M - 2.88G - c0/usr/home@20210323231220 0B - 3.01G - europa#=20 europa# zpool status c0 pool: c0 state: ONLINE config: NAME STATE READ WRITE CKSUM c0 ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 ada3p1 ONLINE 0 0 0 ada2p1 ONLINE 0 0 0 errors: No known data errors europa# zpool scrub c0=20 europa# . . .=20 europa# zpool status c0 pool: c0 state: ONLINE scan: scrub repaired 0B in 00:03:57 with 0 errors on Wed Mar 24 00:48:42 = 2021 config: NAME STATE READ WRITE CKSUM c0 ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 ada3p1 ONLINE 0 0 0 ada2p1 ONLINE 0 0 0 errors: No known data errors europa#=20 Seems to all be wonderful. --=20 You are receiving this mail because: You are the assignee for the bug.=