Unable to Delete Core Storage Logical Volume

inhalexhale1

macrumors 65816
Original poster
Jul 17, 2011
1,038
685
PA
When I try to erase the hard drive from disk utility, after pressing command-option-R on boot, I'm getting the error...

"unable to delete the core storage logical volume"

...and then it won't erase. Any ideas?
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
30,554
10,349
California
Go back to recovery and in the Utilities menu up top open Terminal. Then enter the command below exactly like I have it. This is assuming your main volume is the default Macintosh HD. That will kill the core storage (CS) volume then you can use Disk Utility to format normally.

Code:
diskutil cs delete "Macintosh HD"
 

inhalexhale1

macrumors 65816
Original poster
Jul 17, 2011
1,038
685
PA
Go back to recovery and in the Utilities menu up top open Terminal. Then enter the command below exactly like I have it. This is assuming your main volume is the default Macintosh HD. That will kill the core storage (CS) volume then you can use Disk Utility to format normally.

Code:
diskutil cs delete "Macintosh HD"
Awesome, thanks! After deleting, is there a way to bring them back together into a fusion drive? They are separate now.
 

keysofanxiety

macrumors G3
Nov 23, 2011
9,534
25,262
Awesome, thanks! After deleting, is there a way to bring them back together into a fusion drive? They are separate now.
This worked before. Hoping it'll work for you here.

Open Terminal. Type in:

diskutil coreStorage create ‘Macintosh HD’ /dev/disk0 /dev/disk1

Once that's done, Terminal will show a 'Core Storage LVG UUID'. It will be alphanumeric, and visible just above 'Finished CoreStorage Operation'. Basically it's the penultimate line visible. Highlight this UUID and copy it.

Then type in diskutil coreStorage createVolume xxxxxx JHFS+ "Macintosh HD" and press Enter.

Where it says 'xxxx', that is where you paste in the Core Storage UUID instead. This should then create a new volume called Macintosh HD which should be visible in Disk Utility.

Then try reinstall OS X to that?
 
  • Like
Reactions: Weaselboy

inhalexhale1

macrumors 65816
Original poster
Jul 17, 2011
1,038
685
PA
Thanks guys, I got it to work with your recommendations. To anyone having a similar issue, follow the steps in this thread. The first step will break apart the fusion drive. You can then erase each (SSD and HDD) separately, and either recombine them or use them as separate drives. If you want to use it as a fusion drive, make sure to follow the steps outlined before reinstalling OSX.

Thanks again!
 
  • Like
Reactions: Weaselboy

looking4anotebo

macrumors 6502
Jul 9, 2007
294
30
This worked before. Hoping it'll work for you here.

Open Terminal. Type in:

diskutil coreStorage create ‘Macintosh HD’ /dev/disk0 /dev/disk1

Once that's done, Terminal will show a 'Core Storage LVG UUID'. It will be alphanumeric, and visible just above 'Finished CoreStorage Operation'. Basically it's the penultimate line visible. Highlight this UUID and copy it.

Then type in diskutil coreStorage createVolume xxxxxx JHFS+ "Macintosh HD" and press Enter.

Where it says 'xxxx', that is where you paste in the Core Storage UUID instead. This should then create a new volume called Macintosh HD which should be visible in Disk Utility.

Then try reinstall OS X to that?

I followed the instructions in this thread and somehow ended up with just the "Fusion Drive" in disk utility. No Macintosh HD and when I click on partition nothing happens? Any ideas how to fix this?
 

holdini

macrumors newbie
Oct 12, 2017
1
0
I followed the instructions in this thread and somehow ended up with just the "Fusion Drive" in disk utility. No Macintosh HD and when I click on partition nothing happens? Any ideas how to fix this?
I had to enter as such and it’s now working for me

diskutil coreStorage createVolume S87D6F8F-D9WJ-8AD9-SD88-VU89JI4FUI09 jhfs+ "Macintosh HD" 100%

Hope that helps!
 

George Dawes

macrumors 6502a
Jul 17, 2014
917
724
=VH=
I’m getting the same issue

I didn’t buy a Mac for all this unix stuff , thus is the last OS X mac im ever buying , I’m going full ios from now , shame as I’ve been using macs since the early 90s

Don’t get any of this rubbish when I’m using my iPad and iPhone

The current Mac hardware and software is utter garbage , Apple obviously put all their efforts into what makes them money

And it certainly ain’t the Mac

Very disillusioned
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.