Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

All primary partitions are in use

$
0
0
Hi all,
I have a problem on a ubuntu 16.04.3 when I try to add spaces to my disks.
I add 10 Gb to my Virtual Machine and when I do
Code:

cfdisk
I can see
Code:

Free space 262144000 283115519 20971520 10G
But when I try to select New it says
Code:

All primary partitions are in use
Can you help me I know a little linux but that is out of my skills, how can I add that 10G ?

You can see

Code:

lsblkNAME                                MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda                                  8:0    0  135G  0 disk
├─sda1                                8:1    0  487M  0 part /boot
├─sda3                                8:3    0  100G  0 part
│ └─template--ubuntu--16--vg-root  252:0    0 116,5G  0 lvm  /
├─sda4                                8:4    0    5G  0 part
│ └─template--ubuntu--16--vg-root  252:0    0 116,5G  0 lvm  /
└─sda5                                8:5    0  19,5G  0 part
  ├─template--ubuntu--16--vg-root  252:0    0 116,5G  0 lvm  /
  └─template--ubuntu--16--vg-swap_1 252:1    0    8G  0 lvm  [SWAP]
sr0                                  11:0    1  1024M  0 rom

Code:

lvs  LV    VG                    Attr      LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  root  template-ubuntu-16-vg -wi-ao---- 116,52g                                                   
  swap_1 template-ubuntu-16-vg -wi-ao----  8,00g

Code:

vgs  VG                    #PV #LV #SN Attr  VSize  VFree
  template-ubuntu-16-vg  3  2  0 wz--n- 124,52g    0

Code:

pvs  PV        VG                    Fmt  Attr PSize  PFree
  /dev/sda3  template-ubuntu-16-vg lvm2 a--  100,00g    0
  /dev/sda4  template-ubuntu-16-vg lvm2 a--    5,00g    0
  /dev/sda5  template-ubuntu-16-vg lvm2 a--  19,52g    0

Thank you a lot if you can help me

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>