Product SiteDocumentation Site

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.

Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-5 because CentOS-5 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-5 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.