GNU bug report logs - #47653
Is this a bug?

Previous Next

Package: parted;

Reported by: Thomas Groman <tgroman <at> nuegia.net>

Date: Thu, 8 Apr 2021 11:29:02 UTC

Severity: normal

Done: "Brian C. Lane" <bcl <at> redhat.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47653 in the body.
You can then email your comments to 47653 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-parted <at> gnu.org:
bug#47653; Package parted. (Thu, 08 Apr 2021 11:29:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thomas Groman <tgroman <at> nuegia.net>:
New bug report received and forwarded. Copy sent to bug-parted <at> gnu.org. (Thu, 08 Apr 2021 11:29:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Thomas Groman <tgroman <at> nuegia.net>
To: bug-parted <at> gnu.org
Subject: Is this a bug?
Date: Wed, 7 Apr 2021 21:47:12 -0700
[Message part 1 (text/plain, inline)]
Is this a bug, or am I doing something wrong? I didn't know it was
possible to make gpt partitions 0 sectors wide.

(parted) print
Model: ATA Samsung SSD 850 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system     Name    Flags
1      1049kB  3146kB  2097kB  linux-swap(v1)  grub    bios_grub
2      3146kB  540MB   537MB   fat32           boot    boot, esp
5      540MB   18.8GB  18.3GB  linux-swap(v1)          swap
4      18.8GB  105GB   85.9GB  ext4            rootfs
3      105GB   1000GB  895GB

(parted) mkpart fast 500GB -1
Warning: You requested a partition from 500GB to 1000GB (sectors
976562500..1953523215).
The closest location we can manage is 1000GB to 1000GB (sectors
1953523712..1953523712).
Is this still acceptable to you?
Yes/No? No
(parted) mkpart fast 500GB 1000GB
Warning: You requested a partition from 500GB to 1000GB (sectors
976562500..1953125000).
The closest location we can manage is 1000GB to 1000GB (sectors
1953523712..1953523712).
Is this still acceptable to you?
Yes/No? No
-- 
 _______________________________________ 
/ Schshschshchsch.                      \
|                                       |
\ -- The Gorn, "Arena", stardate 3046.2 /
 --------------------------------------- 
\
 \
   /\   /\   
  //\\_//\\     ____
  \_     _/    /   /
   / * * \    /^^^]
   \_\O/_/    [   ]
    /   \_    [   /
    \     \_  /  /
     [ [ /  \/ _/
    _[ [ \  /_/
[signature.asc (application/pgp-signature, inline)]

Reply sent to "Brian C. Lane" <bcl <at> redhat.com>:
You have taken responsibility. (Thu, 08 Apr 2021 15:58:02 GMT) Full text and rfc822 format available.

Notification sent to Thomas Groman <tgroman <at> nuegia.net>:
bug acknowledged by developer. (Thu, 08 Apr 2021 15:58:02 GMT) Full text and rfc822 format available.

Message #10 received at 47653-close <at> debbugs.gnu.org (full text, mbox):

From: "Brian C. Lane" <bcl <at> redhat.com>
To: Thomas Groman <tgroman <at> nuegia.net>
Cc: 47653-close <at> debbugs.gnu.org
Subject: Re: bug#47653: Is this a bug?
Date: Thu, 8 Apr 2021 08:57:28 -0700
On Wed, Apr 07, 2021 at 09:47:12PM -0700, Thomas Groman via Bug reports for the GNU Parted disk partition editor wrote:
> Is this a bug, or am I doing something wrong? I didn't know it was
> possible to make gpt partitions 0 sectors wide.
> 
> (parted) print
> Model: ATA Samsung SSD 850 (scsi)
> Disk /dev/sdb: 1000GB
> Sector size (logical/physical): 512B/512B
> Partition Table: gpt
> Disk Flags:
> 
> Number  Start   End     Size    File system     Name    Flags
> 1      1049kB  3146kB  2097kB  linux-swap(v1)  grub    bios_grub
> 2      3146kB  540MB   537MB   fat32           boot    boot, esp
> 5      540MB   18.8GB  18.3GB  linux-swap(v1)          swap
> 4      18.8GB  105GB   85.9GB  ext4            rootfs
> 3      105GB   1000GB  895GB
> 
> (parted) mkpart fast 500GB -1
> Warning: You requested a partition from 500GB to 1000GB (sectors
> 976562500..1953523215).
> The closest location we can manage is 1000GB to 1000GB (sectors
> 1953523712..1953523712).
> Is this still acceptable to you?
> Yes/No? No
> (parted) mkpart fast 500GB 1000GB
> Warning: You requested a partition from 500GB to 1000GB (sectors
> 976562500..1953125000).
> The closest location we can manage is 1000GB to 1000GB (sectors
> 1953523712..1953523712).
> Is this still acceptable to you?
> Yes/No? No

What created this partition table? It looks like partition 3 is wrong,
it covers 105GB to 1000GB but both partition 2 and partition 5 also use
some of that space. This is likely confusing parted, so I'd say it isn't
a bug, it's just trying to do the best it can with the available space.

Brian

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





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 07 May 2021 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 346 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.