Dear PVE-8.2-1-Experts,
setting these values during graphical installation
Target Harddisk: /dev/vda (256.00GiB)
results in these (correct) disk/partition sizes:
So far so good.
Using autoinstall, respectively this answer.toml to specify the same disk/partition sizes
to create an auto-install-iso using this command ...
... after letting the auto-install-iso boot and run the specified disk/partition in answer.toml are not applied:
This is the command used to create to autoinstall iso was taken from https://pve.proxmox.com/wiki/Automated_Installation
What am I doing wrong?
Thank you very much for your advice.
Best regards,
proxmix
setting these values during graphical installation
Target Harddisk: /dev/vda (256.00GiB)
- Filesystem: ext4
- hdsize: 256.00 GB
- swapsize: 8 GB
- maxroot: 64GB
- minfree: 32 GB
- maxvz: blank (<-- means left untouched)
results in these (correct) disk/partition sizes:
Bash:
root@pve01:~# vgdisplay
--- Volume group ---
VG Name pve
VG Size <255.00 GiB
PE Size 4.00 MiB
Total PE 65279
Alloc PE / Size 57086 / 222.99 GiB
Free PE / Size 8193 / 32.00 GiB #<- fine, as specified!
root@pve01:~# lvdisplay
--- Logical volume ---
LV Name data
VG Name pve
LV Size <147.98 GiB #<- fine, as specified/calculated
--- Logical volume ---
LV Path /dev/pve/swap
LV Name swap
VG Name pve
LV Size 8.00 GiB #<- fine, as specified!
--- Logical volume ---
LV Path /dev/pve/root
LV Name root
VG Name pve
LV Size 64.00 GiB #<- fine, as specified!
So far so good.
Using autoinstall, respectively this answer.toml to specify the same disk/partition sizes
Code:
[global]
keyboard = de
country = de
fqdn = pve01.example.com
mailto = pve01@example.cm
timezone = Europe/Berlin
root_password = "changeme"
[network]
source = "from-dhcp"
[disk-setup]
filesystem = "ext4"
lvm.hdsize = 256
lvm.swapsize = 8
lvm.maxroot = 64
lvm.minfree = 32
lvm.maxvz = 0
disk_list = ['vda']
to create an auto-install-iso using this command ...
Bash:
proxmox-auto-install-assistant prepare-iso proxmox-ve_8.2-1.iso --fetch-from iso --answer-file answer.toml
... after letting the auto-install-iso boot and run the specified disk/partition in answer.toml are not applied:
Bash:
root@pve01:~# vgdisplay
--- Volume group ---
VG Name pve
VG Size <255.00 GiB
PE Size 4.00 MiB
Total PE 65279
Alloc PE / Size 37310 / 145.74 GiB
Free PE / Size 27969 / 109.25 GiB #<- ?!? expected 32 GB here.
root@pve01:~# lvdisplay
--- Logical volume ---
LV Name data
VG Name pve
LV Size <62.00 GiB #<- ?!?
--- Logical volume ---
LV Path /dev/pve/swap
LV Name swap
VG Name pve
LV Size 8.00 GiB #<- seems to be ok
--- Logical volume ---
LV Path /dev/pve/root
LV Name root
VG Name pve
LV Size <73.75 GiB #<- ?!?
This is the command used to create to autoinstall iso was taken from https://pve.proxmox.com/wiki/Automated_Installation
What am I doing wrong?
Thank you very much for your advice.
Best regards,
proxmix
Last edited: