How to migrate ext3/ext4 to xfs Linux file system

Is there any way to migrate / filesytem from ext3 to xfs on production without data loss.

Not possible. What you can do is backup all data to an external server or hard disk. Boot from install media. Format the ext3 disk to xfs and reinstall OS. Finally, restore the data.

1 Like