what can fdisk do in linux
fdisk is a dialog-driven program for the creation and manipulation of partition tables and understands GPT, MBR, Sun, SGI, and BSD partition tables. This article describes how to enlarge a partition with fdisk. Note that fdisk, while fdisk is easier to use, parted is more robust for ext4 file systems. However, resizing with parted is not available in Red Hat Enterprise Linux 7.