How to remove XFS filesystem warning in mongodb shell?
To permanently suppress this server warning you currently need to use the XFS filesystem. The warning was added due to observed stalls with EXT4 during WiredTiger checkpoints.

You may want to upvote &amp; watch SERVER-19790: Provide mechanism to clear/acknowledge startup warnings in the MongoDB issue tracker.

If you want to suppress displaying this warning (and all other startup warnings), start your mongo shell session with --quiet.

The quiet option is typically only used for non-interactive scripts as otherwise you may miss an important warning. Startup warnings only appear once per mongo shell session and highlight potentially serious issues like having access control disabled (or in your case, a filesystem which can result in stalls during checkpoints).