Home > Questions

Files in folders disappear on external HDD, will fsck erase the drive?

Hi, Unfortunately, my Very Old External Drive (HDD) was corrupted yesterday! It was able to be prompted via USB, and all those "folders" showed up, BUT files in all folders were disappear! Then, I proceeded to do Disk Utility First Aid, no luck with the error. I continued to seek help over the internet. Finally, I came to the stage of " Terminal fsck repair disk". Question: "Repairing the partition map might erase disk0s1 (y/N) " Should I "y"? Will it ERASE all my files/data? Does the action to build a new map for my hard drive to let the Mac system recognize it?

Best Answered by

Amanda Wong

Answered on Monday, April 29, 2024

You'd better recover missing files from empty folders on the external hard drive before you run the fsck command to check and repair the drive. It can't answer the question definitely whether fsck will erase the drive data but there is no need to take risks.

When the external hard drive is corrupted, the files could disappear from the external hard drive, to fix a corrupted external HDD on Mac, you can try First Aid and FSCK in Terminal. However, just as the system message says "repairing the partition map might erase disk0s1 (y/n)", such major operations may cause further data loss on your external hard drive, therefore, it is recommended to recover data from a corrupted external hard drive on Mac in the first step.

As long as the lost/deleted data hasn't been overwritten, it is possible to get files back from the corrupted hard drive. You can try professional data recovery software such as iBoysoft Data Recovery for Mac to scan for lost files on the drive and recover wanted files. Here's how:

  1. Download, install, and run iBoysoft Data Recovery for Mac on your computer.
  2. Connected the corrupted hard drive where the folders are empty.
  3. Choose Storage Device under Data Recovery.
  4. Select the corrupted external HDD and click Search for Lost Data.
  5. View recoverable files after filtering files using various categories. 
  6. Select the desired files and click Recover to save them somewhere else.

After getting files off the corrupted external HDD, you can continue running fsck on the drive without data loss and enter Y when it prompts the message "repairing the partition map might erase disk0s1 (y/n)." In case it doesn't work, you may need to format the external hard drive on Mac to repair the drive.