coreos-assembler icon indicating copy to clipboard operation
coreos-assembler copied to clipboard

Request to increase boot directory size

Open CrystalChun opened this issue 3 weeks ago • 4 comments

https://github.com/coreos/coreos-assembler/blob/bf8b944d6fd211cb3f9071820934db65138b80b6/src/osbuild-manifests/coreos.osbuild.x86_64.mpp.yaml#L16

OCP 4.19+ occupies slightly more space in the /boot directory 4.18:

/dev/sda3       350M  229M   99M  70% /boot

4.19+:

/dev/sda3	350M  242M   85M  74% /boot

It would be great to adjust this value so that the /boot directory has the same amount of space availability as before.

Recently, the lack of space causes a failure to reclaim a host using Assisted Installer.

CrystalChun avatar Dec 04 '25 21:12 CrystalChun

Recently, the lack of space causes a failure to reclaim a host using Assisted Installer.

Does Assisted Installer use space in the /boot/ partition? I'm unaware of any requirements there.

dustymabe avatar Dec 05 '25 21:12 dustymabe

Does Assisted Installer use space in the /boot/ partition? I'm unaware of any requirements there.

It does use this for "reclaiming" a host. Reclaiming means that the host was originally installed into an OCP cluster, but the user wants to uninstall this host and re-add it to a pool of hosts to install into another cluster.

The /boot partition is where the files are written so that it can reboot into a live ISO to be re-added to the pool.

CrystalChun avatar Dec 05 '25 21:12 CrystalChun

I understand. While it seems simple to just increase the amount of space here it has broad implications and we've yet to tackle the work items related to doing something like that. Follow https://github.com/coreos/fedora-coreos-tracker/issues/1465

My suggestion to you would be to cleanup the rollback deployment (if there is one) with sudo rpm-ostree cleanup --rollback prior to attempting to reclaim a host.

dustymabe avatar Dec 05 '25 22:12 dustymabe

Good to know that it is on the radar, and understandable that it's not an arbitrary change. Thank you for the tracker link and suggestion!

CrystalChun avatar Dec 05 '25 22:12 CrystalChun

It does use this for "reclaiming" a host.

Significant overlap between this and https://github.com/bootc-dev/bootc/issues/404

cgwalters avatar Dec 17 '25 22:12 cgwalters