Logical Volume Group and Logical Partition not matching up in free space

Discussion in 'Boot Camp & OS Virtualization on Mac' started by KyleLawrence, Dec 11, 2012.

  1. KyleLawrence

    KyleLawrence
    uix_expand uix_collapse
    Registered

    Joined:
    Dec 11, 2012
    Messages:
    3
    Likes Received:
    0
    I was dual booting Windows 7 and Mountain Lion. Through Disk Utility, I removed the Windows 7 Partition and expanded the HFS+ partition to encompass the entire hard drive. However, the Logical Volume Group does not think that I have that extra free space. The main problem is that I cannot resize my partition. I am wanting to dual boot Ubuntu with this. Any ideas? Any help is appreciated. I will post some screenshots with the details. Furthermore, here are some terminal commands I ran:

    /dev/disk0
    #: TYPE NAME SIZE IDENTIFIER
    0: GUID_partition_scheme *250.1 GB disk0
    1: EFI 209.7 MB disk0s1
    2: Apple_CoreStorage 249.2 GB disk0s2
    3: Apple_Boot Recovery HD 650.0 MB disk0s3
    /dev/disk1
    #: TYPE NAME SIZE IDENTIFIER
    0: Apple_HFS MAC OS X *248.9 GB disk1

    Filesystem 1024-blocks Used Available Capacity iused ifree %iused Mounted on
    /dev/disk1 243031288 153028624 89746664 64% 38321154 22436666 63% /
    devfs 189 189 0 100% 655 0 100% /dev
    map -hosts 0 0 0 100% 0 0 100% /net
    map auto_home 0 0 0 100% 0 0 100% /home

    CoreStorage logical volume groups (1 found)
    |
    +-- Logical Volume Group 52A4D825-B134-4C33-AC8B-39A02BA30522
    =========================================================
    Name: MAC OS X
    Size: 249199587328 B (249.2 GB)
    Free Space: 16777216 B (16.8 MB)
    |
    +-< Physical Volume 6D7A0A36-1D86-4A30-8EB5-755D375369D9
    | ----------------------------------------------------
    | Index: 0
    | Disk: disk0s2
    | Status: Online
    | Size: 249199587328 B (249.2 GB)
    |
    +-> Logical Volume Family FDC4568F-4E25-46AB-885A-CBA6287309B6
    ----------------------------------------------------------
    Encryption Status: Unlocked
    Encryption Type: None
    Conversion Status: Converting
    Conversion Direction: backward
    Has Encrypted Extents: Yes
    Fully Secure: No
    Passphrase Required: No
    |
    +-> Logical Volume BB2662B7-58F3-401C-B889-F264D79E68B4
    ---------------------------------------------------
    Disk: disk1
    Status: Online
    Size (Total): 248864038912 B (248.9 GB)
    Size (Converted): 130367356928 B (130.4 GB)
    Revertible: Yes (unlock and decryption required)
    LV Name: MAC OS X
    Volume Name: MAC OS X
    Content Hint: Apple_HFS
     
  2. KyleLawrence

    KyleLawrence
    uix_expand uix_collapse
    Registered

    Joined:
    Dec 11, 2012
    Messages:
    3
    Likes Received:
    0
    Here is another try fromt he command line

    dhcp-10-201-238-248:~ KyleWLawrence$ diskutil coreStorage resizeVolume BB2662B7-58F3-401C-B889-F264D79E68B4 210g
    Started CoreStorage operation
    Checking file system
    Performing live verification
    Checking Journaled HFS Plus volume
    Checking extents overflow file
    Checking catalog file
    Incorrect block count for file 2012.12.11.asl
    (It should be 390 instead of 195)
    Checking multi-linked files
    Checking catalog hierarchy
    Checking extended attributes file
    Checking volume bitmap
    Checking volume information
    Invalid volume free block count
    (It should be 21713521 instead of 21713716)
    The volume MAC OS X was found corrupt and needs to be repaired
    Error: -69845: File system verify or repair failed
     
  3. DeltaMac

    DeltaMac
    uix_expand uix_collapse
    Tech

    Joined:
    Jun 20, 2001
    Messages:
    8,603
    Likes Received:
    110
    You have likely screwed up your hard drive partition structure.
    Don't use Disk Utility to remove a Boot Camp partition.
    Instead, use your Boot Camp Assistant to remove a Boot Camp partition.

    Now that you have attempted this in the wrong way, you will need to try to repair the drive directory. Boot to your Recovery System partition, and run Disk Utility from there. You may be able to repair the directory (choose the drive, then choose Repair Disk)
    If that stops with an error, or just tells you that the drive still needs to be repaired (because it can't repair the problem), then you will need a more powerful disk repair utility, such as Disk Warrior, which is purported to be able to repair a fusion drive, or other configurations running under Mountain Lion.

    If Disk Warrior doesn't help (which is also possible), then you will need to backup your files on the OS X partition, then reformat the drive by returning to a single partition, using the Partition tab, and choosing one Partition.
    A method that can work for Ubuntu, is to then use the Boot Camp Assistant to create the new partition. And, then install Ubuntu on that partition, not Windows.
     
  4. KyleLawrence

    KyleLawrence
    uix_expand uix_collapse
    Registered

    Joined:
    Dec 11, 2012
    Messages:
    3
    Likes Received:
    0
    Appreciate it. I installed Refit and it removed the MBR, then I loaded Mountain Lion on a flash and resized the hard drive. It works like a charm now. Thanks.
     
  5. vron12

    vron12
    uix_expand uix_collapse
    Registered

    Joined:
    Sep 26, 2016
    Messages:
    2
    Likes Received:
    0
    However, the Logical Volume Group does not think that I have that extra free space. The main problem is that I cannot resize my partition. I am wanting to dual boot Ubuntu with this. Any ideas? Any help is appreciated. I will post some screenshots with the details. Furthermore, here are some terminal commands I ran
     

Share This Page