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

[server] ubuntu 24.04 as VM on esxi - resize disk

$
0
0
Hello everyone,

I have an ubuntu 24.04 server running as virtual machine on an esxi.

I did increase the disk size on the esxi host and then tried to resize disk (from 30G to 100G) on the ubuntu vm. I recognized that I am using LVM without knowing what it really does... Normally I do run debian server without lvm so I am a little confused here...

When I do run fdisk -l now I get the following output:

Code:

user@gitea:~$ sudo fdisk -l
Disk /dev/sda: 100 GiB, 107374182400 bytes, 209715200 sectors
Disk model: Virtual disk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 41255EC2-3A41-4BDB-B3CC-005E339028E8

Device      Start      End  Sectors Size Type
/dev/sda1    2048      4095      2048  1M BIOS boot
/dev/sda2    4096  4198399  4194304  2G Linux filesystem
/dev/sda3  4198400 209715166 205516767  98G Linux filesystem


Disk /dev/mapper/ubuntu--vg-ubuntu--lv: 28 GiB, 30060576768 bytes, 58712064 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
user@gitea:~$

Why is /dev/mapper/ubuntu--vg-ubuntu--lv showing 28GB? Shouldn't that be also nearly 100GB or did I mess something up?

Thanks in advance,
bird

Viewing all articles
Browse latest Browse all 4211

Trending Articles



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