Fresh install Ubuntu VM, lvm 100% usage but the disk is 100G https://www.softaculous.com/board/index.php?tid=19271 <![CDATA[Fresh install Ubuntu VM, lvm 100% usage but the disk is 100G]]> https://www.softaculous.com/board/index.php?tid=19271&tpg=1#p57271

What is the version of sfdisk binary ?
You can check it using :

sfdisk -v

If its higher than 2.23.2, then you can use the following steps :

mv /sbin/sfdisk /sbin/sfdisk_new

wget -O /sbin/sfdisk http://files.virtualizor.com/utility/sfdisk

chmod 755 /sbin/sfdisk


And then try to create new vps.
]]>
Mon, 06 Nov 2023 06:39:35 GMT https://www.softaculous.com/board/index.php?tid=19271&tpg=1#p57271
<![CDATA[Fresh install Ubuntu VM, lvm 100% usage but the disk is 100G]]> https://www.softaculous.com/board/index.php?tid=19271&tpg=1#p57270
Proxmox will create the disk but the installer wont use all the space unless I manually tell it to do so during the installation. This can be done by untick the instruction to create LVM group during the install.

My question then, in the templates, where can this value be altered?]]>
Fri, 03 Nov 2023 18:11:16 GMT https://www.softaculous.com/board/index.php?tid=19271&tpg=1#p57270
<![CDATA[]]> https://www.softaculous.com/board/index.php?tid=19271&tpg=0#p57266 Strange problem here, maybe some of you have a solution?

Enviroment:
Fresh install of proxmox, storage iSCSI synlologi in proxmox.

Deployment of Ubuntu VM using one of the available templates, allocated disk size 100GB.

When using Ubuntu template the default behavior is that the OS sets up the disk as an LVM group, leading to the guest os utilizing what I guess it use to install the os and start up, in this case about 3,7 GB.

Code
root@ubuntu:~# df -lh
Filesystem      Size  Used Avail Use% Mounted on
tmpfs          796M  9.0M  787M  2% /run
/dev/sda1      3.7G  3.7G    0 100% /
tmpfs          3.9G    0  3.9G  0% /dev/shm
tmpfs          5.0M    0  5.0M  0% /run/lock
tmpfs          796M  4.0K  796M  1% /run/user/0


When deploying ubuntu from ISO and then manually remove the tick for setting up the disk as an LVM group, then the end result is ok and the guest os utlilizing the whole disk.

Code
root@ubuntu:~# lsblk
NAME  MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
loop0    7:0    0  62M  1 loop /snap/core20/1587
loop2    7:2    0 44.7M  1 loop /snap/snapd/15534
loop3    7:3    0  47M  1 loop /snap/snapd/16292
loop4    7:4    0 79.9M  1 loop /snap/lxd/22923
loop5    7:5    0 63.5M  1 loop /snap/core20/2015
sda      8:0    0  100G  0 disk
└─sda1  8:1    0  3.8G  0 part /


How can this be fixed? Is there a setting somewhere that I'm missing here?

Kind regards
Avocado]]>
Fri, 03 Nov 2023 13:02:26 GMT https://www.softaculous.com/board/index.php?tid=19271&tpg=0#p57266