How to switch mongodb from ext4 to xfs:
It is simple : Add SECONDARY member with xfs, after the member finish with the replication , you can switch to that member and remove the other with the ext4 fs.
if switching will solve the IO:
Perhaps adding more RAM will help more
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…