I'm trying to expand one logical partition (/dev/sdb8) on my hard disk, and parted aborted with the "resizepart" command:
============ user@pc:~$ LANG=en_US sudo parted GNU Parted 3.2 Using /dev/sda Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) select /dev/sdb Using /dev/sdb (parted) unit s (parted) print Model: ATA ST500DM002-1BD14 (scsi) Disk /dev/sdb: 976773168s Sector size (logical/physical): 512B/4096B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 2 2048s 66187799s 66185752s primary ext4 1 66187800s 976768064s 910580265s extended lba 7 66191360s 275902463s 209711104s logical ext4 5 275903198s 485618406s 209715209s logical ntfs 8 485621760s 653389823s 167768064s logical ext4 9 653393920s 830226430s 176832511s logical ext4 6 830226432s 976766975s 146540544s logical ext4 (parted) resizepart 8 End? [653389823s]? 653393919 Error: Unable to satisfy all constraints on the partition. Backtrace has 9 calls on stack: 9: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x44) [0x7f357479dea4] 8: /lib/x86_64-linux-gnu/libparted.so.2(+0x1e45f) [0x7f35747b145f] 7: /lib/x86_64-linux-gnu/libparted.so.2(+0xf8ba) [0x7f35747a28ba] 6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_set_partition_geom+0x10c) [0x7f35747a359c] 5: parted(+0x80d9) [0x556092a300d9] 4: parted(interactive_mode+0x120) [0x556092a34ff0] 3: parted(main+0x1386) [0x556092a2e176] 2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f3573f7a830] 1: parted(_start+0x29) [0x556092a2e1d9] You found a bug in GNU Parted! Here's what you have to do: Don't panic! The bug has most likely not affected any of your data. Help us to fix this bug by doing the following: [...] ============ I've already installed libparted-dev package (and its dependencies), but it seems some debug symbols are still missing. Version info: Ubuntu 16.04 (amd64) + Parted 3.2