disko-config: add ceph TODO

This commit is contained in:
Sandro - 2023-04-20 23:41:32 +02:00
parent 4c11d36c9b
commit e53bddc611
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 2 additions and 1 deletions

View File

@ -60,7 +60,7 @@
# error messages:
# Volume group "lvm-chaos" has insufficient free space (51195 extents): 51200 required.
# Size is not a multiple of 512. Try using 40057405440 or 40057405952.
raw.size =
ceph.size =
let
# convert GiB to bytes
rootSizeMiB = rootSize * 1024 * 1024 * 1024;
@ -70,6 +70,7 @@
bootOther = "-512-20";
in
"$((($(lsblk /dev/sda --noheadings --nodeps --output SIZE --bytes)-${toString rootSizeMiB})${roundToMiB}${bootOther}))MiB";
# TODO: ask astro how to format this
zfs = {
size = "${toString rootSize}GiB";
content = {