[Bug 1543704] Re: Parted can't handle lack of space between logical partitions

anatoly techtonik techtonik at php.net
Wed Oct 24 18:56:30 UTC 2018


I am facing this bug as well. =(

Device        Boot     Start       End   Sectors   Size Id Type
/dev/loop22p1           2048   3074047   3072000   1.5G 27 Hidden NTFS WinRE
/dev/loop22p2        3074088  55119014  52044927  24.8G  7 HPFS/NTFS/exFAT
/dev/loop22p3       55119015 488392064 433273050 206.6G  5 Extended
/dev/loop22p5 *     55119078  56179304   1060227 517.7M 83 Linux
/dev/loop22p6       56179368  76437269  20257902   9.7G 83 Linux
/dev/loop22p7       97755588 102253724   4498137   2.1G 82 Linux swap / Solaris
/dev/loop22p8      102253788 488392064 386138277 184.1G 83 Linux
/dev/loop22p9       76437271  97754901  21317631  10.2G 8e Linux LVM

Partition table entries are not in disk order.
techtonik at SONiC:/etc$ sudo parted /dev/sda unit s print
Backtrace has 15 calls on stack:
  15: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x45) [0x7f91f89d36e5]
  14: /lib/x86_64-linux-gnu/libparted.so.2(+0x2216b) [0x7f91f89ea16b]
  13: /lib/x86_64-linux-gnu/libparted.so.2(+0x101ea) [0x7f91f89d81ea]
  12: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x2d3) [0x7f91f89d8b53]
  11: /lib/x86_64-linux-gnu/libparted.so.2(+0x219f8) [0x7f91f89e99f8]
  10: /lib/x86_64-linux-gnu/libparted.so.2(+0x21b60) [0x7f91f89e9b60]
  9: /lib/x86_64-linux-gnu/libparted.so.2(+0x21b60) [0x7f91f89e9b60]
  8: /lib/x86_64-linux-gnu/libparted.so.2(+0x21bf9) [0x7f91f89e9bf9]
  7: /lib/x86_64-linux-gnu/libparted.so.2(+0x22a35) [0x7f91f89eaa35]
  6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x46) [0x7f91f89d86f6]
  5: parted(+0x7794) [0x5636dc478794]
  4: parted(non_interactive_mode+0xa2) [0x5636dc47e532]
  3: parted(main+0x121e) [0x5636dc4772be]
  2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f91f8171b97]
  1: parted(_start+0x2a) [0x5636dc47748a]

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to parted in Ubuntu.
https://bugs.launchpad.net/bugs/1543704

Title:
  Parted can't handle lack of space between logical partitions

Status in parted package in Ubuntu:
  Triaged
Status in parted package in Debian:
  New

Bug description:
  message as follows

  Libparted bug  found!
  Assertion (metadata_length > 0) at ../../../libparted/labels/dos.c:2313 in function add_logical_part_metadata() failed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/1543704/+subscriptions



More information about the foundations-bugs mailing list