Declare the think data pool in disko; one source for partitions + pool #24
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lab/machine-configs#24
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up from #14.
Today the think data disk is declared in two places:
lib/disko/think-data.nix: GPT, part1tank(all but the last 500G), part2 rawceph-osdscripts/k3s-reset.sh: the same layout copied assgdiskarguments, for in-place resetsand the pool itself is not declared at all:
zfs-pool-init(modules/zfs.nix) createstank,tank/linstor,pool0,thin0imperatively on first boot, then re-applies compression and the thin quota on every boot.Proposal
tankand its datasets inthink-data.nixas a diskozpool(part1 content), so the layout is Nix and a reinstall creates it.zfs-pool-initto convergence only (compression, quota, anything disko does not re-apply on an existing pool).Done when