Firstly Login With Localhost : Root
And Now Check The Partitions how Many Partition Are There
Suppose /dev/sda1 And /dev/sda2 Prtition And Now I Want To Create The /dev/sda3 Partition
Step 1 – fdisk -l{To Check The Partition How Many Partition Are There}
Step 2 – fdisk /dev/sda {To Create Partition}
N {for New Partition}
P{For Primary Partition
3{partition Number}
+500M{size Of Partition How Much Size Of Partition We Want To Create}
p{To Check The Partition Is Created Or Not}
W{For Save}
Partprobe /dev/sda{To refresh The Drive Or Hard Disk}
This Is How We Create Partition In Linux Rhel-5
Now I Will Tell You How To Delete This Partition
Step 1 – fdisk -l {To Check The Partition How Many Partition Are There}
Step 2 – fdisk /dev/sda
D{for Delete The Partition}
3{number Of {Partition Which one you Want To Delete}
P{For Check The Partition Is Deleted Or Not}
w{For Save}
Partprobe /dev/sda {For Refresh The drive Or Hard Disk}