2 - Verificare con fdisk -l che la dimensione della partizione estesa venga vista correttamente
3. fdisk /dev/sdx ( dove x è l'identificativo del disco da espandere)
4. p (to view partition details)
5. d (to delete the partition)
6. 1 (to select the second partition)
7. n (to create new partition) and select the partition type whether Primary or Extended Partition
8. 1 (to create it as partition 1)
9 Get the first block from the partition details earlier i.e. 2048. Enter this block as start value.
10. Press enter to accept the default as the last block.
11. w (to write the change)
Finally re-read the partition table (partprobe) and resize the extended partition using the below command,
[root@server1 ~]# partprobe
[root@server1 ~]# resize2fs /dev/sdb1