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

2020-02-20 Thread Joe le Kiffeur
I confirmed on Ubuntu 19.10.
Also, I can't use GParted in as Clonezilla live ISO.

** Changed in: parted (Ubuntu)
   Status: Triaged => Confirmed

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2018-10-24 Thread anatoly techtonik
Oops. This is the correct `sudo fdisk -l -u` table for /dev/sda

Device Boot  StartEndSectors   Size Id Type
/dev/sda1  *  204820008951998848   976M 83 Linux
/dev/sda2  2002942  392624127  390621186 186.3G  5 Extended
/dev/sda3   1759543296 3907026943 2147483648 1T 83 Linux
/dev/sda5  2002944  163719167  161716224  77.1G 83 Linux
/dev/sda6163721216  197314559   3359334416G 82 Linux swap / Solaris
/dev/sda7197314560  392624127  195309568  93.1G 83 Linux

Partition table entries are not in disk order.

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2018-10-24 Thread anatoly techtonik
I am facing this bug as well. =(

DeviceBoot Start   End   Sectors   Size Id Type
/dev/loop22p1   2048   3074047   3072000   1.5G 27 Hidden NTFS WinRE
/dev/loop22p23074088  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@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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1543704

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2017-02-04 Thread Bug Watch Updater
** Changed in: parted (Debian)
   Status: Unknown => New

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2017-02-03 Thread Roberto Pogliani
I tested a workaround that seems to be good till when this bug will officially 
fixed
I am installing Ubuntu 16.04.1
When mooving a partition with gparted I got the same bug: 
metadata_length > 0, add_logical_part_metadata() failed
After reading your comments, I edited the partition and put a small unallocated 
space after partition, just 2MB
In this way partition has been moved and resized correctly without errors

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2017-02-03 Thread Vlad Orlov
** Also affects: parted (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819488
   Importance: Unknown
   Status: Unknown

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2016-07-19 Thread JEMYZHANG
I was encounter with this problem after I fix disk order with fdisk.

**before fix:**
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xee678789

设备   启动Start末尾扇区   Size Id 类型
/dev/sda1  *2048  62916607  6291456030G 83 Linux
/dev/sda3   62916608 976773119 913856512 435.8G  f W95 扩展 (LBA)
/dev/sda5   79720448 976773119 897052672 427.8G 83 Linux
/dev/sda6   62918656  79720447  16801792 8G 82 Linux 交换 / Solaris

Partition table entries are not in disk order.

**after fix:**
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xee678789

设备   启动Start末尾扇区   Size Id 类型
/dev/sda1  *2048  62916607  6291456030G 83 Linux
/dev/sda3   62916608 976773119 913856512 435.8G  f W95 扩展 (LBA)
/dev/sda5   62918656  79720447  16801792 8G 82 Linux 交换 / Solaris
/dev/sda6   79720448 976773119 897052672 427.8G 83 Linux


**backtrace of gparted**
==
libparted : 3.2
==
Backtrace has 15 calls on stack:
  15: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x44) [0x7fa92ca88ea4]
  14: /lib/x86_64-linux-gnu/libparted.so.2(+0x1e45f) [0x7fa92ca9c45f]
  13: /lib/x86_64-linux-gnu/libparted.so.2(+0xf8ba) [0x7fa92ca8d8ba]
  12: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x25f) 
[0x7fa92ca8e1af]
  11: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dd4f) [0x7fa92ca9bd4f]
  10: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dde0) [0x7fa92ca9bde0]
  9: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dd89) [0x7fa92ca9bd89]
  8: /lib/x86_64-linux-gnu/libparted.so.2(+0x1ed75) [0x7fa92ca9cd75]
  7: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48) [0x7fa92ca8ddd8]
  6: /usr/sbin/gpartedbin() [0x466c0e]
  5: /usr/sbin/gpartedbin() [0x47555e]
  4: /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1(+0x4e67d) [0x7fa92df9967d]
  3: /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x70bc5) [0x7fa92cf51bc5]
  2: /lib/x86_64-linux-gnu/libpthread.so.0(+0x76fa) [0x7fa92bdc26fa]
  1: /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7fa92baf8b5d]
Assertion (metadata_length > 0) at ../../../libparted/labels/dos.c:2313 in 
function add_logical_part_metadata() failed.
Aborted (core dumped)

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2016-07-11 Thread Vdragon
BTW, 
Number Start End Size Type File system Flags
 1 1s 204799s 204799s extended lba
 6 3s 202751s 202749s logical
 5 202752s 204799s 2048s logical

is actually entirely produced built by Parted.

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2016-07-11 Thread Vdragon
Here's the details and reproducible steps on Parted mailinglist:
http://lists.gnu.org/archive/html/bug-parted/2016-07/msg1.html

Interestingly, while

Number  StartEnd  Size Type  File system  Flags
 1  1s   204799s  204799s  extended   lba
 6  3s   202751s  202749s  logical
 5  202752s  204799s  2048slogical

does lack of space between logical partitions Parted doesn't complain,
while after I fix the order of partitions using fdisk like this

Device  StartEnd Sectors  Size Id Type
1   1 204799  204799  100M  f W95 Ext'd (LBA)
5   3 202751  202749   99M 83 Linux
6  202752 20479920481M 83 Linux

Parted starts to crash...

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2016-07-11 Thread Vdragon
Hi, I encountered the same issue however I merely just fix the wrong
order of logical partition using fdisk.

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs