Skip to content

Add configurable data disk filesystem - #1625

Open
joearasin wants to merge 2 commits into
abiosoft:mainfrom
joearasin:main
Open

Add configurable data disk filesystem#1625
joearasin wants to merge 2 commits into
abiosoft:mainfrom
joearasin:main

Conversation

@joearasin

@joearasin joearasin commented Aug 20, 2026

Copy link
Copy Markdown

Add a new diskFS config option for the VM data disk, defaulting to ext4 and validating allowed values (ext4, xfs).

  • Preserve the value in profile defaults and reject unsupported changes after creation
  • XFS is limited to profiles whose generated labels fit within the 12-byte Linux limit (which basically means the default profile only, for now, due to label name generation)
  • Mount and resize scripts now format and mount the correct filesystem and refuse to reinterpret an existing disk with a different filesystem.

This also updates the default template and adds coverage for disk validation and mount/resize behavior.

See related abiosoft/colima-core#20

Closes #1624

Add a new `diskFS` config option for the VM data disk, defaulting to `ext4` and validating allowed values (`ext4`, `xfs`). Preserve the value in profile defaults and reject unsupported changes after creation; XFS is limited to profiles whose generated labels fit within the 12-byte Linux limit. Mount and resize scripts now format and mount the correct filesystem and refuse to reinterpret an existing disk with a different filesystem. This also updates the default template and adds coverage for disk validation and mount/resize behavior.

Signed-off-by: Joe Arasin <joe@arasin.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow configuring the FileSystem Format for the Data Disk

1 participant