My Favorites

Close

Please to see your favorites.

  • Bookmark
  • Email Document
  • Printer Friendly
  • Favorite
  • Rating:

SLES10SP4 YaST2 partitioner fails on creating new partitions on GPT enabled devices

This document (7006405) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 10 Service Pack 4

Situation

A RAID device using a GPT partition table was about to run out of disk space and got extended. While trying to create a new partition on this device, YaST2 shows the error message:

System error code was: -1007

Checking /var/log/YaST2/y2log, the following error messages are found:

2012-04-23 13:55:56,328 INFO  libstorage(6378) - SystemCmd.cc(addLine):625 Adding Line 1 "Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 2339840000 blocks) or continue with the current setting? "
2012-04-23 13:55:56,329 INFO  libstorage(6378) - SystemCmd.cc(addLine):625 Adding Line 2 "Error: Unable to satisfy all constraints on the partition."

Resolution

To fix the GPT partition table on the device /dev/sdb as indicated in the error message please do the following:
  1. exit YaST2
  2. open a root  shell
  3. to start parted in interactive mode please run: parted
  4. select the device to use: select /dev/sdb
  5. list the partition table by using: print
  6. parted now displays the same message from the y2log:
    Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 2339840000 blocks) or continue with the current setting?
    Fix/Ignore
  7. Please type "Fix" and hit enter to adjust the GPT partition table.

Either continue to use parted to create the new required partitions or leave the program by using "quit" and start YaST2.

Cause

GPT partition tables use two headers, one at the beginning of the disk and a second one on the last few blocks. While extending the device, the second header was moved away from its position. To address this the program parted needs to be used on the command line.

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7006405
  • Creation Date:04-MAY-12
  • Modified Date:04-MAY-12
    • SUSESUSE Linux Enterprise Server

Did this document solve your problem? Provide Feedback

< Back to Support Search

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center