Victoria Herring

Q: Using Disk Utility to Erase Disk-won't unmount

I have a MacPro and 4 drives inside it, one of which I need/want to erase.  I have backed it  up and using DU tried to erase it = by both highlighting the drive identifier and the name - in both cases, whether I try to erase disk or set it to erase to one partition, I get a message saying it can't do it because it can't unmount the disk.

 

I backed up my startup drive to this drive so I could wipe and reinstall OSX on my new SU drive but now I can't delete items off the backup drive [the one I want to erase] because the message says I can't delete backup items.  And I can't erase the drive to get a brand new drive to work with.

 

I don't need the old SU material on this drive, it was just a way to be sure I had it before using Migration Asst to reinstall the SU on the new SU drive = I used SuperDuper to clone the old SU onto this drive - then I used Migration Asst to move the stuff back to the new startup drive = but now I want to EITHER get rid of the system files and apps [no need for those = I don't min

Mac OS X (10.7.4), iPad and iPhone4

Posted on Jul 18, 2012 11:16 AM

Close

Q: Using Disk Utility to Erase Disk-won't unmount

  • All replies
  • Helpful answers

Previous Page 2 of 4 last Next
  • by heydesign,Helpful

    heydesign heydesign Jan 7, 2014 10:54 PM in response to eplt@odw
    Level 1 (9 points)
    Mac OS X
    Jan 7, 2014 10:54 PM in response to eplt@odw

    I tried turning off indexing via terminal unsuccessfully but eplt@odw's Force Unmount worked perfectly.

     

    Background:

    I boot my imac from an external SSD and use the original, internal hard disk to clone a backup to. My partitions needed resizing so I had to erase and repartition. During this process the disk wouldn't unmount,

     

    All good now though. Thanks for your post eplt@odw

  • by larshaeuser,

    larshaeuser larshaeuser Jan 15, 2014 12:29 AM in response to desbrisay
    Level 1 (0 points)
    Jan 15, 2014 12:29 AM in response to desbrisay

    ps -ax | grep fsck

     

    and then killed that process:

     

         sudo kill <process number>

     

    That solved the problem.

    Thanks.

  • by alex.zatman,

    alex.zatman alex.zatman Jan 24, 2014 11:21 AM in response to larshaeuser
    Level 1 (0 points)
    Jan 24, 2014 11:21 AM in response to larshaeuser

    I've tried all of these suggestions and nothing is working. Still saying can't unmount disk - at a dead end, any ideas?

  • by klmfvej ,

    klmfvej klmfvej Feb 2, 2014 8:17 PM in response to alex.zatman
    Level 1 (0 points)
    Feb 2, 2014 8:17 PM in response to alex.zatman

    I had a volume named W for Western Digital etc... wanted to erase it to give to my father to use as his Time Machine backup. It wouldn't unmount directly when trying to 0 out data, it was because I had Quicktime open and had been playing a video stored on the HD going to be erased. I closed the Quicktime app and directly unmounted the volume, then highlighted the drive once again and it erased the data as desired. Sometimes things don't go so smoothly but it can be a simple oversight sometimes as well.

  • by ryanzamarripa,

    ryanzamarripa ryanzamarripa Mar 29, 2014 10:17 AM in response to Victoria Herring
    Level 1 (0 points)
    Mar 29, 2014 10:17 AM in response to Victoria Herring

    Great thread, I was about to burn my external harddrive!

  • by Garnet_Clark,

    Garnet_Clark Garnet_Clark Apr 14, 2014 7:44 AM in response to eplt@odw
    Level 1 (0 points)
    Apr 14, 2014 7:44 AM in response to eplt@odw

    Worked perfectly!

     

    THANKS!

  • by philbone,

    philbone philbone Apr 21, 2014 8:16 PM in response to desbrisay
    Level 1 (0 points)
    Apr 21, 2014 8:16 PM in response to desbrisay

    Another option for anyone having to deal with an internal drive that will not erase or partition, giving the message that the erase failed because it "Could not open Device"

     

    This happens to me when I try to wipe and install a fresh OS on any internal HD using a (Mavericks) installer on a bootable external drive.

     

    Try connecting the Computer in question to a functional Mac with a firewire cable. Boot up the faulty computer in Target Disk Mode (hold down the "T" key) and it should show up on the functional Mac with the message that the disk is unreadable.  Go to Disk Utility and it will now allow you to erase and then partition with 1 GUID partition. (Make sure you are erasing the correct drive !!)

     

    Now unmount the target computer, shut it down and then restart holding down the option key to select the bootable external from which you can now re-install the new OS!

     

    Works each time for me!

     

    PS

  • by Coluch,

    Coluch Coluch Jun 10, 2014 9:22 PM in response to philbone
    Level 1 (4 points)
    Jun 10, 2014 9:22 PM in response to philbone

    THE EASIEST WAY TO UNMOUNT:

     

    Simply use Disk Utility to "Force Unmount".  You do this by selecting the partition in the left pane, and OPTION+CLICKING the "Unmount" button.  Once you have done this, you can format the entire Volume.

     

    I hope this helps someone else, as I struggled with this for a few hours. I then remembered that the OPTION key on Mac OS is a frequent ticket to awesome features.

  • by sidste,

    sidste sidste Jul 5, 2014 3:11 PM in response to Victoria Herring
    Level 1 (0 points)
    Jul 5, 2014 3:11 PM in response to Victoria Herring

    I just had this problem and tried everything.

     

    Here is what finally worked - I connected the external drive to a PC and did a quick reformat, then plugged it back into my mac and was finally able to erase it and format it in Mac OS Extended.

  • by f30_Vincent,

    f30_Vincent f30_Vincent Aug 16, 2014 8:18 PM in response to niccodeamus
    Level 1 (0 points)
    Aug 16, 2014 8:18 PM in response to niccodeamus

    Thanks niccodemus! Terminal option to temporarily disable Spotlight was just what I needed; worked like a charm.

  • by leon-geyer,

    leon-geyer leon-geyer Aug 31, 2014 9:02 AM in response to f30_Vincent
    Level 1 (21 points)
    iPhone
    Aug 31, 2014 9:02 AM in response to f30_Vincent

    Don't know if this works out, in my case it did, and it is quite simpler for people not customed to use terminal, or people uneasy with using sudo, or simply, like me, people who don't have a password in their daily user account:

    my solution to "can't unmount" was to put the disk in Spotlight of the accessing Mac into the Private Sphere of Spotlight preferences, so the background indexing did not avoid the unmount. Worked out with a MBP in target mode.

    Put if that fails, for sure the terminal will sort it out

  • by hazbroseph,

    hazbroseph hazbroseph Sep 9, 2014 12:36 AM in response to Victoria Herring
    Level 1 (0 points)
    Sep 9, 2014 12:36 AM in response to Victoria Herring

    http://www.mactrast.com/2012/07/quick-tip-force-a-disk-to-unmount-in-os-x/

     

    "The easiest and safest way to force a volume to eject is to open a new Finder window, locate the drive or volume in the left-hand column, right-click or option-click the volume, and select Eject “[Volume Name]” in the drop down menu."

  • by gdiaz59,

    gdiaz59 gdiaz59 Sep 16, 2014 11:42 AM in response to niccodeamus
    Level 1 (0 points)
    Sep 16, 2014 11:42 AM in response to niccodeamus

    That did it for me, thanks niccodeamus.

    I have a FreeAgent Goflex Seagate 3Tb Drive with thunderbolt cable which suddenly stopped working, Disk Utility was able to see it but could not unmount it resulting in not being able to repair or format disk. Here's the solution.

     

    1- sudo mdutil -a -i off

    2- Force Quit process fsck_hdfs from the activity Monitor

    3- Immediately Erase Disk in Disk Utility (before fsck_hdfs starts again).

     

    That's why the disk couldn't be unmounted because it was in use by spotlight indexing for some weird reason.

  • by landed.at,

    landed.at landed.at Oct 19, 2014 1:15 PM in response to niccodeamus
    Level 1 (9 points)
    Notebooks
    Oct 19, 2014 1:15 PM in response to niccodeamus

    thanks nicco this helped and I am not sure if it was your command or going into the activity monitor and force quitting the fcsk thingy that starts when the disk utility fails as I tried a combo and both together allowed the format to happen without leaving the OSX environment.


    After a long time on forums trying to recover a WD external drive I need to re-***** my backup strategy. I could imagine many non or less savy people thinking their files are lost and worse getting charged by people and still not getting their precious files back. I guess the cloud fits these people best - but really large backups of things over the cloud just seems too big to be handled.

  • by dana 刀,

    dana 刀 dana 刀 Nov 27, 2014 6:56 AM in response to desbrisay
    Level 1 (0 points)
    Nov 27, 2014 6:56 AM in response to desbrisay

    Somehow i missed the tip about running ps ax |grep fsck when looking earlier.

     

    But after the various permutations of diskutil unmountDisk failed, i finally got to the point of realizing that fsck_hfs was permanently running.

    Another option is pkill:

     

    sudo pkill fsck_hfs

     

    (It's better to run ps ax and make sure you are killing the right one, but ...)

     

    Just because it took understanding what was going on to click:   When one plugs in an external drive, fsck_hfs is run on that drive.

    With some special drives in a bad state, fsck_hfs loops over and over trying to fix the drive.

     

    This leaves the drive unmounted, but also in use and not ejectable, writable, dd-able, etc.

     

    The annoying part is that you can run fsck_hfs on the /dev/rdisk# more than once at the same time.  So Disk Utility will try to repair the drive.  Even if you boot into Recovery Mode, this happens.  And you can try to run fsck_hfs there and it will run.

     

    But, if run with the right parameters, it will be stuck in the same loop.  (Which i did, which helped me realize how the disk was stuck in the state it was.)

Previous Page 2 of 4 last Next