Skip to Main Content

Cloud Platform

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Manual partitioning (or not dedicating 10Gb of storage to kernel crash logs)

User_ZVYFRJun 19 2021

Hello,
By default, when firing up a new compute instance with Oracle Linux, two volumes are created : "boot" (effectively root) and "oled" (/var/oled).
From my understanding, this "oled" partition serve to store kernel crash logs.
As I find it excessive to keep 10Gb for that, I would like to make it lower, but since this is two completely separate encrypted volumes, I figured out it may be possible to achieve lower size for this volume using cloud-init script when firing the compute instance in the first place.
Problem is, I don't know where to start, reading cloud-init documentation did not help me there.
Cloud config examples — cloud-init 21.2 documentation (0 Bytes)While a disk setup part exists here, I do not know which device i'm supposed to use there.
When a compute instance has finished it's provisioning, the useable space is in /dev/mapper, and cloud init doesn't support that.
Oracle — cloud-init 21.2 documentation (0 Bytes)The oracle specific instructions does not mention partitioning.

Comments
Post Details
Added on Jun 19 2021
0 comments
1,297 views