CoreOS modify filesystem after provisioning?

Hi all,

I’m wondering what would be the preferred solution for the following.

I have a number of machines with quite a few disks, happily provisioned on bare metal a few years back. We used ext4 for the data disks, but minio really recommends xfs.

How would I best change the filesystem on one of my disks from ext4 to xfs, preferably without reprovisioning the machine?

(Maybe I misunderstood something, so I’d like some feedback - right now I would modify the systemd files, var-storage-data7.mount, stop the systemd service to unmount, modify the filesystem manually, and then remount the disk by restarting the systemd service, but I have the feeling that this may not be the CoreOS preferred way to do things…)

Many thanks for your advice!

I would say that this is the way to do it if you don’t want to re-provision your system.