Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Lost hard drive space after failed boot camp partition

Hey all, I have a 2015 MacBook pro with (what should be) a 250GB hard drive. About 4 years ago I installed windows via bootcamp with an 80GB partition. The windows operating system crashed during my freshman year of college (2017 at some point in time) and so I deleted the partition, but the problem is the memory was never de-allocated and now seems to just be lost. My MacBook thinks it has 170 GB, even in recovery mode disk utility. I want to re-install macOS onto my computer and factory reset it (I am graduating and just want to completely clean the remainder of school mess off and just start fresh) but I was hoping someone could help me get that 80 GB back before I do. Im assuming if theres any hope it will be using the terminal in recovery mode, but I am far from an expert and don't want to render this computer useless.

MacBook

Posted on Dec 4, 2020 3:56 PM

Reply
Question marked as Best reply

Posted on Dec 5, 2020 8:43 AM

dflow21 wrote:


Growing APFS Physical Store disk0s2 from 170,002,460,672 to 250,790,436,864 bytes
Modifying partition map
Growing APFS data structures
Finished APFS operation

It appears as if that could have potentially solved the problem?

It did solve the problem. See the highlighted part. You should have full disk space back in the APS container.

Similar questions

7 replies
Question marked as Best reply

Dec 5, 2020 8:43 AM in response to dflow21

dflow21 wrote:


Growing APFS Physical Store disk0s2 from 170,002,460,672 to 250,790,436,864 bytes
Modifying partition map
Growing APFS data structures
Finished APFS operation

It appears as if that could have potentially solved the problem?

It did solve the problem. See the highlighted part. You should have full disk space back in the APS container.

Dec 5, 2020 8:08 AM in response to Loner T

Devons-MacBook-Pro:personal_website_draft_1 dflow$ diskutil list

/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *251.0 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_APFS Container disk1 170.0 GB disk0s2


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +170.0 GB disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 11.1 GB disk1s1

2: APFS Volume Preboot 82.3 MB disk1s2

3: APFS Volume Recovery 529.0 MB disk1s3

4: APFS Volume VM 3.2 GB disk1s4

5: APFS Volume Macintosh HD - Data 28.6 GB disk1s5


Devons-MacBook-Pro:personal_website_draft_1 dflow$


This is after a fresh install of osx, recognizes that the flash drive is 251 gb but I still only have 170 available to me. The OS is included in that 170.

Dec 5, 2020 8:36 AM in response to Loner T

Devons-MacBook-Pro:personal_website_draft_1 dflow$ diskutil apfs resizeContainer disk1 0g

Started APFS operation

Aligning grow delta to 80,787,976,192 bytes and targeting a new physical store size of 250,790,436,864 bytes

Determined the maximum size for the targeted physical store of this APFS Container to be 250,789,408,768 bytes

Resizing APFS Container designated by APFS Container Reference disk1

The specific APFS Physical Store being resized is disk0s2

Verifying storage system

Using live mode

Performing fsck_apfs -n -x -l -S /dev/disk0s2

Checking the container superblock

Checking the EFI jumpstart record

Checking the space manager

Checking the space manager free queue trees

Checking the object map

Checking volume

Checking the APFS volume superblock

The volume Macintosh HD was formatted by diskmanagementd (1412.141.1) and last modified by apfs_kext (1412.141.1)

Checking the object map

Checking the snapshot metadata tree

Checking the snapshot metadata

Checking the extent ref tree

Checking the fsroot tree

Checking volume

Checking the APFS volume superblock

The volume Preboot was formatted by newfs_apfs (748.21.6) and last modified by apfs_kext (1412.141.1)

Checking the object map

Checking the snapshot metadata tree

Checking the snapshot metadata

Checking the extent ref tree

Checking the fsroot tree

Checking volume

Checking the APFS volume superblock

The volume Recovery was formatted by newfs_apfs (748.21.6) and last modified by apfs_kext (1412.141.1)

Checking the object map

Checking the snapshot metadata tree

Checking the snapshot metadata

Checking the extent ref tree

Checking the fsroot tree

Checking volume

Checking the APFS volume superblock

The volume VM was formatted by newfs_apfs (748.21.6) and last modified by apfs_kext (1412.141.1)

Checking the object map

Checking the snapshot metadata tree

Checking the snapshot metadata

Checking the extent ref tree

Checking the fsroot tree

Checking volume

Checking the APFS volume superblock

The volume Macintosh HD - Data was formatted by diskmanagementd (1412.141.1) and last modified by apfs_kext (1412.141.1)

Checking the object map

Checking the snapshot metadata tree

Checking the snapshot metadata

Checking the extent ref tree

Checking the fsroot tree

Verifying allocated space

The volume /dev/disk0s2 appears to be OK

Storage system check exit code is 0

Growing APFS Physical Store disk0s2 from 170,002,460,672 to 250,790,436,864 bytes

Modifying partition map

Growing APFS data structures

Finished APFS operation


It appears as if that could have potentially solved the problem?

Lost hard drive space after failed boot camp partition

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.