Devices that you are connected to usually need your attention. For the Mac this means having to check the machine from time to time and take steps to ensure it runs optimally. Whether this means cleaning the machine of junk data with the help of a Mac optimization app such as CleanMyMac or by performing disk maintenance depends on the situation you encounter.
A disk check isn’t something you’d perform too often, though, unless the system’s built-in monitoring utility S.M.A.R.T. sends signals that suggest the hard drive is about to fail or if partitioning a drive gives an error message.
On top of that, macOS has powerful built-in utilities to address issues with the file system. Especially now that Apple has migrated its user base over to its new Apple File System (APFS) after the release of High Sierra, you might want to be assured that everything is fine with your data.
To do that macOS has two powerful utilities: the more user-friendly Disk Utility (which has a nice GUI) and fsck (short for File System Consistency Check), a command-line utility which is only recommended for advanced users comfortable with controlling a Mac using text commands.
Thanks to its “Live Verification” feature, Disk Utility can be used to check the Mac’s startup disk without starting the computer from another volume. Live Verification works only on MacOS X Extended (Journaled)-formatted (HFS+J) volumes, so if you are trying to verify other volumes then it will only display an error message.
If the utility finds any irregularities then you’ll need to start the Mac up from another volume – such as a Mac OS X install DVD – enter macOS Recovery, or start up from Internet Recovery and run Disk Utility to repair the disk. If Disk Utility fails to repair the volume, that’s when you’ll need to run fsck.
The Mac will signal the use of fsck if it has run into issues and needs your attention to fix them. So if you notice the following symptoms on startup then the Mac has encountered issues with the file system and it needs repairing, with either Disk Utility or fsck. Keep an eye out for these symptoms:
There are two ways to fix such serious file system issues. Apple strongly recommends using Disk Utility first, so here is how to address disk faults using this powerful utility:
If Disk Utility is unable to fix the issue, proceed with fsck.
The system utility fsck is a tool for checking the file system consistency in Unix and Unix-like operating systems such as macOS, Linux, and FreeBSD. Fsck is invoked before the file systems are mounted, so you need to mount the boot volume first for write access so you can fix any issues with the file system. To do that, the Mac needs to start in Single-User Mode, an extremely minimal environment with no GUI and no system daemons running. To address the file system issues, do the following:
sbin/fsck -fy
Once this is done the system will highlight the success of the tool, with one of two messages:
In case the system has found issues then you will need to repeat step 2 above until fsck reports that your volume appears to be OK. Once this is achieved, simply type ‘reboot’ and then press Return to restart the computer.
Best Reviews may receive compensation for its content through paid collaborations and/or affiliate links. Learn more about how we sustain our work and review products.
©2012-2024 Best Reviews, a clovio brand –
All rights
reserved
Privacy
policy
·
Cookie
policy
·
Terms
of use
·
Partnerships
· Contact
us