Lost space after removing bootcamp
iMac with Retina 5K display, macOS High Sierra (10.13.3), null
iMac with Retina 5K display, macOS High Sierra (10.13.3), null
Please see How to fix a split Fusion Drive - Apple Support. You will first need to erase both disks in the Internet Recovery using
diskutil eraseDisk disk0
diskutil eraseDisk disk1
Assuming disk0 and disk1 are the two internal disks. Any disk which is an image is part of the Internet Recovery and does not need to be erased/unmounted.
Please see How to fix a split Fusion Drive - Apple Support. You will first need to erase both disks in the Internet Recovery using
diskutil eraseDisk disk0
diskutil eraseDisk disk1
Assuming disk0 and disk1 are the two internal disks. Any disk which is an image is part of the Internet Recovery and does not need to be erased/unmounted.
Notice that disk0s3 (Recovery HD) is 170GB. It should be only about 650MB. Do you have a Time Machine backup of macOS? If not, can you create one now? We need to rebuild your Fusion drive and then restore from a TM backup.
Boot into Internet Recovery, click on Utilities -> Terminal, and run
diskutil list
Select and Copy (Command+C) the output, quit Terminal, start Safari (Get Help Online), and Paste (Command+V) the output as a reply to this discussion.
Also see Can't use partition after deleting Bootcamp .
The eraseDisk commands should be
diskutil eraseDisk jhfs+ SSD disk0
diskutil eraseDisk jhfs+ HDD disk1
Please ensure that disk1 is is your HDD.
You will need to rebuild and restore your backup. In Internet Recovery, check which disk is SSD, it should be smaller in size. It should be first in the diskutil cs create command.
Unfortunately, there is not way to change it after macOS is installed. After you rebuild the CS LV/LVG, run
diskutil list
diskutil cs list
Select and Copy(Command+C) the session output, quit Terminal, start Safari (Get Help Online), and Paste (Command+V) the output as a reply to this discussion. This will help us verify the CS before you start the Restore.
Are you booted in Local Recovery (Command+R during boot) or Internet Recovery (Command+Opt+R during boot)? You cannot erase the internal disks, if booted in Local Recovery.
Did you get back your full disk space? Please ensure that diskutil cs list shows the smaller SSD at index 0.
When you run diskutil cs create command, the first disk slice (diskNs2) where N is usually zero for the SSD, the command should be
diskutil cs create "OSX-LVG" disk0s2 disk1s2
In this example,
Thank you for the answer!
Yes i have a back up! What i have to do? I'm in the recovery mode in utility disk, but i can only delete the part inside 'MACINTOSH HD'
I tried, but the terminal says that's i cannot erase the boot disk
I tried both, but it doesn't work
It's like it explains the meaning of that's command. The usage and the examples, but it seems like it doesn't work
Ok, i did it following the instruction in the link you sent me and in the other replies. Thank you very much 😊😊😊
I checked it today. I found that the index of SSD is 1. What i have to do with?
Is there a possibility to do it after reinstalling everything on Mac?
Lost space after removing bootcamp