From unknown Mon Aug 18 18:03:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#55184: XFS partition could not be created on NVMe disk via parted command Resent-From: Hossein Ojani Original-Sender: "Debbugs-submit" Resent-CC: bug-parted@gnu.org Resent-Date: Fri, 29 Apr 2022 14:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55184 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: 55184@debbugs.gnu.org X-Debbugs-Original-To: bug-parted@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165124136929693 (code B ref -1); Fri, 29 Apr 2022 14:10:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Apr 2022 14:09:29 +0000 Received: from localhost ([127.0.0.1]:54998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkRJJ-0007im-7I for submit@debbugs.gnu.org; Fri, 29 Apr 2022 10:09:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:48122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkQQO-0000tZ-Jy for submit@debbugs.gnu.org; Fri, 29 Apr 2022 09:12:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkQQO-0005JO-G1 for bug-parted@gnu.org; Fri, 29 Apr 2022 09:12:44 -0400 Received: from mail-vs1-xe30.google.com ([2607:f8b0:4864:20::e30]:46822) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nkQQM-0001g2-Sm for bug-parted@gnu.org; Fri, 29 Apr 2022 09:12:44 -0400 Received: by mail-vs1-xe30.google.com with SMTP id z144so7466895vsz.13 for ; Fri, 29 Apr 2022 06:12:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=r+ihSBkX0+44dSdX+TV6Ywk6wehN2gdbtujEWd7fyVY=; b=R3iIo+ViofhgXYvS/LDjeXCdrhHZ1PaOg87VVnSO+QEP0DN728ohouIbUjtmFG9NS0 hI1dBGlFnVsiw+GUd9jpodw/CP7eLSNMTNuUOr91edIgFlsrvH8xBxofD0xrJM5Fmkuf nYiDIvx7M4xpQl3W8BiXtKazOc/gNgghEhFBlI0MtmS3B5RBatZYu7QI8JCLNTsIpWvm oYiRvG4uTFYDdtAMP+hRSvlVQfJDmV0ZkCPjNUbc0m8KAM53XnFg8baUpcKAB8VzUq9j nW5e1rkU46BCrRNTkFWivIT5PMgXedJW028ppjf+JGCvQwctm2Hixgx4OVqKBRY/Gsbt rO2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=r+ihSBkX0+44dSdX+TV6Ywk6wehN2gdbtujEWd7fyVY=; b=Qm7xkvyeoyeSclEoM4+J0U1YFsKrpE6PdPgW9ma/uYeIRrofzZlaiUviPsGJX69OvF wavoxD6yYgn6YduLm73ynwEZ6i/sHWYYsCq3l5ng2y6RxrkMJmqRF4hRoVPtDqEb9Hyq VRGbuRAF9CWsV9LdRcAUyTEc8rALTUD9PZlccmwsQtLfdMpNrzugUz5WDuNGbtlKIpjG o95MJ8xOE4ocFyEEi9saJyaKQEAe11KJ0emzn6OOw6nFVl/b9l9oNBv/ZtZZDgh76xV1 HfgPPbUcfFIGJ0nyDaJrAuQKmr5DTKFwxIR5wwQBVpQUKHtWNRVMQqQJarPcWcHcXElv jq1g== X-Gm-Message-State: AOAM533prq/hSZ3GDy8tq2b4mrImN/FtFJNfNJRvV1RuLqTIVbY5eL5j vcQ0MK6KAglJuUzjhE+IcSm6XpWoPHPJb9qcvy8a8LIN9VU= X-Google-Smtp-Source: ABdhPJzt+jZkAsg2QoCRYEE49xh/pOBi0qbDXhYLqcoAH2lEPYlx5A0p5ufM9X0gWf2i635aOm6Jd4HwiSL7RQNYorc= X-Received: by 2002:a67:d19a:0:b0:328:123a:fb18 with SMTP id w26-20020a67d19a000000b00328123afb18mr12601150vsi.80.1651237961006; Fri, 29 Apr 2022 06:12:41 -0700 (PDT) MIME-Version: 1.0 From: Hossein Ojani Date: Fri, 29 Apr 2022 09:12:25 -0400 Message-ID: Content-Type: multipart/alternative; boundary="0000000000001b036d05ddcacc48" Received-SPF: pass client-ip=2607:f8b0:4864:20::e30; envelope-from=hossein.ojani@gmail.com; helo=mail-vs1-xe30.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Mailman-Approved-At: Fri, 29 Apr 2022 10:09:28 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --0000000000001b036d05ddcacc48 Content-Type: text/plain; charset="UTF-8" Hi Team, I am writing this email to you because of an error that I've been encountering using parted command on a NVMe disk. Using an Ubuntu 20.04 dist, I've been trying to create partitions on a NVMe disk though I see errors. Below I will put just one of the conditions that I've faced errors, but there are several. (parted) print free Model: NVMe Device (nvme) Disk /dev/nvme0n1: 5369MB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 0.00B 511B 512B Free Space 1 512B 1074MB 1074MB primary lvm 1074MB 5369MB 4295MB Free Space *(parted) mkpart extended xfs 1074MB 1574MB * Error: Invalid number. However, the same action could be done if the File-System is not mentioned in the command: *(parted) mkpart extended 1074MB 1574MB* (parted) print Model: NVMe Device (nvme) Disk /dev/nvme0n1: 5369MB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 512B 1074MB 1074MB primary lvm 2 1074MB 1574MB 500MB extended lba It seems the command only denies using XFS File System as it does accept other partitions as below: (parted) mkpart primary ext4 1575MB 1774MB (parted) print Model: NVMe Device (nvme) Disk /dev/nvme0n1: 5369MB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 512B 1074MB 1074MB primary lvm 2 1074MB 1574MB 500MB primary lba 3 1575MB 1774MB 199MB primary ext4 lba Would you please check the case as I observed the same question in some relevant forums? I am looking forward to hearing from you. Yours sincerely, Hossein Ojani --0000000000001b036d05ddcacc48 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Team,

