Jonnyreading

Q: 80gb of HD space disappeared after partitioning

So today i Followed the apple Bootcamp Assistant Help page to install a windows partition on my mac. Windows did not install, and when i attempted to restart using the alt key, there was only a mac hard drive. when i went into about my mac, i found this, which did not workScreen Shot 2015-11-10 at 17.24.06.png

I then went into boot camp, and clicked restore partition, which then gave a pop up that said partition could not be restored, and so i returned to about this mac, to find this

Screen Shot 2015-11-10 at 17.44.30.png

that was the only disk partition, this is 80 gb less than what it should have been. I have tried restarting in various ways, still nothing, I've trawled the web, and cannot find anything, so if anyone would be able to help, it would be much appreciated

 

I am using a 15' mac book pro, 2015, 2.2ghz, 16gb ram, 250 gb storage

 

 

Kindest,

Jonny

MacBook Pro with Retina display, OS X El Capitan (10.11.1)

Posted on Nov 10, 2015 9:57 AM

Close

Q: 80gb of HD space disappeared after partitioning

  • All replies
  • Helpful answers

Previous Page 2
  • by Loner T,

    Loner T Loner T Nov 12, 2015 1:29 PM in response to Jonnyreading
    Level 7 (23,903 points)
    Safari
    Nov 12, 2015 1:29 PM in response to Jonnyreading

    Yes, if the HD is directly connected to the Mac and formatted appropriately for TM to use as a backup disk.

  • by Jonnyreading,

    Jonnyreading Jonnyreading Nov 12, 2015 1:34 PM in response to Loner T
    Level 1 (4 points)
    Mac OS X
    Nov 12, 2015 1:34 PM in response to Loner T

    oh, i thought it had to be one of the air port devices, and will that back up every single file that is on my OSX partition?

  • by Loner T,

    Loner T Loner T Nov 12, 2015 1:41 PM in response to Jonnyreading
    Level 7 (23,903 points)
    Safari
    Nov 12, 2015 1:41 PM in response to Jonnyreading

    Yes, it will, as long as the TM drive is larger than your internal disk.

     

    Please see Backup disks you can use with Time Machine - Apple Support and Use Time Machine to back up or restore your Mac - Apple Support .

  • by Jonnyreading,

    Jonnyreading Jonnyreading Nov 12, 2015 1:54 PM in response to Loner T
    Level 1 (4 points)
    Mac OS X
    Nov 12, 2015 1:54 PM in response to Loner T

    Im really sorry that I've led you on a wild goose chase, so, if i back everything up to an external hard drive, wipe my mac, and restore everything, it should in theory work? and this would keep all my preferences, such as desktop, and custom folder icons?

  • by Loner T,

    Loner T Loner T Nov 12, 2015 2:03 PM in response to Jonnyreading
    Level 7 (23,903 points)
    Safari
    Nov 12, 2015 2:03 PM in response to Jonnyreading

    No worries. . Please ensure you have about 150-200GB in a partition formatted as MAC OSX Extended Journaled.

  • by Lorenz_MC,

    Lorenz_MC Lorenz_MC Nov 12, 2015 3:09 PM in response to Jonnyreading
    Level 1 (0 points)
    Nov 12, 2015 3:09 PM in response to Jonnyreading

    Had the same issue just fixed it without having to restore everything. The trick is use in terminal: diskutil resizevolume disk0s2 R

    Before doing this you might need to get root privileges: sudo -v

    Enter your password and just then after: diskutil resizevolume disk0s2 R


    (R stands to the size of the drive at its fullest without having you to type 512.xx gb etc)

  • by Loner T,

    Loner T Loner T Nov 12, 2015 3:36 PM in response to Lorenz_MC
    Level 7 (23,903 points)
    Safari
    Nov 12, 2015 3:36 PM in response to Lorenz_MC

    Did you have Free Space in the LVG? Did you have a CS volume/volume group?

  • by Lorenz_MC,

    Lorenz_MC Lorenz_MC Nov 12, 2015 3:38 PM in response to Loner T
    Level 1 (0 points)
    Nov 12, 2015 3:38 PM in response to Loner T

    I have a Macbook Pro Retina mounting 512gb SSD. Had two partitions: Mac (400gb) and Windows 8.1 the rest.

    Today I wanted to update to 10 with clean installation. I deleted the partition but that space was not added up to my main partition.

     

    Therefore it was vacant and could not use it in any way. Tried several methods only that worked was the one I described above.

    I had about 30gb free at the moment of the operation plus 100gb that would not show up anywhere!! Disk Utility would show only one 400gb partition and the remaining 100 were free but in some mysterious location.

     

    sudo -v

    yourpasswordhere

    diskutil resizevolume disk0s2 R


    for a better understanding of how resizeVolume works only type diskutil resizeVolume on terminal

  • by Loner T,

    Loner T Loner T Nov 12, 2015 3:46 PM in response to Lorenz_MC
    Level 7 (23,903 points)
    Safari
    Nov 12, 2015 3:46 PM in response to Lorenz_MC

    Can you post the output of diskutil cs list and GPT from your Mac?

     

    diskutil resizeVolume

    Usage:  diskutil resizeVolume MountPoint|DiskIdentifier|DeviceNode size

            [part1Format part1Name part1Size part2Format part2Name part2Size

             part3Format part3Name part3Size ...]

     

    Non-destructively resize a disk.  You may increase or decrease its size.

     

    When decreasing size, you may optionally specify new partitions to create

    to fill the newly-freed space.  Specify these new partitions as in the

    diskutil partitionDisk command.  A size of zero will cause a grow fit-to-fill.

    Ownership of the affected disk is required.

     

    Valid sizes are floating-point numbers with a suffix of B(ytes), S(512-byte-

    blocks), K(ilobytes), M(egabytes), G(igabytes), T(erabytes), P(etabytes),

    or (%)percentage of the total size of the whole disk.

     

    A size of "limits" will print the valid range for the current conditions of

    the file system and room to grow up to an immovable object (next partition).

     

    A size of "R" for the target partition will resize it to the maximum

    possible; "R" cannot be used for the size of new partition triples, if any.

     

    resizeVolume is only supported on a Journaled HFS+ file system.

     

    diskutil cs resizeVolume

    Usage:  diskutil coreStorage resizeVolume

            lvUUID|MountPoint|DiskIdentifier|DeviceNode size

    Resize a logical volume, which is one of one or more disks that consume storage

    out of a logical volume group. The logical volume group will have more or less

    available space after this operation, if it was a shrink or grow, respectively.

    Example: diskutil coreStorage resizeVolume

             11111111-2222-3333-4444-555555555555 10g

     

    diskutil resizeVolume disk0s2 limits

    For device disk0s2 Macintosh HD:

            Current size:  741.7 GB (741695819776 Bytes)

            Minimum size:  690.4 GB (690367602688 Bytes)

            Maximum size:  741.7 GB (741695819776 Bytes)

  • by Lorenz_MC,

    Lorenz_MC Lorenz_MC Nov 12, 2015 3:59 PM in response to Loner T
    Level 1 (0 points)
    Nov 12, 2015 3:59 PM in response to Loner T

    Screen.png

     

    First of all I had unlocked the vault.

    Then tried on disk utility, recovery, bootcamp nothing worked. Then moved over terminal tried some other ways this was the only effective one.

    After running resize just did diskutil list and everything is fine now! Properly resized. Did not reboot as I have some processes going on in fact on Disk utility still says: hard drive disk0 500gb and disk0s2 400 while on terminal or Cmd+I on Mac HD it says 499 GB and correct empty space! Hope to have been helpful here.

  • by Loner T,

    Loner T Loner T Nov 12, 2015 5:26 PM in response to Lorenz_MC
    Level 7 (23,903 points)
    Safari
    Nov 12, 2015 5:26 PM in response to Lorenz_MC

    Thanks for posting the details Lorenz_MC. Very helpful.

     

    When you have Free Space and a JHFS+ volume it works as expected. If there is a trailing volume, the resize will get maximized to available till it hits next partition. In case of CoreStorage, the volume needs to be reverted back to JHFS+ to make it work.

     

    :~ $ diskutil list

    /dev/disk0

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *500.1 GB   disk0

       1:                        EFI EFI                     209.7 MB   disk0s1

       2:                  Apple_HFS MacHD                   499.8 GB   disk0s2

    :~ $ diskutil list

    /dev/disk0

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *500.1 GB   disk0

       1:                        EFI EFI                     209.7 MB   disk0s1

       2:                  Apple_HFS MacHD                   439.8 GB   disk0s2

       3:                  Apple_HFS JHFS2                   59.9 GB    disk0s3

    :~ $ diskutil resizeVolume disk0s2 limits

    For device disk0s2 MacHD:

            Current size:  439.8 GB (439763886080 Bytes)

            Minimum size:  69.7 GB (69709271040 Bytes)

            Maximum size:  439.8 GB (439763886080 Bytes)

    :~ $ diskutil eraseVolume free MyFree disk0s3

    Started erase on disk0s3 JHFS2

    Unmounting disk

    Error: 2: POSIX reports: No such file or directory

    :~ $ diskutil resizeVolume disk0s2 limits

    For device disk0s2 MacHD:

            Current size:  439.8 GB (439763886080 Bytes)

            Minimum size:  69.7 GB (69707804672 Bytes)

            Maximum size:  499.8 GB (499763888128 Bytes)

    :~ $ sudo gpt -vv -r show disk0

    Password:

    gpt show: disk0: mediasize=500107862016; sectorsize=512; blocks=976773168

    gpt show: disk0: PMBR at sector 0

    gpt show: disk0: Pri GPT at sector 1

    gpt show: disk0: Sec GPT at sector 976773167

          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  858913840      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC

      859323480  117449655        

      976773135         32         Sec GPT table

      976773167          1         Sec GPT header

    :~ $ diskutil list

    /dev/disk0

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *500.1 GB   disk0

       1:                        EFI EFI                     209.7 MB   disk0s1

       2:                  Apple_HFS MacHD                   439.8 GB   disk0s2

    :~ $ diskutil resizeVolume disk0s2 limits

    For device disk0s2 MacHD:

            Current size:  439.8 GB (439763886080 Bytes)

            Minimum size:  69.4 GB (69406040064 Bytes)

            Maximum size:  499.8 GB (499763888128 Bytes)

     

    :~ $ diskutil resizeVolume disk0s2 R

    Started partitioning on disk0s2 MacHD

    Verifying the disk

    Checking file system

    Performing live verification

    Checking Journaled HFS Plus volume

    Checking extents overflow file

    Checking catalog file

    Checking multi-linked files

    Checking catalog hierarchy

    Checking extended attributes file

    Checking volume bitmap

    Checking volume information

    The volume MacHD appears to be OK

    Resizing

    Finished partitioning on disk0s2 MacHD

    /dev/disk0

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *500.1 GB   disk0

       1:                        EFI EFI                     209.7 MB   disk0s1

       2:                  Apple_HFS MacHD                   499.8 GB   disk0s2

    :~ $ sudo gpt -vv -r show disk0

    gpt show: disk0: mediasize=500107862016; sectorsize=512; blocks=976773168

    gpt show: disk0: PMBR at sector 0

    gpt show: disk0: Pri GPT at sector 1

    gpt show: disk0: Sec GPT at sector 976773167

          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  976101344      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC

      976510984     262151        

      976773135         32         Sec GPT table

      976773167          1         Sec GPT header

    :~ $ diskutil list

    /dev/disk0

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *500.1 GB   disk0

       1:                        EFI EFI                     209.7 MB   disk0s1

       2:                  Apple_HFS MacHD                   499.8 GB   disk0s2

    :~ $ diskutil list

    /dev/disk0

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *500.1 GB   disk0

       1:                        EFI EFI                     209.7 MB   disk0s1

       2:                  Apple_HFS MacHD                   439.8 GB   disk0s2

       3:                  Apple_HFS JHFS2                   59.9 GB    disk0s3

    /dev/disk1

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:                            MFEMA                  *9.4 MB     disk1

    :~ $ diskutil resizeVolume disk0s2 limits

    For device disk0s2 MacHD:

            Current size:  439.8 GB (439763886080 Bytes)

            Minimum size:  69.3 GB (69307838464 Bytes)

            Maximum size:  439.8 GB (439763886080 Bytes)

    :~ $ diskutil resizeVolume disk0s2 R

    Started partitioning on disk0s2 MacHD

    Verifying the disk

    Checking file system

    Checking Journaled HFS Plus volume

    Checking extents overflow file

    Checking catalog file

    Checking multi-linked files

    Checking catalog hierarchy

    Checking extended attributes file

    Checking volume bitmap

    Checking volume information

    The volume MacHD appears to be OK

    Resizing

    Finished partitioning on disk0s2 MacHD

    /dev/disk0

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *500.1 GB   disk0

       1:                        EFI EFI                     209.7 MB   disk0s1

       2:                  Apple_HFS MacHD                   439.8 GB   disk0s2

       3:                  Apple_HFS JHFS2                   59.9 GB    disk0s3

  • by Jonnyreading,

    Jonnyreading Jonnyreading Nov 16, 2015 1:47 PM in response to Loner T
    Level 1 (4 points)
    Mac OS X
    Nov 16, 2015 1:47 PM in response to Loner T

    TThanks for all the hel, I've git everything eorking

     

    regards,

     

    jonny

  • by Loner T,

    Loner T Loner T Nov 16, 2015 2:02 PM in response to Jonnyreading
    Level 7 (23,903 points)
    Safari
    Nov 16, 2015 2:02 PM in response to Jonnyreading

    Glad to see it working. . Please backup OSX and Windows. Use separate external disks, if possible.

  • by texposure,

    texposure texposure Nov 18, 2015 11:06 AM in response to Lorenz_MC
    Level 1 (0 points)
    Nov 18, 2015 11:06 AM in response to Lorenz_MC

    I tried using this method and I keep getting "Volume format does not support resizing" every time I enter diskutil resizeVolume disk0s2 R

    I'm not sure the reason why...

  • by texposure,

    texposure texposure Nov 18, 2015 11:13 AM in response to Lorenz_MC
    Level 1 (0 points)
    Nov 18, 2015 11:13 AM in response to Lorenz_MC

    ah, never mind. I think it's because I was decrypting while I was trying to resize.

Previous Page 2