Skip to contentSkip to conversation

Resizing XFS on GPT partition

DISCUSSION Michael Monnerie 2 participants 3 messages Aug 13, 2009 – Aug 14, 2009

lore
Share & tools
lore
#0 lore raw

I've had a XEN VM with a 90GB disk, increased it to 250GB. Then I had the problem that I used GPT partitioning, meaning only "parted" being usable. parted doesn't support resizing partitions for xfs and refuses to do it.

The simple thing is to delete and recreate with bigger size that partition. Later mount the partition and run xfs_growfs.

I don't understand why parted doesn't support that, just resizing the partition and not refusing it. :-(

mfg zmi

Signature · 5 lines
// Michael Monnerie, Ing.BSc    -----      http://it-management.at
// Tel: 0660 / 415 65 31                      .network.your.ideas.
// PGP Key:         "curl -s http://zmi.at/zmi.asc | gpg --import"
// Fingerprint: AC19 F9D5 36ED CD8A EF38  500E CE14 91F7 1C12 09B4
// Keyserver: wwwkeys.eu.pgp.net                  Key-ID: 1C1209B4

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#1 lore raw
Quoted 10 lines · Michael Monnerie

I've had a XEN VM with a 90GB disk, increased it to 250GB. Then I had the problem that I used GPT partitioning, meaning only "parted" being usable. parted doesn't support resizing partitions for xfs and refuses to do it.

The simple thing is to delete and recreate with bigger size that partition. Later mount the partition and run xfs_growfs.

I don't understand why parted doesn't support that, just resizing the partition and not refusing it. :-(

File a bug against parted. :)

I agree, parted should just resize the partition as you asked and shut up about anything else. I'm surprised that it can't - even if the fs is unmounted?

I have no idea what happened to "do one thing and do it well." :)

-Eric

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#2 lore raw
Quoted 1 line · On Freitag 14 August 2009 Eric Sandeen wrote:

File a bug against parted.  :)

You think that's easy? I went there:
http://parted.alioth.debian.org/cgi-bin/trac.cgi/newticket#preview
And always got this:
500 Internal Server Error (Submission rejected as potential spam)

After creating an account the text was accepted:
http://parted.alioth.debian.org/cgi-bin/trac.cgi/ticket/222

Quoted 3 lines

I agree, parted should just resize the partition as you asked and shut up about anything else.  I'm surprised that it can't - even if the fs is unmounted?

Yes, unmounted, of course. They are strange. They know xfs does this only when online. I wonder what they will write about my report.

Quoted 1 line

I have no idea what happened to "do one thing and do it well."  :)

Yes, KISS (keep it small and simple).

mfg zmi

Signature · 5 lines
// Michael Monnerie, Ing.BSc    -----      http://it-management.at
// Tel: 0660 / 415 65 31                      .network.your.ideas.
// PGP Key:         "curl -s http://zmi.at/zmi.asc | gpg --import"
// Fingerprint: AC19 F9D5 36ED CD8A EF38  500E CE14 91F7 1C12 09B4
// Keyserver: wwwkeys.eu.pgp.net                  Key-ID: 1C1209B4

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs