Skip to main content
Fixed apparent typos.
Source Link

After some help from linuxdev2013 this, this is what I did:
The problem was that the partitions were somehow locked. So:

  1. I right Clicked both sd2sda2 and sd5sda5 and chose "Deactivate".
  2. I resized the extended (sda2) partition.
  3. I resized the lvm (sda5) partition.

The problem was fixed.

I should add that in the VM the new space was not available, so I had to run those 2 commands: expand LVM to all remaining free space:

lvextend –l +100%FREE [MOUNTPOINT]

expand filesystem:

sudo resize2fs [MOUNTPOINT]

After some help from linuxdev2013 this is what I did:
The problem was that the partitions were somehow locked. So:

  1. I right Clicked both sd2 and sd5 and chose "Deactivate".
  2. I resized the extended (sda2) partition.
  3. I resized the lvm (sda5) partition.

The problem was fixed

I should add that in the VM the new space was not available, so I had to run those 2 commands: expand LVM to all remaining free space:

lvextend –l +100%FREE [MOUNTPOINT]

expand filesystem:

sudo resize2fs [MOUNTPOINT]

After some help from linuxdev2013, this is what I did:
The problem was that the partitions were somehow locked. So:

  1. I right Clicked both sda2 and sda5 and chose "Deactivate".
  2. I resized the extended (sda2) partition.
  3. I resized the lvm (sda5) partition.

The problem was fixed.

I should add that in the VM the new space was not available, so I had to run those 2 commands: expand LVM to all remaining free space:

lvextend –l +100%FREE [MOUNTPOINT]

expand filesystem:

sudo resize2fs [MOUNTPOINT]
replaced http://superuser.com/ with https://superuser.com/
Source Link

After some help from linuxdev2013linuxdev2013 this is what I did:
The problem was that the partitions were somehow locked. So:

  1. I right Clicked both sd2 and sd5 and chose "Deactivate".
  2. I resized the extended (sda2) partition.
  3. I resized the lvm (sda5) partition.

The problem was fixed

I should add that in the VM the new space was not available, so I had to run those 2 commands: expand LVM to all remaining free space:

lvextend –l +100%FREE [MOUNTPOINT]

expand filesystem:

sudo resize2fs [MOUNTPOINT]

After some help from linuxdev2013 this is what I did:
The problem was that the partitions were somehow locked. So:

  1. I right Clicked both sd2 and sd5 and chose "Deactivate".
  2. I resized the extended (sda2) partition.
  3. I resized the lvm (sda5) partition.

The problem was fixed

I should add that in the VM the new space was not available, so I had to run those 2 commands: expand LVM to all remaining free space:

lvextend –l +100%FREE [MOUNTPOINT]

expand filesystem:

sudo resize2fs [MOUNTPOINT]

After some help from linuxdev2013 this is what I did:
The problem was that the partitions were somehow locked. So:

  1. I right Clicked both sd2 and sd5 and chose "Deactivate".
  2. I resized the extended (sda2) partition.
  3. I resized the lvm (sda5) partition.

The problem was fixed

I should add that in the VM the new space was not available, so I had to run those 2 commands: expand LVM to all remaining free space:

lvextend –l +100%FREE [MOUNTPOINT]

expand filesystem:

sudo resize2fs [MOUNTPOINT]
added 1 character in body
Source Link
papnikol
  • 1.6k
  • 4
  • 16
  • 19

After some help from linuxdev2013 this is what I did:
The problem was that the partitions were somehow locked. So:

  1. I right Clicked both sd2 and sd5 and chose "Deactivate".
  2. I resized the extended (sda2) partition. 3 
  3. I resized the lvm (sda5) partition).

The problem was fixed

I should add that in the VM the new space was not available, so I had to run those 2 commands: expand LVM to all remaining free space:

lvextend –l +100%FREE [MOUNTPOINT]

expand filesystem:

sudo resize2fs [MOUNTPOINT]

After some help from linuxdev2013 this is what I did:
The problem was that the partitions were somehow locked. So:

  1. I right Clicked both sd2 and sd5 and chose "Deactivate".
  2. I resized the extended (sda2) partition. 3 I resized the lvm (sda5) partition).

The problem was fixed

I should add that in the VM the new space was not available, so I had to run those 2 commands: expand LVM to all remaining free space:

lvextend –l +100%FREE [MOUNTPOINT]

expand filesystem:

sudo resize2fs [MOUNTPOINT]

After some help from linuxdev2013 this is what I did:
The problem was that the partitions were somehow locked. So:

  1. I right Clicked both sd2 and sd5 and chose "Deactivate".
  2. I resized the extended (sda2) partition. 
  3. I resized the lvm (sda5) partition.

The problem was fixed

I should add that in the VM the new space was not available, so I had to run those 2 commands: expand LVM to all remaining free space:

lvextend –l +100%FREE [MOUNTPOINT]

expand filesystem:

sudo resize2fs [MOUNTPOINT]
Source Link
papnikol
  • 1.6k
  • 4
  • 16
  • 19
Loading