Description of problem:
In the RHEL 7 Storage Administration Guide, section 12.4 Resizing a Partition, step 4 recommends using the resize parted command. There is no resize parted command.
The upstream GNU parted manual states that "resize" has been removed and is replaced with "resizepart" which also isn't an option in the only version of parted currently available for RHEL 7 (parted-3.1-17.el7.x86_64).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Following the steps in the guide results in no resizing of partitions. parted simply prints the list of available commands once for each argument entered.
Thanks for spotting that! What command is used to resize partitions in RHEL7 if neither 'resize parted' nor 'resizepart' exist in RHEL7?
When I opened this bug I wasn't able to find a way to resize partitions with parted. I think fdisk had to be used, meaning disks with GPT partitioning schemes could not be resized.
I'll do some research and confer with some of the guys in storage support and let you know what I come up with.
Jacquelynn East 2015-06-16 00:40:48 EDT
Status: VERIFIED → CLOSED
Resolution: --- → CURRENTRELEASE
Last Closed: 2015-06-16 00:40:48
So what is the resolution here? As John states, neither resize nor resizepartition are in the RHEL7 version of parted.
Is that intentional? If so, why?
I've taken over the Red Hat Enterprise Linux 7 Storage Administration Guide -- Jacquelynn East is no longer with Red Hat.
Section 12.4. Resizing a Partition no longer mentions the parted utility, and the fdisk utility is used instead:
I'm working on improving the procedure a now in an unrelated BZ.
> So what is the resolution here? As John states, neither resize nor
> resizepartition are in the RHEL7 version of parted.
> Is that intentional? If so, why?
Brian Lane is the development owner of the parted utility in Red Hat Enterprise Linux 7. Brian, would you be able to answer the question asked in comment 9?
Correct, the version of parted in RHEL7 does not support resize operations. It is intentional in that there have been no requests to backport the resizepart command.