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
link|improve this question
feedback

migrated from serverfault.com Aug 7 '10 at 7:10

This question came from our site for system administrators and desktop support professionals.

1 Answer

Do a disk check in Disk Utility to see if the volume is damaged, which I guess is the case.

link|improve this answer
I have tried to verify disk with : diskutil verifyVolume /dev/disk0s2 it went fine. Also, diskutil info disk0s2 gives: Total Size: 319.6 GB (319594762240 Bytes) Volume Free Space: 138.4 GB (138431852544 Bytes) ... Whole: No Internal: Yes what does " Whole no " mean? – leo Aug 5 '10 at 14:22
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.