The lvextend is not applicable as the volume group first has to be resized.
1) Resize the partition /dev/sda2 in fdisk to the maximum cylinders/sectors available.
2) Then resize /dev/sda5 accordingly.
3) Then this command should do the trick: pvresize /dev/sda5
Check with command "vgs" the status of the volume group afterwards.
Alternatively create /dev/sda6 in fdisk to take up the rest of the device, also of type "Linux LVM". Then add the new physical volume: pvcreate /dev/sda6
Again: Check with "vgs" the status of the volume group afterwards.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The lvextend is not applicable as the volume group first has to be resized.
1) Resize the partition /dev/sda2 in fdisk to the maximum cylinders/sectors available.
2) Then resize /dev/sda5 accordingly.
3) Then this command should do the trick: pvresize /dev/sda5
Check with command "vgs" the status of the volume group afterwards.
Alternatively create /dev/sda6 in fdisk to take up the rest of the device, also of type "Linux LVM". Then add the new physical volume: pvcreate /dev/sda6
Again: Check with "vgs" the status of the volume group afterwards.