RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1163426 - partx in util-linux is unable to update kernel partition map
Summary: partx in util-linux is unable to update kernel partition map
Keywords:
Status: CLOSED DUPLICATE of bug 1149278
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: util-linux
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Karel Zak
QA Contact: Tomas Dolezal
URL:
Whiteboard:
Depends On:
Blocks: 1162228
TreeView+ depends on / blocked
 
Reported: 2014-11-12 16:49 UTC by Lars Kellogg-Stedman
Modified: 2014-11-19 22:51 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-18 10:22:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Lars Kellogg-Stedman 2014-11-12 16:49:58 UTC
Description of problem:

Our cloud images (for openstack/amazon ec2/etc) run the "growpart" command to grow the root partition to fill up available space on the root disk. The "growpart" command relies on "partx" from the "util-linux" package to update the kernel's view of the partition map.

When running partx on a GPT-partitioned image on Amazon (e.g., ami-463f832e), the partx command reports:

   /dev/xvda: error updating partition 2

This appears to have been fixed in upstream commit 84ac311212c06963d616b1b9a40644842f9adabd:

  https://github.com/karelzak/util-linux/commit/84ac311212c06963d616b1b9a40644842f9adabd

Because this prevents our cloud images from working properly on Amazon I would like to see this fix backported into our RHEL 7 packages.

Version-Release number of selected component (if applicable):

  util-linux-2.23.2-16.el7.x86_64

Comment 4 Lars Kellogg-Stedman 2014-11-13 15:25:03 UTC
To reproduce this problem:

- Boot with a GPT partitioned disk, ideally one that matches our AMI with root on partition 2.

- Run "partx --update 2 /dev/xvda" (replacing "/dev/xvda" with the appropriate block devices).

If partx reports:

   /dev/xvda: error updating partition 2

...then you have reproduced the problem.

Comment 6 Karel Zak 2014-11-18 10:22:14 UTC
Ah.. I have forgot this problem has been already fixed by previous RHEL7.1 util-linux re-spin.

Lars, update to the current errata package util-linux-2.23.2-19.el7.

*** This bug has been marked as a duplicate of bug 1149278 ***


Note You need to log in before you can comment on or make changes to this bug.