Table of Contents

     

    Mac Data Recovery

    “Couldn’t Unmount Disk” Error on Mac – How to Fix


    Table of Contents

      MacBooks are highly prized for their smooth operation and high security level, but just like any other man-made machine, they’re not immune to errors. One issue that is majorly encountered by users is the notorious “Couldn’t Unmount Disk” error. The case is likely to occur when you try to delete, partition, or fix a disk with Disk Utility, and you see that your system won’t allow you to do so as the disk is either locked, or in use, or is damaged.

      For the average user, this problem can be more than frustrating, it can strike at the most inopportune time when you’re attempting to reinstall macOS, make a bootable drive, or prepare a disk for a backup

      In this article, we will go in-depth into why the “Couldn’t Unmount Disk” error happens in the first place.

      Why “Couldn’t Unmount Disk” Error Appear on Mac?

      To fix this issue, you need to dig slightly deeper as to what makes it occur. Unmount on macOS suggests detaching a disk or volume from the file system so that it can be erased, formatted, or repaired securely. It also serves several other important purposes like safe removal of external media, maintenance of system and troubleshooting, or switching between file systems or OS, meanwhile ensuring your data’s privacy & security. If the system won’t unmount, it could be a result of something prohibiting it within your system.

      Let’s examine the key reasons:

      1. System Disk in Use

      If you are working on the startup disk of your Mac, you cannot unmount it from the macOS. The system reads and writes continuously on that disk for regular functioning, and thus when you attempt to erase or repartition it within Disk Utility, macOS prevents it. This is the most frequent cause of why individuals encounter the error.

      2. Background Processes or Apps Blocking the Disk

      For some other times the issue isn’t with the system itself but background services. Like,

      • Time Machine could be running a backup.
      • Spotlight could be accessing the disk.
      • A third-party software for instance, antivirus or disk management could be scanning or locking files.

      Even when you think that the disk is inactive, one of the above reasons might be holding the unmount.

      3. File System Corruption or Partition Map Problems

      Logical corruption or damaged partition maps on disks might result in unmount failures. For instance, if the APFS container structure is damaged or the HFS+ catalog file is corrupted, macOS might not be able to unmount it properly. That is a sign of more severe problems with the drive.

      4. External Drive Connection Problems

      For external disks, loose cables, malfunctioning USB hubs, or power problems can also stop safe unmounting. The OS receives conflicting messages and fails to unmount the disk to prevent possible data corruption.

      5. Locked or Encrypted Volumes

      In case you are dealing with an encrypted APFS volume and it has failed to be unlocked successfully, or if the keychain is holding it wrongly, the system may block the unmount request.

      6. Severe Hardware Faults

      In some instances, the drive itself might be failing physically. If macOS is unable to communicate with the disk controller, it will repeatedly eject with the unmount error.

      How to Resolve the “Couldn’t Unmount Disk” Issue on Mac?

      Now that you understand the potential causes, let’s go through the solutions in depth. Each of the following methods addresses a different causative factor.

      1. Restart Your Mac and Retry

      It seems basic, but restarting will get rid of processes that could be holding the disk. If it is a background service problem, this will solve the issue right away. Always attempt this before proceeding with more complex steps.

      2. Boot macOS Recovery Mode

      If the issue is with your startup disk, you will be compelled to operate outside your primary operating environment.

      Shut down your Mac.

      Press and hold the power button (Touch ID button on laptops) until you see “Loading startup options.”

      When the options screen appears, click Options → Continue.

      Enter your admin password if prompted, and you’ll be in macOS Recovery.

      Once in Recovery Mode, launch Disk Utility.

      Choose the disk and attempt to unmount.

      In Recovery Mode, however, the system is not actually operating from your startup disk, which means you are more likely to succeed.

      3. Use Disk Utility’s First Aid Tool

      If corruption is suspected, administer First Aid. Here’s how:

      1. Under Disk Utility, choose the volume below the disk.
      2. Click on First Aid and let it scan for file system errors.
      3. Do the same for the container (if it’s APFS) and then device level.
      4. Reconstruction is done layer by layer, so every logical structure is tackled.

      4. Unmount Using Terminal by Force

      In stubborn situations where Disk Utility is being obstinate, Terminal might prove more useful.

      But use it only if Disk Utility refuses to eject a disk.

      • Run:
      • Open Terminal from Applications → Utilities.
      diskutil list

      This shows all connected disks and their identifiers (e.g., /dev/disk2).

      • To unmount the whole disk, run:
      diskutil unmountDisk force /dev/diskX

      Replace diskX with your actual disk number.

      • If you only want to unmount a single volume, use:
      diskutil unmount force /dev/diskXsY

      Only use force if normal unmount fails. If any app is writing to the disk, forcing can corrupt data. Always double-check that nothing important is running before using it.

      Be careful as compelling an unmount when data is actively being written can lead to corruption. Always make sure no critical operations are in progress.

      5. Delete or Format the Disk

      If the disk is still not available and you don’t need the information, you can still erase it. This though wipes everything off of the drive.

      1. Choose the disk in Disk Utility.
      2. Click Erase.
      3. Select the preferred file system.
      4. Click Continue.


      Note: Do not delete the disk if there are significant files on it. Before deleting, ensure that you have created a backup of the data.

      6. Inspect Hardware and Connection

      For external drives. At times, you might have to remove the drive forcefully. Just make sure no read-write action is in the process to avoid data corruption. Even if “nothing is being written,” the OS may still be caching data. Better you first shut down the Mac before unplugging it.

      7. Try Mac Data Recovery Tools as a Last Resort

      If the above fails, chances are that the disk is badly corrupted or has hardware issues. Now, if you have lost your crucial data, you don’t have to give up hope. Attempt a professional-level recovery software such as Stellar Data Recovery for Mac.

      Where Stellar Data Recovery for Mac Fits In

      Though macOS utilities do their job well in terms of making speedy repairs, they have their limitations. In case your disk fails to unmount due to corruption, partition problems, or boot problems, native utilities might not suffice. That is where Stellar Data Recovery for Mac steps in:

      Recover from Unmountable Drives: Even if Disk Utility won’t unmount or mount a drive, Stellar will be able to scan the drive directly at the device level.

      Works on Non-Booting Macs: The application can be launched in recovery mode, which enables you to recover files when your Mac won’t boot up normally.

      Advanced Scan Modes: Rapid scan for minor problems, or in-depth scan to recover lost data from severely damaged drives.

      Create a Disk Image: In case your drive is physically failing, the software allows you to make a sector-by-sector copy and recover from the image in a secure way rather than stressing the failing hardware.

      Supports Multiple File Systems: No matter what format the file is – your disk could be APFS, HFS+, FAT32, exFAT, or NTFS formatted, Stellar has got you covered.

      Opting for Stellar before taking risky measures or seeking professional help, you can recover your important files, following which, you can proceed with repairs confidently.

      Avoiding the Situation in the Future

      Although certain disk errors are unavoidable, proper procedures can greatly minimize the risk of experiencing unmount issues.

      Eject Disks Properly:

      Always eject with the “Eject” option before unmounting an external drive.

      You can eject the drive using any of the below mentioned ways:

      Finder Sidebar: In Finder, look for your external drive under Locations. Click the small Eject (⏏️) icon next to it.

      Desktop Icon: If the drive is visible on your desktop, drag it to the Trash. The Trash icon will change to an Eject symbol when you hover.

      Right-Click Menu: Right-click the drive in Finder or on the desktop and choose Eject.

      Disk Utility: Open Disk Utility, select the drive, then click the Eject button in the toolbar.

      Keep Regular Backups:

      iCloud, third-party backup software, or Time Machine guarantee that even if your disk crashes, your data is secure.

      Practice First Aid Regularly:

      Running Disk Utility’s First Aid on a regular basis assists in finding and repairing minor problems before they become enormous.

      Don’t Overfill Drives:

      Having less than 10% free space is unsafe. A disk that is almost full is more likely to corrupt.

      Monitor Disk Health:

      Use SMART monitoring software to verify your drive health. Replace the disk if you notice early failure warnings.

      Key Takeaways

      The “Couldn’t Unmount Disk” error might seem complicated to many, but it can be quickly fixed once you know the root cause and the perfect solution for it. From restarts to Recovery Mode maneuvers and Terminal commands, you have quite a few ways to correct it for starters.

      However, if you find out that the disk is corrupted or your data is vulnerable, macOS’s built-in utilities may fall short. If data recovery is necessary, Stellar Data Recovery for Mac can be a valuable tool. By understanding the proper combination of troubleshooting and maintenance, you can lower downtime, keep your files safe, and maintain your Mac like it’s new.

      About The Author

      Pallavi

      Pallavi is a literature graduate turned content strategist, specializing in data recovery. She creates insightful, user-friendly content to help people rescue their data from hard drives, SSDs, memory cards, and more. When she’s not decoding tech for everyday users, she’s curled up with a book—or secretly planning her next adventure.

      80 comments

      1. After update my Mac OS, I couldn’t get previous screen. I tried to check everything in disk utility. This Information really helped me! The first solution work perfectly. Thanks for given me such a wonderful Information.

      2. Hey. I am unable to delete/format main disk on mac book pro late 2009. (10.6.8)
        When using disc utility the bars in erase section are not highlighted at all..(cant be chosen)
        When using -sudo- in terminal with “diskutil” erase.. Also brings error -10000 could not unmount disk
        Tnx in advance

        1. Hello Skuto9

          Kindly follow the below-mentioned steps to create a bootable DMG and to perform format/delete operation on the boot drive:

          1. Run Stellar Partition Manager after downloading it from here

          2. Select boot volume and click Create Bootable DMG.
          3. Click on Create Image button. Select the destination to save the disk image and click Choose to begin the image creation process.
          4. After the image is created, double-click on the created image to mount it.
          5. Attach external media to your computer and open Disk Utility from ‘/Applications/Utilities’.
          6. Format external media in ‘Mac OS Extended (journaled) with ‘GUID Partition Table’ Partition Map Scheme’.
          7. Select a mounted image from the left panel of Disk Utility and select Restore tab.
          8. Drag mounted an image to source and external media to destination and press Restore button.
          9. Use your external media to boot your computer after Restore is completed successfully.

          Note: Create Bootable DMG option is available for boot volume only. Do not stop the image creation process in the middle. It may corrupt your hard disk

      3. hi, my mac is actually shutting it self down after a silver bar appears on the screen and then it just shuts down without booting up. i tried with holding cmd,option,R to get into recovery mode. when i tried to reinstall the os it says that your drive is locked. is there any option that i unlock my drive or not ?
        Secondly i also tried to erase the whole drive to reinstall osx but then it says Disk erase failed and it just didnt erased my hard. what is the way to solve this issue, If the data goesm i dont care but i need a fresh working OS to use.
        HELP ME

        1. Hi Teddy,

          Did you encrypt your hard drive recently? In recovery mode, try selecting the disk at the hard drive level and then erase it. It seems there might be some issue with your hardware. Are you able to run Apple hardware test? You must backup your important data and try re-installing the macOS using a bootable USB. You can create one for macOS High Sierra.

      4. Hey people,

        I have a problem with the mac. I erased the disc and now when i turn it on it’s showing me a logo like ‘no folder’ … cmd+r is not working… what should I do?

        1. Hi Erik,

          It seems you have formatted the Mac startup disk and hence the Mac is unable to locate your OS. Did you try Recovery Mode by pressing Option before start-up? If you are able to go through Recovery Mode then restore Time Machine backup. Alternatively, try Internet Recovery to restore macOS. Erik, if after restoration you find that your data is lost or missing then you have to use a data recovery software. I recommend Stellar Mac Data Recovery for formatted hard drives. Do let know further.

      5. Helpful article Vishal, thank you. After 20 hours of trying I follow your instructions and it’s done within 15-20 minutes! External Bootable, additional Internal HDD and Internal SSD with High Sierra +APFS all now resized and reorganised.

      6. Hi Vishal,

        I have a late 2011 13.3″ MBP, running OS Sierra.
        I was trying to do a clean OS restore, using the Recovery Mode.
        So tried I booting the system using Command + R, and went to the disk utility screen. When I try erasing my Internal Disk, it does not go through, and it says unable to unmount disk. I tried the first Aid, and that worked fine.

        Any help with this would be highly appreciated. Thank you!

      7. Hi Vishal,
        is it possible to recover files from a hard drive that shows couldn’t get unmount disk error?

          1. Hello Vishal.

            I wanted to Encrypt My External Hard drive using Disk Utility, but i ended up erasing my whole files and document in my External hard drive through disk utility, please is there anyway i can recover files? because no files in my hard drive right now.

            Thanks

          2. Hello Yankee,
            Please download Stellar Mac Data Recovery and run a free scan on your external hard drive to recover files formatted accidentally. Here are the steps to recover files using the software:

            1. Start New Scan
            2. Select external drive
            3. Run Advance Scan and start scan
            4. Preview files
            5. Register the software
            6. Recover (Save) your data
      8. Hi there
        It’s really interesting to ready your article. I have just recently upgraded to Sierra, but I fund that there are a few things not working.

        the most important one is my Iphoto not working anymore. I understand that iphoto has been replace by photos, but as my Iphoto library is located at my external drive, therefore the photos did not convert my iphoto automatically. I have tried many ways to copy into photos, but didn’t work. it sounds like that the file has problems, which I can’t even copy it to any drive. help please! Ling

      9. Hello I’m new to Apple Imac and have a 2007 version Mac Desktop that was given to me and I by mistake reset the computer but I didn’t save I guess the drives or whatever it is that I needed and now it tells me temporarily unavailable and also it will not let me do the partition it says failed with error couldn’t unmount disk. Please help thanks

        1. Hi Chris,

          Don’t you have a Time Machine backup of your Mac system? Press Command + R before Mac startup to go into Mac OS X Utilities. From there, you can restore the OS X through Time Machine, Internet Recovery or by Reinstalling OS X.

          Thanks,

      10. Hey,
        I have a Mac 2012 lion. I am unable to boot it and thus tried using disk utility to reinstall os but
        It’s says unable to unmount the disk.
        Can u help me what exactly shd I do and how to boot the Mac using a external drive.

        1. Hi Harry,

          Can you create a USB bootable disk from another Mac system and then try to reinstall a fresh copy of OS X? You can create a macOS Sierra rescue disk also, however, a handy backup must be by your side.

          Thanks.

      Leave a comment

      Your email address will not be published. Required fields are marked *

      Google Trust
      Related Posts

      WHY STELLAR® IS GLOBAL LEADER

      Why Choose Stellar?

      • 0M+

        Customers

      • 0+

        Years of Excellence

      • 0+

        R&D Engineers

      • 0+

        Countries

      • 0+

        PARTNERS

      • 0+

        Awards Received

      BitRaser With 30 Years of Excellence
      Technology You Can Trust
      Data Care Experts since 1993
      ×