From nobody Fri Feb 25 13:27:06 2022 X-Original-To: fs@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 7060119DC029 for ; Fri, 25 Feb 2022 13:27:06 +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 4K4rCt0cNTz3j01 for ; Fri, 25 Feb 2022 13:27:06 +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 E525720885 for ; Fri, 25 Feb 2022 13:27:05 +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 21PDR5Rj011040 for ; Fri, 25 Feb 2022 13:27:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21PDR5Cu011039 for fs@FreeBSD.org; Fri, 25 Feb 2022 13:27:05 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: fs@FreeBSD.org Subject: [Bug 251828] "zfs create -o " ignores mode when creating the device node Date: Fri, 25 Feb 2022 13:27:06 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zedupsys@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645795626; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3AVOoQqheeKvHuJJA34zzW2KU5mPUTW4HT2G86t4CGk=; b=VvygQ2rYZ1L5HWyTAanvJvF9r/DANgu0Qa2YKJ5OyI4dDkZnVgh9J9OSziDyYCUma1hr+p 7dEes2ek9AJWUHxjOLuwASNUA9E1Z2l6f/y2xFAyzvYdo1UA9SM5cwv0jw6ouKk6rRCnzj 2jF9h+HgJG9kn+W1li+/fwLobDjfmdrI6rJaOkX8LpDxiHnru/C5O+Uny29Fw8ahnupiMl hvLRSrBRs5P6C7Gjmtu1CJcTVxXYwFi3WSNhPT53qyK4XIjzlie5nSl4Ve25mvWJj0dYum abOOXBtwTWYv1fKJhe+mwwWFBOxJEmc9rD9HEESkN7C9Z3cDDNYFt7PR67f2Mw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645795626; a=rsa-sha256; cv=none; b=Gn5Vd+Owvw0s61jXqCqmIVlAtLvhIpb95rT8qEZwfBOH8wDxUcXgdrHLK7GAvRTLpDdVfF LsHDAt54VXcnKGkz5RDM1wxTeppRKmkLNtYRhDaZJIl2KL06Zk2nfIVaTX6kXFrEqzfIwq RKTkWfjQoPegqcOkrDf1/Jaytkux6fwmjajEwx8kinAYfG+ecEFYf9YB0PxBLZmMcDut9a 1ifhUbbMDDEsKkoEUSDJFMauhlmo9YSsfQIPsxrlsm+lgi83yjS/WWpSaWnt8/yr8W0H2x X7+5upOGTNgFT+FI/X6SaoTrWYE7DGZeLUoZQahnilFdzU3qr15sCW8gK/6aOw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251828 Janis changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zedupsys@gmail.com --- Comment #5 from Janis --- I tested this bug, whose fix seems to have introduced bug #262189 as report= ed by me. In 13.0-RELEASE there was no way to reproduce this bug. In each shown case received answer from gpart was: gpart: arg0 'zvol/testpool/vol': Invalid argument So i specially tested 12.2-RELEASE, but i could not repeat it exactly, but partially. I believe that it is due to the reasoning as in bug #262189, sin= ce i had virtual machine, VirtualBox, 1 vCPU assigned. Thus, in each case i got = the same answer, volmode=3Ddev was not respected at all. # zfs create -o volmode=3Ddev -V 64m testpool/vol # gpart create -s gpt /dev/zvol/testpool/vol zvol/testpool/vol created # zfs create -V 64m testpool/vol # zfs set volmode=3Ddev testpool/vol # gpart create -s gpt /dev/zvol/testpool/vol zvol/testpool/vol created But if i did this flow: # zfs create -V 64m testpool/vol # zfs set volmode=3Ddev testpool/vol # .. reboot system .. # gpart create -s gpt /dev/zvol/testpool/vol gpart: arg0 'zvol/testpool/vol': Invalid argument then returned value is as expected. In 12.2-RELEASE i could not reproduce bug #262189 --=20 You are receiving this mail because: You are the assignee for the bug.=