Windows 2012 VM and Ubuntu 18.04

Asked by Ronald RiemVis on 2019-12-01

Using Ubuntu I8.04 in the Virtual machine within Server 2012 I found out that disk space is not dynamic.
I had to remove and install again this server to meet the space needed for update.
To avoid future problems I created a larger disc from total 27 Gbyte.
After install webmin (Dashboard) I see the disc size to be 2,82 Gbyte used / 2 GByte Free / 4.83 GByte total
In webmin going to Hardware => Partions on Local Disc I see
partion 1 Linux EXT = 8.03 Mbyte from 1 to 1
partion 2 Linux EXT = 1.03 Gbyte from 1 to 131
partion 3 Linux EXT = 26.63 Gbyte from 131 to 3525

Why report Webmin the total disc size in the dashboard to be only 4.83 Gbyte?

Is this a bug or?



Question information

English Edit question
Ubuntu vim Edit question
No assignee Edit question
Last query:
Last reply:
Manfred Hampl (m-hampl) said : #1

For diagnostic purposes, what is the output of the command

uname -a
lsb_release -crid
df -h | grep -v snap

Ronald RiemVis (gentlerv) said : #2

uname -a give:
Linux xxxxxxxx 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -crid give:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic

df -h | grep -v snap give:
Filesystem Size Used Avail Use% Mounted on
udev 1.9G 0 1.9G 0% /dev
tmpfs 394M 908K 393M 1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv 3.9G 3.0G 736M 81% /
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/sda2 976M 145M 765M 16% /boot
tmpfs 394M 0 394M 0% /run/user/1000

sorry for late reply,


Manfred Hampl (m-hampl) said : #3

The relevant part of your output:

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/ubuntu--vg-ubuntu--lv 3.9G 3.0G 736M 81% /
/dev/sda2 976M 145M 765M 16% /boot

You root file system is using volume group functionality.

For further diagnostics, what is the output of the commands

sudo fdisk -l
sudo vgscan -v

Ronald RiemVis (gentlerv) said : #4

Hello manfred,

When doing the install from this server I used the standard setup option 2, logical volumes

Sudo fdisk -l :
Disk /dev/mapper/ubuntu--vg-ubuntu--lv: 4 GiB, 4294967296 bytes, 8388608 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

sudo vgscan -v
    Wiping cache of LVM-capable devices
    Wiping internal VG cache
  Reading volume groups from cache.
  Found volume group "ubuntu-vg" using metadata type lvm2



Manfred Hampl (m-hampl) said : #5

Based on your output I assume that you have allocated only 4 GB space when installing.

Volume groups should allow extending the space, please check the documentation and/or man pages.

Can you help with this problem?

Provide an answer of your own, or ask Ronald RiemVis for more information if necessary.

To post a message you must log in.