Resize Disk in OSX10.10

Resize disk in OS X 10.10 Yosemite

  • due to the update of OSX, we can not resize the disk after we split the disk in the first time.
  • so we need to use some other command

diskutil

  • first we can use diskutil corestorage to see what option we have
  • then we will choose diskutil corestorage resizeDisk or something else to resize the disk
  • some option that is not shown in the menu
  • Physical Volume (Disk) Commands
    • resizeDisk (undocumented) – Resize a physical volume
    • removeDisk (undocumented) – Remove a physical volume from a logical volume group
    • addDisk (undocumented) – Add a new physical volume to a logical volume group
  • Logical Volume Commands

    • deleteVolume (undocumented) – Delete a logical volume and all of its contents
    • resizeVolume (undocumented) – Grow or shrink a logical volume
    • resizeStack (undocumented) – Grow or shrink a logical volume as well as the volume group and physical volume.
  • for example

    • Example: diskutil coreStorage resizeVolume 11111111-2222-3333-4444-555555555555 10g
OSX
Comments

Comments