|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#27562: closed (Resizepart command failes: "Unable to satisfy all constraints on the partition") |
Date: | Fri, 07 Jul 2017 17:39:01 +0000 |
Your message dated Fri, 7 Jul 2017 13:38:29 -0400 with message-id <address@hidden> and subject line Re: bug#27562: Resizepart command failes: "Unable to satisfy all constraints on the partition" has caused the debbugs.gnu.org bug report #27562, regarding Resizepart command failes: "Unable to satisfy all constraints on the partition" to be marked as done. (If you believe you have received this mail in error, please contact address@hidden) -- 27562: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27562 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: Resizepart command failes: "Unable to satisfy all constraints on the partition" Date: Mon, 3 Jul 2017 13:42:23 +0800 (CST) I'm trying to expand one logical partition (/dev/sdb8) on my hard disk, and parted aborted with the "resizepart" command:
============
address@hidden:~$ 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
--- End Message ---
--- Begin Message ---Subject: Re: bug#27562: Resizepart command failes: "Unable to satisfy all constraints on the partition" Date: Fri, 7 Jul 2017 13:38:29 -0400 User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 On 7/3/2017 1:42 AM, zwpwjwtz wrote: > I'm trying to expand one logical partition (/dev/sdb8) on my hard disk, and > parted aborted with the "resizepart" command: You are trying to extend the partition right up to the start of the next one, which does not leave a sector in between them for the extended boot record. You will need to leave at least one sector.
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |