my main objective I want to resize the size of my lvm by adding new partition
after resizing my virtual disk using modifymedium by 1.3 GB, when I try to add a new partition, it could not find any space why is this so?
Code: Select all
Disk /dev/sda: 18.3 GB, 18253611008 bytes, 35651584 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000c2748
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 514047 256000 83 Linux
/dev/sda2 514048 35651583 17568768 8e Linux LVM
Code: Select all
[root@ol75-12201-se-client ~]# fdisk /dev/sda
Welcome to fdisk (util-linux 2.23.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): n
Partition type:
p primary (2 primary, 0 extended, 2 free)
e extended
Select (default p):
Using default response p
Partition number (3,4, default 3):
No free sectors available
Command (m for help):