Page MenuHomeVyOS Platform

Resize a root partition and filesystem automatically during deployment in virtual environments
Needs testing, Requires assessmentPublicFEATURE REQUEST


The common case for deployments in virtual environments, like clouds, is tuning partition layout and filesystem size during instance deployment or first boot to use all available space.
We need to enable this behavior for cloud images and images for hypervisors.


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Behavior change

Event Timeline

zsdc changed the task status from Open to In progress.Nov 2 2020, 12:56 PM
zsdc claimed this task.
zsdc created this task.
zsdc changed the task status from In progress to Needs testing.Nov 4 2020, 10:19 PM

So once a bigger disk is added on system boot the filesystem should be automatically repartitioned and resized to the maximum available space?

That should be fairly simple as there is only one partition, so delete the partition, create a new one with higher end block and call resize2fs