Updated parted packages that fix several bugs and add one enhancement are now available for Red Hat Enterprise Linux 6.
The parted packages provide tools to create, destroy, resize, move, and copy hard disk partitions. The parted program can be used for creating space for new operating systems, reorganizing disk usage, and copying data to new hard disks.
- Previously, parted wrongly assumed that a minor number of a device was always equal to its major number plus its partition number. However, this is not true with some devices, such as DM multipath devices. As a consequence, operations with parted on DM multipath devices were failing. With this update, parted verifies the mount status of a device by the path to the device instead of using the "minor:major" number.
- The parted program printed an unnecessary warning when used with disks that had the sector size of 4 KB. With this update, this confusing warning has been removed from parted.
- Previously, the align-check directive did not work correctly when used from parted in interactive mode. Users had to use parted in script mode in order to be able to utilize the align-check directive. This update corrects the relevant code, and align-check now works in interactive mode as expected.
- The parted program could fail with an EBUSY error if it was rapidly called in a loop. To resolve this problem, this update modifies parted to keep retrying for up to 1 second when receiving an EBUSY error.
- To prevent failures on systems that do not support partitioned loop devices, such as IBM S/390 systems, the t8000-loop.sh test has been modified to being no longer run on these systems.
In addition, this update adds the following
- This update adds support for GUID Partition Table (GPT) disk labels on PreP partitions on the 64-bit PowerPC architectures.
Users of parted are advised to upgrade to these updated packages, which fix these bugs and add this enhancement.