bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: growing XFS with GPT partitions


From: Jim Meyering
Subject: Re: growing XFS with GPT partitions
Date: Tue, 18 Aug 2009 20:39:23 +0200

Lasse Kärkkäinen wrote:
> This is apparently a rather common problem, as I keep receiving
> messages about this every few weeks. Here's the latest:
>
> Michael Monnerie wrote:
>> http://www.mail-archive.com/address@hidden/msg02631.html
>>
>> Did you ever resolve this? How?
>
> I solved the problem for writing my own program for reading and
> writing GPT labels. With that it was pretty straight-forward to
> repartition, even though one had to edit the source code to do any
> changes.
>
> http://zi.fi/software/gptedit-0.0.1.tar.bz2
>
> Run the program to see the current GPT info, then add lines to set new
> values at the line marked // TODO: operations here. Run the program
> and it will display the old data, then it'll do the changes and
> perform some consistency checks to verify them and print the new
> data. It will then ask for confirmation before writing anything to
> disk.
>
> Before writing this program I tried inspecting parted source code to
> see if it could be fooled into resizing the partition without touching
> the XFS or if it could use external xfsgrow tool, but unfortunately
> the source code was too abstract and I had to give up.
>
> Hopefully someone adds this feature, as there clearly is need for it...

Thanks for the message.
I agree.  This is functionality that parted really
should provide.  With a little luck, someone here will
find the time to make parted do what you want.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]