Another Logical Volume Issue

Discussion in 'OS X Yosemite (10.10)' started by urbanmacUser, Apr 1, 2015.

  1. urbanmacUser, Apr 1, 2015
    Last edited: Apr 1, 2015

    urbanmacUser macrumors regular

    urbanmacUser

    Joined:
    Sep 9, 2008
    #1
    Need to resize my Yosemite partition but can't. Just been reading a few threads and tried a couple of commands.

    Issue is 1 disk, 2 partitions.
    Disk reports as - Logical Volume Group
    Partition 1 is 10.9.5 - Logical Partition
    Partition 2 is 10.10 - Mac OS Extended (Journaled)

    How can I get the disk and partition 1 back to normal so I can use disk utility to resize the partitions?

    Code:
    |
    +-- Logical Volume Group 0C6DC045-BF58-48D1-8807-1735505F02DE
        =========================================================
        Name:         Me
        Status:       Online
        Size:         398384320512 B (398.4 GB)
        Free Space:   11530240 B (11.5 MB)
        |
        +-< Physical Volume 6D102F0C-FCB0-4743-9F4A-6CC3484DC56A
        |   ----------------------------------------------------
        |   Index:    0
        |   Disk:     disk0s2
        |   Status:   Online
        |   Size:     398384320512 B (398.4 GB)
        |
        +-> Logical Volume Family 24FEEFDD-3990-43D9-8F6D-FDA3C274C805
            ----------------------------------------------------------
            Encryption Status:       Unlocked
            Encryption Type:         None
            Conversion Status:       NoConversion
            Conversion Direction:    -none-
            Has Encrypted Extents:   No
            Fully Secure:            No
            Passphrase Required:     No
            |
            +-> Logical Volume 86485411-11A1-453E-9F86-523C4A899A67
                ---------------------------------------------------
                Disk:                  disk2
                Status:                Online
                Size (Total):          398048772096 B (398.0 GB)
                Conversion Progress:   -none-
                Revertible:            No
                LV Name:               Me
                Volume Name:           Me
                Content Hint:          Apple_HFS
    
    When I try a diskutil cs revert I get:

    Code:
    diskutil cs revert 86485411-11A1-453E-9F86-523C4A899A67
    Started CoreStorage operation on disk2 MedI
    Error: -69741: The target disk isn't eligible for reversion because
    it wasn't created by conversion or it is not part of a simple
    setup of exactly one logical and one physical volume
    
     
  2. chrfr macrumors 603

    Joined:
    Jul 11, 2009
    #2
    The output of this seems to indicate that you have only one partition. Was there more output from diskutil which you didn't include? What does
    Code:
    diskutil list
    report?
     
  3. urbanmacUser thread starter macrumors regular

    urbanmacUser

    Joined:
    Sep 9, 2008
    #3
    Looks like this

    Code:
     diskutil list
    /dev/disk0
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *500.3 GB   disk0
       1:                        EFI EFI                     209.7 MB   disk0s1
       2:          Apple_CoreStorage                         398.4 GB   disk0s2
       3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
       4:                  Apple_HFS Yosemite                100.4 GB   disk0s4
       5:                 Apple_Boot Recovery HD             650.0 MB   disk0s5
    /dev/disk2
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:                  Apple_HFS Me                   *398.0 GB   disk2
    
    [​IMG]
     
  4. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #4
    Revert won't work because of this.

    Let me make sure I understand first. You have Mavericks on Me and Yosemite on Yosemite yes? You want to kill/erase Me/Mavericks and lose that data, then expand Yosemite into the empty space yes? If I have that right, here is what you do.

    First make a Time Machine backup of the Yosemite volume. Then option key boot to that external TM disk and you will be in recovery.

    Now from the Utilities menu open Terminal and enter the line below. That will kill the Mavericks logical volume and should leave the space empty.

    Code:
    diskutil cs delete Me
    Exit Terminal and open Disk Util then format the empty space up top (you should still have Yosemite at the bottom) to Mac OS Extended (Journaled) and name it whatever you want... let's say UrbanMU.

    Now go to the restore tab of Disk Util and drag UrbanMU into the destination field and Yosemite into the source field and click restore. That should clone the Yosemite install from the bottom up to the new partition on top.

    Now shutdown then option key boot to UrbanMU. If all looks well use Disk Util to remove the Yosemite volume then resize UrbanMU to fill the disk.
     
  5. urbanmacUser thread starter macrumors regular

    urbanmacUser

    Joined:
    Sep 9, 2008
    #5
    Hi, thanks for the reply.

    I don't want to erase any partitions. I want be able to resize the Yosemite partition (make it bigger) and keep the Me partition and make it smaller but I can't do this in Disk Utility as its see the Me and the Volume as Logical formats.

    So how can I change the Me from a Logical Partition and the MedI disk to a normal Apple style disk.
     
  6. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #6
    Okay... gotcha. You have two roadblocks here. First, you cannot resize Me because it is a core storage volume and it cannot be reverted. So you only option there is to copy the data off to an external disk (you can clone with Disk Util), then resize the volume, then move the data back.

    Your second problem is the Yosemite volume cannot be resized because it is on the bottom there and you cannot resize up you can only resize by dragging the bottom of the grabber down, and obviously you cannot to that if the volume is already at the bottom.

    So you will need to copy the data off both Me and Yosemite to an external drive with two partitions. Then follow the process I described earlier to kill Me and add it back whatever size you want. Then also remove the Yosemite volume and add it back at whatever size you want also. Then copy all your data back to each from the external.

    You may have an easier time cloning the data with the free trial version of Carbon Copy Cloner.
     
  7. urbanmacUser thread starter macrumors regular

    urbanmacUser

    Joined:
    Sep 9, 2008

Share This Page