Commit Graph

55 Commits

Author SHA1 Message Date
Fiona Ebner
22b7837283 align metadatasize to 4 MiB
First step towards fixing an issue reported in the community forum [0]
where using 250.00 hdsize, 250 maxroot and 0 minfree would fail.

Turns out two extents would be missing because of lvcreate implicitly
rounding up, one of them for the metadata.

[0]: https://forum.proxmox.com/threads/129320/post-566375

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2023-06-22 16:26:49 +02:00
Thomas Lamprecht
ed68d1244d fix checking the now boolean prompt response
When the prompt abstraction got added in bc05a8f ("add basic UI
plugin infrastructure") it also inlined the check for the answer, as
that can be differently structured for each user interface, and
returns bool. But when switching over to this new infra, two sites
weren't updated to the simpler bool check and still checked with the
previous "equals 'ok'", which now was always false.

Fixes: 72bea99 ("switch prompt, error and message calls to new UI infra")
Reported-by: Alexander Zeidler <a.zeidler@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-22 07:21:19 +02:00
Thomas Lamprecht
e4a899304d install: fix passing missing root volume name
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-20 21:03:16 +02:00
Thomas Lamprecht
f9edca42a7 install module: move over ZFS and BTRFS device getters
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-20 20:03:58 +02:00
Thomas Lamprecht
a677c773e9 factor out installation into own module
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-20 16:00:47 +02:00