[SOLVED] is it possible to nondestructively re-write a GPT disk label?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
is it possible to nondestructively re-write a GPT disk label?
I have a raid volume that I just expanded.
The new space is unusable completely. It's impossible to expand the existing partition to use the new space. And it's impossible to create a new partition in the new space. When I try I get this error:
"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 2929687040 blocks) or continue with the current setting?"
Obviously the easy thing would be to move the data somewhere, blow the volume away and create a new one using all the space. With 2 TB of live data though that's not something I want to do (copying and restoring would take 24+ hours among other issues).
I've come across bits and piece of threads in forums that seem ti indicate it's possible to "update" the GPT so it uses the new space. If I could do that then I could expand my existing partition.
But how does one resize the GPT table to use the new space?
If anyone has actually done this, plese let me know how.