resize gpt ext4 partitions

DimanNe dimanne at ya.ru
Wed May 1 06:34:32 UTC 2013


Is there any technique to resize gpt ext4 partition?


The only one I found is something like this:

1 Run parted on your device: parted /dev/sdX
2 Change display unit to sectors: unit s
3 Print current partition table and note the start sector for your partition: p
4 Delete your partition (won't delete the data or filesystem): rm <number>
5 Recreate the partition with the starting sector from above: mkpart primary <start> <end>
6 Exit parted: quit


Is it really exclusive way to accomplish it?


// P.S. I need it to grow fs after "mdadm --grow" operation.




More information about the Ubuntu-devel-discuss mailing list