Never invoke sync from the prompt without first running the fsck(1M) command, especially if the file system has changed.