9 Replies Latest reply: Jan 20, 2013 9:16 PM by den.thed
Oli0157 Level 1 (0 points)

Hi, I'm running OS X Mountain Lion on a Late 2009 iMac. Over the last few days, I have noticed that something has gone horribily wrong with my internal hard disk. The free space on my drive, instead of being at the bottom of the table, is at the top.

Screen Shot 2013-01-20 at 10.37.56 PM.png

I've got no idea how I managed to do this, but I was wondering if anyone knew how to fix it. Running

$ sudo gpt -r -vv show disk0



gpt show: disk0: mediasize=1000204886016; sectorsize=512; blocks=1953525168

gpt show: disk0: PMBR at sector 0

gpt show: disk0: Pri GPT at sector 1

gpt show: disk0: Sec GPT at sector 1953525167

       start        size  index  contents

           0           1         PMBR

           1           1         Pri GPT header

           2          32         Pri GPT table

          34           6        

          40      409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

      409640  1241064104        

  1241473744   710781848      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC

  1952255592     1269536      3  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

  1953525128           7        

  1953525135          32         Sec GPT table

  1953525167           1         Sec GPT header


$ sudo diskutil list




   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *1.0 TB     disk0

   1:                        EFI                         209.7 MB   disk0s1

   2:                  Apple_HFS Lion Client             363.9 GB   disk0s3

   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s4

Any help would be appreciated. Thanks

Late 2009 27, Mac OS X (10.7), Core i5
  • BDAqua Level 10 (122,202 points)



    First question that comes to my mind is the 512 Byte Sectors, anyway you can find out if that drive might really have Advanced Format 4096 Byte Sectors?


    (Reaching for an explanation! )

  • Oli0157 Level 1 (0 points)

    Thanks for your reply . Nope, the sector size is 512. Here's some info about the disk:


    Disk /dev/disk0: 1953525168 sectors, 931.5 GiB

    Logical sector size: 512 bytes

    Disk identifier (GUID): 00003478-1AD7-0000-B551-000097690000

    Partition table holds up to 128 entries

    First usable sector is 34, last usable sector is 1953525134

    Partitions will be aligned on 8-sector boundaries

    Total free space is 1241064117 sectors (591.8 GiB)



    Number  Start (sector)    End (sector)  Size       Code  Name

       1              40          409639   200.0 MiB   EF00  EFI system partition

       2      1241473744      1952255591   338.9 GiB   AF00  Lion Client

       3      1952255592      1953525127   619.9 MiB   AB00  Recovery HD


  • BDAqua Level 10 (122,202 points)

    If you highlight that top empty partition, can you resize it to say zero?

  • Oli0157 Level 1 (0 points)

    No, it's greyed out.

    Screen Shot 2013-01-21 at 12.23.58 PM.png

  • BDAqua Level 10 (122,202 points)

    Did you original Format it for that Free Space?


    Did you maybe Sector clone from a smaller drive to this one?


    Can you highlight your Lion Client & expabd it to the Frre Space?

  • Oli0157 Level 1 (0 points)

    No to all three. I can only expand or shirk the partition downwards, which is why the free space being at the top is so annoying. I think the problem may have started when my bootcamp partition screwed up a while ago.

  • den.thed Level 7 (25,965 points)

    You need to clone everything to an External HD using CarbonCopyCloner or Disk Utility, then erase and return the Internal Hard Drive to 1 Partition. Then clone back from the External Hard Drive using CarbonCopyCloner or optionally reinstall OS X and migrate back from the External Hard Drive using the setup assistant.

  • Oli0157 Level 1 (0 points)

    I thought that would be the case, I just wanted to know if there were a way to fix it without formatting the drive. Ah well . Thanks.

  • den.thed Level 7 (25,965 points)

    iPartition at $47 might be the ticket, although I've never used it or would without the aforementioned Backup just to be safe.