Running the "First Aid" in the Disk Utility on Mac is akin to "Check Disk" (chkdsk) on Windows.