How to fix invalid volume directory/file count error in Disk Utility?
Hi, I have a little problem with my Mac – I recently noticed slower speed, disk is constantly on. I did only cleanup and was advised to check start up volume. After performing disc repair I get the following error messages:
- Invalid volume file count
- (It should be 759557 instead of 759584)
- Invalid volume directory count
- Error: filesystem verify or repair failed.
Can someone advise on these messages? Is format necessary or simple re-installation of OS will do it? Thank you!
What is invalid volume directory/file count?
Invalid volume directory/file count error appears in Disk Utility when repairing HFS, HFS+ or APFS formatted internal/external drive. The volume directory/file count is used to record how many volumes and files on one partition. Whenever you try to mount a disk on Mac, the operating system will check the number on the volume directory/file count. If the number doesn't match the journal on the disk, the disk won't be mounted successfully on Mac and Disk Utility will report the error message.
Usually, errors like this usually happen as a result of forced/unexpected shutdowns, power failure, virus attack, file system corruption, etc.
How to fix invalid volume directory/file count in Disk Utility?
If Disk Utility is unable to fix invalid volume directory/file count in Disk Utility, your disk might have some serious logical problems. Don't panic! Here are two troubleshooting guides, hope it works for you:
Solution 1: Fix invalid volume directory/file count error with fsck Command
Step 1: Start your Mac in single-user mode. Restart it, and then press and hold the Command+S keys while it boots.
Step 2: Type the command /sbin/fsck -fy into the terminal and press Enter to start a file system check.
Step 3: When the fsck command has your disk checked and repaired, type reboot and press Enter. Your Mac will reboot and return to the usual login screen.
Solution 2: Fix invalid volume directory/file count error by reformatting
If the above solution can't fix the error, the last solution is to reformat the corrupted disk. This is the most effective method, but reformatting will erase all data stored on the disk. If you have important files on this disk, you should recover data from the corrupted disk firstly.
iBoysoft Mac Data Recovery is free Mac data recovery software that can applies to recover lost documents, audios, videos, pictures, emails from APFS, HFS, HFS+, exFAT, FAT32 drive. This powerful data recovery tool is able to recover data from corrupted hard drive, recover data from unmountable, unreadable, formatted, inaccessible hard drive, external hard drive, USB flash drive, SD card, memory card, pen drive, etc. on macOS Catalina 10.15/Mojave 10.14/High Sierra 10.13/Sierra 10.12/10.11/10.10/10.9/10.8/10.7.
Tutorial to recover data from corrupted disk with iBoysoft Mac Data Recovery
If the boot volume gets corrupted and your Mac machine can't be restarted as usual, you have to install operating system on an external drive, like USB drive, and then boot Mac from it.
1. Download, install and launch iBoysoft Mac Data Recovery.
2. Select the corrupted disk which has invalid volume directory/file count error and click "Next" to start scanning.
3. Preview scanning results, choose files we need, and click "Recover" to recover files.
Step 2: Fix invalid volume directory/file count error by reformatting
1. Launch Disk Utility.
2. Select the corrupted disk on the left part of the window.
3. Click Erase on the top of the window.
4. Complete related information (name, format, scheme), then click Erase.
Still have questions?