LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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.

Notices

Reply
 
LinkBack Search this Thread
Old 09-26-2009, 12:07 PM   #1
muad'dib
LQ Newbie
 
Registered: Sep 2009
Posts: 14

Rep: Reputation: 0
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.
 
Old 10-01-2009, 07:52 AM   #2
muad'dib
LQ Newbie
 
Registered: Sep 2009
Posts: 14

Original Poster
Rep: Reputation: 0
It was a newbie error. Trying to use parted as "parted /dev/sdb1" instead of "parted /dev/sdb".

Using "parted /dv/sdb" fixed the problem.

As soon as I tried to list the partition table it asked me if I wanted to fix the GPT, and that was that.
 
  


Reply

Tags
gpt, partitioning, raid


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't get rid of GPT disk label rbdavis Linux - General 15 03-31-2013 10:03 PM
Help!!! Unable to convert GPT disk!!! kramer2718 Linux - Software 2 03-14-2009 09:44 PM
gpt label in parted, partitions look OK. GrUB not booting 64bit OS on 8th primary digital8doug Linux - Newbie 1 12-31-2008 02:20 PM
Write / Read a DAT (DDS 3 / 4) tape label Zxarr Linux - Software 1 02-06-2008 08:36 PM
Huge piles of disk with LVM and/or RAID - GPT/GUID?? petcherd Slackware 2 12-18-2007 04:50 PM


All times are GMT -5. The time now is 10:36 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration