I'm trying to resize (grow) a large (3TB) GPT partition with the ext4 filesystem on Ubuntu Server 9.10 amd64.
I'm having some problems figuring out which tools to use, and the sheer amount of information returned by googling has left me a bit confused. So far I have boiled it down to the following:
- I can't use fdisk to resize the partition because fdisk doesn't support partitions larger than 2TB
- I can't use gparted because:
1) It's a headless server and I don't have physical access to it right now.
2) The developers of gparted have issued a warning regarding ext4 filesystems: http://gparted-forum.surf4.info/viewtopic.php?id=13960
- My best bet seems to be the parted resize command and resize2fs, if I have understood the manual for parted correctly
The man page for parted says:
Does this mean that parted will resize the partition and don't touch the filesystem (leaving me to use resize2fs) or does it mean that it won't work at all?KNOWN ISSUES
ext3 filesystem functionality does not currently work. To manage ext3 type filesystems use tools like resize2fs(8 ) or mke2fs(8 ). Note that the currently supported ext2 filesystem
will be deprecated once ext3 support is finalized. Further note that ext3 support will have limited functionality that is yet to be defined. Use tools like resize2fs(8 ) and
mke2fs(8 ) to manage these types of filesystems.