Mac OS missing disk space

Joined
Aug 5, 2010
Messages
4
Reaction score
0
Points
1
In boot camp, it only see partition size to be 149G while disk utility shows only one partition with size 320G.

Why diskutil and df gives me different sizes? Also how can i fix it?

thanks

df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/disk0s2 **149Gi 20Gi 129Gi 14% /**
devfs 110Ki 110Ki 0Bi 100% /dev
map -hosts 0Bi 0Bi 0Bi 100% /net
map auto_home 0Bi 0Bi 0Bi 100% /home

and

diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme ***320.1 GB disk0**
1: EFI 209.7 MB disk0s1
2: Apple_HFS Mac HD 319.6 GB disk0s2
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,770
Reaction score
2,110
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
df is showing you the size of the mounted partitions, diskutil it showing you the size of the entire drive. If you didn't have bootcamp and had used the entire drive for OS X, then df and diskutil would agree on the size..

Regards
 
OP
R
Joined
Aug 5, 2010
Messages
4
Reaction score
0
Points
1
So How can i check and mount all spaces. Any command line or GUI tool like gparted in linux in Mac world?
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,770
Reaction score
2,110
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
First explain how your Mac is setup? You mention Boot Camp in your original post, so do you have it installed and Windows installed in the Boot Camp partition? If so that area will not be mounted in Mac, just like the Mac partition(s) will not available while booted into Windows..

Regards
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top