Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data partition requires fixed size #98

Merged
Merged
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 meta-leda-distro/wic/qemuarm64.wks
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ part --fixed-size 10M --ondisk vda --align 4096
part --source rootfs --rootfs-dir=sdv-image-rescue --ondisk vda --fstype=ext4 --label rescue --align 1024
part --source rootfs --rootfs-dir=sdv-image-full --ondisk vda --fstype=ext4 --label root_a --align 4096
part --source rootfs --rootfs-dir=sdv-image-minimal --ondisk vda --fstype=ext4 --label root_b --align 4096
part --source rootfs --rootfs-dir=sdv-image-data --ondisk vda --fstype=ext4 --label data --align 4096
part --fixed-size 2048M --source rootfs --rootfs-dir=sdv-image-data --ondisk vda --fstype=ext4 --label data --align 4096
2 changes: 1 addition & 1 deletion meta-leda-distro/wic/qemux86-grub-efi.wks
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ part --source rootfs --rootfs-dir=sdv-image-minimal --ondisk vda --fstype=ext4 -

# The data partition to store Kubernetes Cluster state (e.g. containerized apps)
# Last partition, so that it can be grown (eg on Raspi to full SD-Card capacitiy, on qemu by extending the qcow2 disk image file)
part --source rootfs --rootfs-dir=sdv-image-data --ondisk vda --fstype=ext4 --label data
part --fixed-size 2048M --source rootfs --rootfs-dir=sdv-image-data --ondisk vda --fstype=ext4 --label data
2 changes: 1 addition & 1 deletion meta-leda-distro/wic/raspberrypi.wks.in
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ part --source rootfs --rootfs-dir=sdv-image-full --ondisk mmcblk0 --fstype=ext4
part --source rootfs --rootfs-dir=sdv-image-minimal --ondisk mmcblk0 --fstype=ext4 --label root_b --align 4096

# /dev/mmcblk0p6 - Kubernetes Data partition mounted to "/data"
part --source rootfs --rootfs-dir=sdv-image-data --ondisk mmcblk0 --fstype=ext4 --label data --align 4096 --fsoptions "x-systemd.growfs"
part --fixed-size 2048M --source rootfs --rootfs-dir=sdv-image-data --ondisk mmcblk0 --fstype=ext4 --label data --align 4096 --fsoptions "x-systemd.growfs"