Skip to content

Filesystem not properly resized on boot #63

@rgaudin

Description

@rgaudin

Base-image's offspot_bi_init_resize.sh is properly executed on first boot and the UI shows that “Resizing” and even a resize2fs command but filesystem's size is still identical to image's one

root@yala:~# fdisk -l /dev/mmcblk0
Disk /dev/mmcblk0: 29.72 GiB, 31914983424 bytes, 62333952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xb690ddda

Device         Boot   Start      End  Sectors  Size Id Type
/dev/mmcblk0p1         8192  1056767  1048576  512M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      1056768  6209535  5152768  2.5G 83 Linux
/dev/mmcblk0p3      6209536 62333951 56124416 26.8G  7 HPFS/NTFS/exFAT
root@yala:~# df -h /data/
Filesystem      Size  Used Avail Use% Mounted on
/dev/mmcblk0p3  891M  692M  149M  83% /data

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions