Why there is no free space after resizing virtual disk

Discussions about using Linux guests in VirtualBox.

Why there is no free space after resizing virtual disk

Postby virtualboxnewbie » 19. Apr 2019, 17:05

Dear all,

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   Expand viewCollapse view
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   Expand viewCollapse view
[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):

many thanks in advance!
virtualboxnewbie
 
Posts: 15
Joined: 25. Aug 2012, 08:23

Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 16 guests