Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

1.151. parted

1.151.1. RHBA-2010:0257: bug fix update

Updated parted packages that resolve an issue editing gpt tables are now available.
The GNU Parted program allows you to create, destroy, resize, move, and copy hard disk partitions. Parted can be used for creating space for new operating systems, reorganizing disk usage, and copying data to new hard disks.
This update fixes the following problems:
* when parted is invoked in interactive mode on a disk with GUID Partition Tables (GPT), if the backup GPT is not in the disk's last sector, parted presents an alert;
Error: The backup GPT table is not at the end of the disk, as it should be. This might mean that another operating system believes the disk is smaller. Fix, by moving the backup to the end (and removing the old backup)?
and offers three options for continuing: Fix, Cancel or Ignore. Previously, choosing Cancel or Ignore had no effect: no matter what option was chosen, parted "fixed" (ie changed) the GUID partition table. This update corrects this: if and when the above error presents, the Cancel and Ignore options are now honored if selected, as expected. (BZ#529672)
* When parted is invoked on a disk, it checks to see if there is a file system it recognizes on the partitions on the disk.
When parted was invoked on a dasd disk, and one of the partitions on the disk did not contain a filesystem (such as for example a partition which is a lvm physical volume), then parted would crash due to a NULL pointer dereference. Parted now no longer crashes under these circumstances. (BZ#563266)
All parted users should install the updated package, which resolve these issues.