I have RH6 wtith GPT disk, which is partitioned as following:
parted /dev/sdb print free Model: IBM ServeRAID M5110e (scsi) Disk /dev/sdb: 4599GB Sector size (logical/physical): 512B/4096B Partition Table: gpt Number Start End Size File system Name Flags 17.4kB 1049kB 1031kB Free Space 1 1049kB 2199GB 2199GB ext4 2 2199GB 2843GB 644GB ext4 3 2843GB 3165GB 322GB ext4 4 3165GB 3488GB 322GB ext4 3488GB 4599GB 1111GB Free Space
I want to resize 2 and 3 partitions using 'Free Space' at the end of the block device. These partitions currently unmounted . What is the most proper way to complete the task ? It is not completely clear in manual of parted, as in 'resize' section it gives examples to resize partition with no other partitions present. This is production critical server and no place for mistake here.