Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/skills/ddi-installer.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ container runtime pod sandboxes.
| Partition | Type | Size | Contents |
|---|---|---|---|
| ESP | vfat | 500 MiB – 1 GiB | `systemd-boot` + target OS UKI (`bluefin-server.efi`) |
| `bluefin-server-root-a` | XFS | 4 GiB – 16 GiB | OS root filesystem (copied from installer data partition) |
| `bluefin-server-root-a` | XFS | 4 GiB – 8 GiB | OS root filesystem (copied from installer data partition) |
| `var` | XFS | ≥ 4 GiB | Writable persistent `/var`; grows to fill remaining disk |

## Installer Boot Flow
Expand Down
2 changes: 1 addition & 1 deletion files/installer/repart.d/20-root-a.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ Type=root
Label=bluefin-server-root-a
CopyBlocks=/dev/disk/by-partlabel/bluefin-installer-data
SizeMinBytes=4G
SizeMaxBytes=16G
SizeMaxBytes=8G
GrowFileSystem=yes
4 changes: 4 additions & 0 deletions tests/unit/test_repart_layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ def test_root_slot_grows_and_is_bounded_below_the_var_partition():
assert "SizeMaxBytes" in root, (
"the root slot must be capped, otherwise /var gets no space on small disks"
)
assert parse_size(root["SizeMaxBytes"]) <= 8 * 1024**3, (
"the root slot must be capped at 8G or less so /var is guaranteed at least "
"its SizeMinBytes (4G) on standard 16G target disks"
)


def test_var_is_a_growing_xfs_tail():
Expand Down
Loading