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

Page 1 of 4 last Next
  • by macjack,Helpful

    macjack macjack Jul 18, 2012 11:23 AM in response to Victoria Herring
    Level 9 (55,663 points)
    Mac OS X
    Jul 18, 2012 11:23 AM in response to Victoria Herring

    Are you booted from the drive you are trying erase?

  • by Linc Davis,Helpful

    Linc Davis Linc Davis Jul 18, 2012 11:53 AM in response to Victoria Herring
    Level 10 (207,915 points)
    Applications
    Jul 18, 2012 11:53 AM in response to Victoria Herring

    Boot into Recovery (command-R at startup) and erase the volume.

  • by Victoria Herring,

    Victoria Herring Victoria Herring Jul 18, 2012 12:03 PM in response to Linc Davis
    Level 2 (297 points)
    Mac OS X
    Jul 18, 2012 12:03 PM in response to Linc Davis

    No i am not booted into that drive but the idea of the Recovery drive to wipe it sounds good = thanks much.

  • by Victoria Herring,

    Victoria Herring Victoria Herring Jul 18, 2012 12:53 PM in response to Victoria Herring
    Level 2 (297 points)
    Mac OS X
    Jul 18, 2012 12:53 PM in response to Victoria Herring

    Just reporting back that I rebooted into Recovery [held Option key down at startup and chose the Recovery HD] and it did what I needed...thanks much

  • by niccodeamus,Helpful

    niccodeamus niccodeamus Sep 23, 2012 7:58 AM in response to Victoria Herring
    Level 1 (5 points)
    Sep 23, 2012 7:58 AM in response to Victoria Herring

    I realise that you have solved this problem, but I have solved a similar issue differently. 

    It appeared that the external drive would not unmount because some activity was using it.  fsck_hfs process was working away as shown by activity monitor.  It seems that Spotlight was struggling with a the failed drive and would not let it go so the unmount and erase could not occur.

    This was solved by disabling Spotlight (terminal: sudo mdutil -a -i off) temporarily.  After disabling Spotlight, Disk Utility performed its job and my corrupted drive was restored to use.

     

    (Spotlight is turned back on with: sudo mdutil -a -i on)

  • by Kajoneslaw,

    Kajoneslaw Kajoneslaw Jan 8, 2013 7:14 AM in response to niccodeamus
    Level 1 (0 points)
    Jan 8, 2013 7:14 AM in response to niccodeamus

    Thanks that terminal advice was spot on.  I even set a one-on-one session and we could not figure it out.  Thanks!

  • by RichardHuman,

    RichardHuman RichardHuman Mar 24, 2013 8:25 AM in response to niccodeamus
    Level 1 (0 points)
    Mar 24, 2013 8:25 AM in response to niccodeamus

    Made an account to say that was just what I needed to assist with an external drive I was trying to erase.  Thanks niccodeamus!

  • by marcfrombenfleet,

    marcfrombenfleet marcfrombenfleet Jun 30, 2013 7:11 AM in response to niccodeamus
    Level 1 (0 points)
    Jun 30, 2013 7:11 AM in response to niccodeamus

    Logged into my old account to thank niccodeamus, big help! Thought I was going to have to buy a new external!

  • by fineartist99,

    fineartist99 fineartist99 Jul 10, 2013 8:43 AM in response to Victoria Herring
    Level 1 (0 points)
    Jul 10, 2013 8:43 AM in response to Victoria Herring

    I tried the terminal option but I still got this error

     

    Partition failed with the error:

     

     

    Couldn’t unmount disk.

     

    Is my only option to "Boot into Recovery (command-R at startup) and erase the volume." ?

  • by genemachine,

    genemachine genemachine Sep 11, 2013 9:52 AM in response to fineartist99
    Level 1 (0 points)
    Sep 11, 2013 9:52 AM in response to fineartist99

    Had a similar issue, The drive would not unmount in disc utility to be erased, disk warrior could not even see it.

     

    I used the sudo command that niccodeamus suggested, I also forced quit the fsck_hfs process, my drive then began to erase without issue

     

    Thanks

  • by desbrisay,Helpful

    desbrisay desbrisay Oct 3, 2013 9:52 AM in response to Victoria Herring
    Level 1 (5 points)
    Oct 3, 2013 9:52 AM in response to Victoria Herring

    Thanks for the above info!

     

    I had a similar problem, Disk Utility would not erase and reformat my external disc and complained about being unable to erase the external disc.

     

    I tried disabling Spotlight as described above, but that didn't fix the problem.

    I then searched for an fsck process:

     

         ps -ax | grep fsck

     

    and then killed that process:

     

         sudo kill <process number>

     

    Problem solved!  Disk Utility then successfully erased and reformatted the external drive!

     

     

    Many thanks for the clues that led me to this solution!

  • by robot3021,

    robot3021 robot3021 Nov 19, 2013 9:11 AM in response to desbrisay
    Level 1 (0 points)
    Nov 19, 2013 9:11 AM in response to desbrisay

    excellent advice desbrisay when combined with what niccodeamus suggested. Was about ready to thromw WD My Book Studio through the window until I found this (My Book failed to unmount when erasing or partitioning)

  • by taramaple,

    taramaple taramaple Dec 22, 2013 9:50 AM in response to desbrisay
    Level 1 (0 points)
    Dec 22, 2013 9:50 AM in response to desbrisay

    Thanks so much this worked!!!

  • by eplt@odw,Helpful

    eplt@odw eplt@odw Dec 27, 2013 10:51 PM in response to taramaple
    Level 1 (9 points)
    Dec 27, 2013 10:51 PM in response to taramaple

    I had similar problem, can't unmount easily.

     

    Ending up connecting the disk as a target disk (holding T key on startup) connected to another Mac.

     

    Then using terminal, used the following commands to force unmount disk and erase the disk after.

     

    To check for the exact name of the disk:

    sudo diskutil list

    (you will see the list of drives/partitions, take note of which one is the one you are trying to unmount/format, should be something like /dev/disk<number>)

     

    Then to force unmount disk:

    sudo diskutil unmountDisk force /dev/disk<number>

     

    You should get a response to the success or failure to the unmount command.

     

    Then if you want to format force format the disk:

    sudo diskutil erasedisk JHFS+ Untitled /dev/disk<number>

Page 1 of 4 last Next