Is there any correct way to convert file system from ext4 to xfs in centos?
create partition where enough space, format it to xfs
mount that partition to some directory
stop mongod process
rsync -aP src dst files from original mongod dbpath to this xfs mount
unmount original dbpath partition mount AND this xfs partition
mount xfs partition to path where mongod dbpath points
start mongod process


So, basically when mongod process is stopped, copy all dbpath files to new location/partition and then point mongod process to use that location...