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: Lasse Kärkkäinen
Subject: Re: growing XFS with GPT partitions
Date: Sat, 15 Aug 2009 09:21:58 +0300
User-agent: Thunderbird 2.0.0.22 (X11/20090608)

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...




reply via email to

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