You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Proposal: Support resizing multiple filesystems in the resizefs module
#6992
In this configuration, growpart expands the partitions backing both / and /data, but resizefs expands only the filesystem mounted at /. The filesystem mounted at /data remains unchanged, so users must resize it separately.
I would like to propose adding support for multiple filesystems to the resizefs module, aligned with the devices configuration supported by growpart.
The entries could use the same format and resolution rules as growpart.devices, such as mount points or device paths.
For backward compatibility, resize_rootfs should continue to work as it does today. If the new configuration is not specified, the current behavior would remain unchanged. We would also need to define the behavior when both resize_rootfs and the new configuration are present.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Cloud-init currently has two modules related to partition and filesystem expansion:
growpartexpands partitions and supports multiple entries throughgrowpart.devices.resizefsexpands the filesystem, but it is controlled only byresize_rootfs, so it can resize only the root filesystem.For example:
In this configuration,
growpartexpands the partitions backing both/and/data, butresizefsexpands only the filesystem mounted at/. The filesystem mounted at/dataremains unchanged, so users must resize it separately.I would like to propose adding support for multiple filesystems to the
resizefsmodule, aligned with thedevicesconfiguration supported bygrowpart.One possible configuration could be:
The entries could use the same format and resolution rules as
growpart.devices, such as mount points or device paths.For backward compatibility,
resize_rootfsshould continue to work as it does today. If the new configuration is not specified, the current behavior would remain unchanged. We would also need to define the behavior when bothresize_rootfsand the new configuration are present.All reactions