Is it possible to fix the RootFS size to 8192 MB (8GB) ?
Yes, increase the MENDER_DATA_PART_SIZE_MB
.
Below should explain why (copied from Raspberry Pi 3 Model B/B+ Raspbian - #23 by eystein)
The SD card layout will be the following using the default
arguments (this with the default 8GB size):
Part | Type | Purpose | Size | Configure size |
---|---|---|---|---|
mmcblk0p1 | vfat | Store the bootloader | 44MB | MENDER_BOOT_PART_SIZE_MB |
mmcblk0p2 | ext4 | Store the root file system and kernel (active) | 3908MB | MENDER_STORAGE_TOTAL_SIZE_MB 1 |
mmcblk0p3 | ext4 | Store the root file system and kernel (inactive) | 3908MB | MENDER_STORAGE_TOTAL_SIZE_MB 1 |
mmcblk0p4 | ext4 | Store persistent data, preserved during Mender updates. | 128MB | MENDER_DATA_PART_SIZE_MB 2 |
- The rootfs partition size is calculated using the
following formula:
(storage-total-size-mb - data-part-size-mb - boot-part-size) / 2