I am writing this e= mail to you because of an error that I've been encountering using parte= d command on a NVMe disk.

Using an Ubuntu 20.04 di= st, I've been trying to create partitions on a NVMe disk though I see e= rrors. Below I will put just one of the conditions that I've faced erro= rs, but there are several.

(= parted) print free =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
Model: NVMe= Device (nvme)
Disk /dev/nvme0n1: 5369MB
Sector size (logical/physica= l): 512B/512B
Partition Table: msdos
Disk Flags:

Number =C2= =A0Start =C2=A0 End =C2=A0 =C2=A0 Size =C2=A0 =C2=A0Type =C2=A0 =C2=A0 File= system =C2=A0Flags
=C2=A0 =C2=A0 =C2=A0 =C2=A0 0.00B =C2=A0 511B =C2=A0= =C2=A0512B =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Free Space
=C2=A01= =C2=A0 =C2=A0 =C2=A0512B =C2=A0 =C2=A01074MB =C2=A01074MB =C2=A0primary = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 lvm
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 1074MB =C2=A05369MB =C2=A04295MB =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 Free Space

(parted) mkpart extended xfs 107= 4MB 1574MB =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
Error: Invalid number.
=
However, the same action could be done if the File-System is= not mentioned in the command:

(parted) mkpart = extended 1074MB 1574MB =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
(parted)= print =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
Mo= del: NVMe Device (nvme)
Disk /dev/nvme0n1: 5369MB
Sector size (logica= l/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Num= ber =C2=A0Start =C2=A0 End =C2=A0 =C2=A0 Size =C2=A0 =C2=A0Type =C2=A0 =C2= =A0 =C2=A0File system =C2=A0Flags
=C2=A01 =C2=A0 =C2=A0 =C2=A0512B =C2= =A0 =C2=A01074MB =C2=A01074MB =C2=A0primary =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0lvm
=C2=A02 =C2=A0 =C2=A0 =C2=A01074MB =C2=A0157= 4MB =C2=A0500MB =C2=A0 extended =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 lba

It seems the command only denies us= ing XFS File System as it does accept other partitions as below:
=
(parted) mkpart primary ext4 1575MB 1774MB
(parted) print= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
Model: NV= Me Device (nvme)
Disk /dev/nvme0n1: 5369MB
Sector size (logical/physi= cal): 512B/512B
Partition Table: msdos
Disk Flags:

Number =C2= =A0Start =C2=A0 End =C2=A0 =C2=A0 Size =C2=A0 =C2=A0Type =C2=A0 =C2=A0 File= system =C2=A0Flags
=C2=A01 =C2=A0 =C2=A0 =C2=A0512B =C2=A0 =C2=A01074MB= =C2=A01074MB =C2=A0primary =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 lvm
=C2=A02 =C2=A0 =C2=A0 =C2=A01074MB =C2=A01574MB =C2=A0500MB =C2= =A0 primary =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 lba
=C2=A03= =C2=A0 =C2=A0 =C2=A01575MB =C2=A01774MB =C2=A0199MB =C2=A0 primary =C2=A0e= xt4 =C2=A0 =C2=A0 =C2=A0 =C2=A0 lba

Would you plea= se check the case as I observed the same question in some relevant forums?<= /div>
I am looking forward to hearing from you.

Yours sincerely,=
Hossein Ojani
--0000000000001b036d05ddcacc48-- From unknown Mon Aug 18 18:03:55 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Hossein Ojani Subject: bug#55184: closed (Re: bug#55184: XFS partition could not be created on NVMe disk via parted command) Message-ID: References: X-Gnu-PR-Message: they-closed 55184 X-Gnu-PR-Package: parted Reply-To: 55184@debbugs.gnu.org Date: Fri, 29 Apr 2022 15:42:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1651246922-15371-1" This is a multi-part message in MIME format... ------------=_1651246922-15371-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #55184: XFS partition could not be created on NVMe disk via parted command which was filed against the parted package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 55184@debbugs.gnu.org. --=20 55184: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D55184 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1651246922-15371-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 55184-close) by debbugs.gnu.org; 29 Apr 2022 15:41:38 +0000 Received: from localhost ([127.0.0.1]:55148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkSkU-0003zJ-Bf for submit@debbugs.gnu.org; Fri, 29 Apr 2022 11:41:38 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:33055) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkSkT-0003zC-0j for 55184-close@debbugs.gnu.org; Fri, 29 Apr 2022 11:41:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1651246896; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fddudlLkon3tCDbb6+CYQrkJLCnmPGFSRU/UVpZ9yl0=; b=CrgsXKuClWbcs/EprP4KxzLL2AkAjf6X4RCXjJif9NnG/dLh1ELFp7BG6KwRUGQce8e8gE ZbvLwc7rRLQObuKXb7DoHj4njV/47+2YUBH6S7bnMLosKaAFSU1E1d+bj7+iCCDER5IiAT j1f6jWqsUvIuLhdotJh3kaH4jO6hKTk= Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-427-BQxCkTF9NlmZy749QPLPJw-1; Fri, 29 Apr 2022 11:41:35 -0400 X-MC-Unique: BQxCkTF9NlmZy749QPLPJw-1 Received: by mail-pj1-f69.google.com with SMTP id s18-20020a17090aa11200b001d92f7609e8so4131335pjp.3 for <55184-close@debbugs.gnu.org>; Fri, 29 Apr 2022 08:41:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=fddudlLkon3tCDbb6+CYQrkJLCnmPGFSRU/UVpZ9yl0=; b=1eDbwDvGuqUsGSiTtzmrAntv/zZVK395WkKdNqVGy5d1JRMSxxQUf1Jv5lv9hibTGg MOp0MocgQ75xrarhNuT6lEx21tRDQTGeZhdkk+Roq34uklcvlhst4aNhki4w4bt1Q5la rVB0gXpAkfBcrCgdMAqQWwJN5Kleq1w56tmbld48Qe/CsnRLyA3Ob6w5BLRcSGjJFr35 G39GmUTKO7Edy32qB1KMU1CXc+cmq5Muf3KD6uwRjpWW62KgV7p3fjd0MP5PYIhHizQS LUU+mlg9QI9xNT4bFH4sr6BQ5zEaPNB17Mjc0i4wmivDZ1D99gfLjV1l4tAmwuewswHY FJjA== X-Gm-Message-State: AOAM5333+yIYMy8cs7Ddzh6feZ4vlD+ztVc8UPRTsJMm580TPYc9fHzl HFXmvm7+m9GnxLh9coRKUHH+qc4Ix/KITZNFnEVvGXlGfnNAn6kwjyv9nQn6fZawmUi4hfYy/QU a0R0SXmeXScZA+a26yUOlJAE= X-Received: by 2002:a17:90b:3a81:b0:1d9:54a0:9362 with SMTP id om1-20020a17090b3a8100b001d954a09362mr4648851pjb.144.1651246894347; Fri, 29 Apr 2022 08:41:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwsoWPLesfuDnMa8ZGLo9S1N4kBHkLgny0KAcxEYDiUsAPNIzu7JJVcyIFHPX54pxsVrgLyMQ== X-Received: by 2002:a17:90b:3a81:b0:1d9:54a0:9362 with SMTP id om1-20020a17090b3a8100b001d954a09362mr4648829pjb.144.1651246894088; Fri, 29 Apr 2022 08:41:34 -0700 (PDT) Received: from ohop.brianlane.com ([2601:603:5000:15f8:52e5:49ff:fe52:c5be]) by smtp.gmail.com with ESMTPSA id y14-20020a634b0e000000b003c14af50626sm6201521pga.62.2022.04.29.08.41.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Apr 2022 08:41:33 -0700 (PDT) Date: Fri, 29 Apr 2022 08:41:31 -0700 From: "Brian C. Lane" To: Hossein Ojani Subject: Re: bug#55184: XFS partition could not be created on NVMe disk via parted command Message-ID: References: MIME-Version: 1.0 In-Reply-To: Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=bcl@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 55184-close Cc: 55184-close@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Fri, Apr 29, 2022 at 09:12:25AM -0400, Hossein Ojani wrote: > Hi Team, > > I am writing this email to you because of an error that I've been > encountering using parted command on a NVMe disk. > > Using an Ubuntu 20.04 dist, I've been trying to create partitions on a NVMe > disk though I see errors. Below I will put just one of the conditions that > I've faced errors, but there are several. > *(parted) mkpart extended xfs 1074MB 1574MB * > Error: Invalid number. That's because an extended partition is a container for logical partitions, it doesn't have a filesystem on it, the logical partition does. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart ------------=_1651246922-15371-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 29 Apr 2022 14:09:29 +0000 Received: from localhost ([127.0.0.1]:54998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkRJJ-0007im-7I for submit@debbugs.gnu.org; Fri, 29 Apr 2022 10:09:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:48122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkQQO-0000tZ-Jy for submit@debbugs.gnu.org; Fri, 29 Apr 2022 09:12:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkQQO-0005JO-G1 for bug-parted@gnu.org; Fri, 29 Apr 2022 09:12:44 -0400 Received: from mail-vs1-xe30.google.com ([2607:f8b0:4864:20::e30]:46822) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nkQQM-0001g2-Sm for bug-parted@gnu.org; Fri, 29 Apr 2022 09:12:44 -0400 Received: by mail-vs1-xe30.google.com with SMTP id z144so7466895vsz.13 for ; Fri, 29 Apr 2022 06:12:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=r+ihSBkX0+44dSdX+TV6Ywk6wehN2gdbtujEWd7fyVY=; b=R3iIo+ViofhgXYvS/LDjeXCdrhHZ1PaOg87VVnSO+QEP0DN728ohouIbUjtmFG9NS0 hI1dBGlFnVsiw+GUd9jpodw/CP7eLSNMTNuUOr91edIgFlsrvH8xBxofD0xrJM5Fmkuf nYiDIvx7M4xpQl3W8BiXtKazOc/gNgghEhFBlI0MtmS3B5RBatZYu7QI8JCLNTsIpWvm oYiRvG4uTFYDdtAMP+hRSvlVQfJDmV0ZkCPjNUbc0m8KAM53XnFg8baUpcKAB8VzUq9j nW5e1rkU46BCrRNTkFWivIT5PMgXedJW028ppjf+JGCvQwctm2Hixgx4OVqKBRY/Gsbt rO2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=r+ihSBkX0+44dSdX+TV6Ywk6wehN2gdbtujEWd7fyVY=; b=Qm7xkvyeoyeSclEoM4+J0U1YFsKrpE6PdPgW9ma/uYeIRrofzZlaiUviPsGJX69OvF wavoxD6yYgn6YduLm73ynwEZ6i/sHWYYsCq3l5ng2y6RxrkMJmqRF4hRoVPtDqEb9Hyq VRGbuRAF9CWsV9LdRcAUyTEc8rALTUD9PZlccmwsQtLfdMpNrzugUz5WDuNGbtlKIpjG o95MJ8xOE4ocFyEEi9saJyaKQEAe11KJ0emzn6OOw6nFVl/b9l9oNBv/ZtZZDgh76xV1 HfgPPbUcfFIGJ0nyDaJrAuQKmr5DTKFwxIR5wwQBVpQUKHtWNRVMQqQJarPcWcHcXElv jq1g== X-Gm-Message-State: AOAM533prq/hSZ3GDy8tq2b4mrImN/FtFJNfNJRvV1RuLqTIVbY5eL5j vcQ0MK6KAglJuUzjhE+IcSm6XpWoPHPJb9qcvy8a8LIN9VU= X-Google-Smtp-Source: ABdhPJzt+jZkAsg2QoCRYEE49xh/pOBi0qbDXhYLqcoAH2lEPYlx5A0p5ufM9X0gWf2i635aOm6Jd4HwiSL7RQNYorc= X-Received: by 2002:a67:d19a:0:b0:328:123a:fb18 with SMTP id w26-20020a67d19a000000b00328123afb18mr12601150vsi.80.1651237961006; Fri, 29 Apr 2022 06:12:41 -0700 (PDT) MIME-Version: 1.0 From: Hossein Ojani Date: Fri, 29 Apr 2022 09:12:25 -0400 Message-ID: Subject: XFS partition could not be created on NVMe disk via parted command To: bug-parted@gnu.org Content-Type: multipart/alternative; boundary="0000000000001b036d05ddcacc48" Received-SPF: pass client-ip=2607:f8b0:4864:20::e30; envelope-from=hossein.ojani@gmail.com; helo=mail-vs1-xe30.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 29 Apr 2022 10:09:28 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --0000000000001b036d05ddcacc48 Content-Type: text/plain; charset="UTF-8" Hi Team, I am writing this email to you because of an error that I've been encountering using parted command on a NVMe disk. Using an Ubuntu 20.04 dist, I've been trying to create partitions on a NVMe disk though I see errors. Below I will put just one of the conditions that I've faced errors, but there are several. (parted) print free Model: NVMe Device (nvme) Disk /dev/nvme0n1: 5369MB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 0.00B 511B 512B Free Space 1 512B 1074MB 1074MB primary lvm 1074MB 5369MB 4295MB Free Space *(parted) mkpart extended xfs 1074MB 1574MB * Error: Invalid number. However, the same action could be done if the File-System is not mentioned in the command: *(parted) mkpart extended 1074MB 1574MB* (parted) print Model: NVMe Device (nvme) Disk /dev/nvme0n1: 5369MB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 512B 1074MB 1074MB primary lvm 2 1074MB 1574MB 500MB extended lba It seems the command only denies using XFS File System as it does accept other partitions as below: (parted) mkpart primary ext4 1575MB 1774MB (parted) print Model: NVMe Device (nvme) Disk /dev/nvme0n1: 5369MB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 512B 1074MB 1074MB primary lvm 2 1074MB 1574MB 500MB primary lba 3 1575MB 1774MB 199MB primary ext4 lba Would you please check the case as I observed the same question in some relevant forums? I am looking forward to hearing from you. Yours sincerely, Hossein Ojani --0000000000001b036d05ddcacc48 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Team,

I am writing this e= mail to you because of an error that I've been encountering using parte= d command on a NVMe disk.

Using an Ubuntu 20.04 di= st, I've been trying to create partitions on a NVMe disk though I see e= rrors. Below I will put just one of the conditions that I've faced erro= rs, but there are several.

(= parted) print free =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
Model: NVMe= Device (nvme)
Disk /dev/nvme0n1: 5369MB
Sector size (logical/physica= l): 512B/512B
Partition Table: msdos
Disk Flags:

Number =C2= =A0Start =C2=A0 End =C2=A0 =C2=A0 Size =C2=A0 =C2=A0Type =C2=A0 =C2=A0 File= system =C2=A0Flags
=C2=A0 =C2=A0 =C2=A0 =C2=A0 0.00B =C2=A0 511B =C2=A0= =C2=A0512B =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Free Space
=C2=A01= =C2=A0 =C2=A0 =C2=A0512B =C2=A0 =C2=A01074MB =C2=A01074MB =C2=A0primary = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 lvm
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 1074MB =C2=A05369MB =C2=A04295MB =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 Free Space

(parted) mkpart extended xfs 107= 4MB 1574MB =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
Error: Invalid number.
=
However, the same action could be done if the File-System is= not mentioned in the command:

(parted) mkpart = extended 1074MB 1574MB =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
(parted)= print =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
Mo= del: NVMe Device (nvme)
Disk /dev/nvme0n1: 5369MB
Sector size (logica= l/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Num= ber =C2=A0Start =C2=A0 End =C2=A0 =C2=A0 Size =C2=A0 =C2=A0Type =C2=A0 =C2= =A0 =C2=A0File system =C2=A0Flags
=C2=A01 =C2=A0 =C2=A0 =C2=A0512B =C2= =A0 =C2=A01074MB =C2=A01074MB =C2=A0primary =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0lvm
=C2=A02 =C2=A0 =C2=A0 =C2=A01074MB =C2=A0157= 4MB =C2=A0500MB =C2=A0 extended =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 lba

It seems the command only denies us= ing XFS File System as it does accept other partitions as below:
=
(parted) mkpart primary ext4 1575MB 1774MB
(parted) print= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
Model: NV= Me Device (nvme)
Disk /dev/nvme0n1: 5369MB
Sector size (logical/physi= cal): 512B/512B
Partition Table: msdos
Disk Flags:

Number =C2= =A0Start =C2=A0 End =C2=A0 =C2=A0 Size =C2=A0 =C2=A0Type =C2=A0 =C2=A0 File= system =C2=A0Flags
=C2=A01 =C2=A0 =C2=A0 =C2=A0512B =C2=A0 =C2=A01074MB= =C2=A01074MB =C2=A0primary =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 lvm
=C2=A02 =C2=A0 =C2=A0 =C2=A01074MB =C2=A01574MB =C2=A0500MB =C2= =A0 primary =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 lba
=C2=A03= =C2=A0 =C2=A0 =C2=A01575MB =C2=A01774MB =C2=A0199MB =C2=A0 primary =C2=A0e= xt4 =C2=A0 =C2=A0 =C2=A0 =C2=A0 lba

Would you plea= se check the case as I observed the same question in some relevant forums?<= /div>
I am looking forward to hearing from you.

Yours sincerely,=
Hossein Ojani
--0000000000001b036d05ddcacc48-- ------------=_1651246922-15371-1-- From unknown Mon Aug 18 18:03:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#55184: XFS partition could not be created on NVMe disk via parted command Resent-From: Hossein Ojani Original-Sender: "Debbugs-submit" Resent-CC: bug-parted@gnu.org Resent-Date: Sun, 01 May 2022 23:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55184 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: "Brian C. Lane" Cc: 55184-close@debbugs.gnu.org Received: via spool by 55184-done@debbugs.gnu.org id=D55184.16514484925317 (code D ref 55184); Sun, 01 May 2022 23:42:02 +0000 Received: (at 55184-close) by debbugs.gnu.org; 1 May 2022 23:41:32 +0000 Received: from localhost ([127.0.0.1]:34475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlJC0-0001Nh-Aw for submit@debbugs.gnu.org; Sun, 01 May 2022 19:41:32 -0400 Received: from mail-vs1-f46.google.com ([209.85.217.46]:40864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlJBz-0001NT-G2 for 55184-close@debbugs.gnu.org; Sun, 01 May 2022 19:41:31 -0400 Received: by mail-vs1-f46.google.com with SMTP id y74so12307596vsy.7 for <55184-close@debbugs.gnu.org>; Sun, 01 May 2022 16:41:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OeIuVS5yEbGIvgbbt2ptS7qooer+pTr8Jq4kIEGd4PU=; b=A55/9x2PG2Up3XXkKH6PhrXJCuUTAYt+hdWYvhTHvR1hAXFgADCo3bIbZVWbMMLqj7 w4xT0Ztbnh2eIGRpv0vIR9JvYzz1G5eSJXULmKx0/T3zNkZRclzZWzu6SVxuWf3g/DNK bYZw2IKow3wQY/QJMhGy1Qq0NvQC+vTRBolxgozGvA8bI0feopS0Omvz/begVgEq1bof uAP4aDMV5o+1dcyIM5PzkRy+MZbbPXS4vfBLLRk12n+FNEcAzNy30uVhX7JKiws84T76 hXnLK6YnT1+w7k9j5/rvqH4ALuDq+GeBjRiaQtB7UkbnZz+PSe5DL080nI5XzKHO7Wiy Q9aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OeIuVS5yEbGIvgbbt2ptS7qooer+pTr8Jq4kIEGd4PU=; b=qnwXa+mObShqctext45ovT5IkxJZihfqcHFoy/dKuhrJIQ+ZaLCZyEqfo/SmkiM/I5 qG2LP3+m9Hw5Zg+wq1/Wxmg3g0aufdne/coJpaeyxlbskp/juHE+KwdX43LxlJSyBw5x xSaX5zj6Tjst0Sc5FIsIy4exZDIC0LKa/x33lMVV9ghvgCsEpF+wZg7acijioVRhFb+h nKZpeKIM+1LgrqDEfy8E/XtgzmF0u7QCB6wWwIf+8Nb59VM2HPXALjYBM+C2Ry2Xceku fN7rGcKaAIi31yM+1HCZ0cTWbFMNZQPygDuq82cCB760V4dQEJj5Pyme4skUthyEL/fF TAbA== X-Gm-Message-State: AOAM5326zLdLWR7ddGJIkgnoOHiGEduT3XV+3nwvfkNgiwQd+cOzHW0v /EbZBOnGmEj4cW1nAGZlTGaleWkX2Rcgc76DmeY= X-Google-Smtp-Source: ABdhPJydyjJn/XjfrgR19bBXjmHDGLTRqrXRtgDqmo2inHNR5aZ0glRlaDkAFhmsLvNfWSfFX2Z3w0YBmNxtxuwOFk0= X-Received: by 2002:a67:d78b:0:b0:32d:c0f:f6fe with SMTP id q11-20020a67d78b000000b0032d0c0ff6femr2596414vsj.51.1651448485935; Sun, 01 May 2022 16:41:25 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Hossein Ojani Date: Sun, 1 May 2022 19:41:09 -0400 Message-ID: Content-Type: multipart/alternative; boundary="0000000000005e7ec405ddfbd02e" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000005e7ec405ddfbd02e Content-Type: text/plain; charset="UTF-8" Hi Brian, Sorry, my bad. missed the point. Regards, Hossein On Fri, Apr 29, 2022 at 11:41 AM Brian C. Lane wrote: > On Fri, Apr 29, 2022 at 09:12:25AM -0400, Hossein Ojani wrote: > > Hi Team, > > > > I am writing this email to you because of an error that I've been > > encountering using parted command on a NVMe disk. > > > > Using an Ubuntu 20.04 dist, I've been trying to create partitions on a > NVMe > > disk though I see errors. Below I will put just one of the conditions > that > > I've faced errors, but there are several. > > > > *(parted) mkpart extended xfs 1074MB 1574MB * > > Error: Invalid number. > > That's because an extended partition is a container for logical > partitions, it doesn't have a filesystem on it, the logical partition > does. > > Brian > > -- > Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart > > --0000000000005e7ec405ddfbd02e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Brian,

Sorry, my bad. mis= sed the point.

<= div>
Regards,
Hossein


On Fri, Apr 29, 2022 at 11:41 AM Brian C. Lane &l= t;bcl@redhat.com> wrote:
=
On Fri, Apr 29, 2022 at 0= 9:12:25AM -0400, Hossein Ojani wrote:
> Hi Team,
>
> I am writing this email to you because of an error that I've been<= br> > encountering using parted command on a NVMe disk.
>
> Using an Ubuntu 20.04 dist, I've been trying to create partitions = on a NVMe
> disk though I see errors. Below I will put just one of the conditions = that
> I've faced errors, but there are several.


> *(parted) mkpart extended xfs 1074MB 1574MB *
> Error: Invalid number.

That's because an extended partition is a container for logical
partitions, it doesn't have a filesystem on it, the logical partition does.

Brian

--
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

--0000000000005e7ec405ddfbd02e--