Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Problem with resize disk using "diskutil" (lost free space)

Hi my friends.


I have a Macbook Air 11" Mid-2012 with OSX Yosemite.


I want to resize my SSD disk from manually using command line.


The problem is that when I use "resizevolume" in disk0s2 (OSX partition) I were not remember create a free space partition.


I used this: diskutil resizevolume disk0s2 80g --> resize OSX from 87,2Gb to 80Gb but an other free space (8Gb) I don´t know where is it...


Log command line:


MacBook-Air-de-Francisco:~ GoldFran$ diskutil list

/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *120.0 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_HFS OSX 87.2 GB disk0s2

3: Apple_Boot Recovery HD 650.0 MB disk0s3

4: Microsoft Basic Data BOOTCAMP 32.0 GB disk0s4

MacBook-Air-de-Francisco:~ GoldFran$ diskutil resizevolume disk0s2 80g

Resizing to 80000000000 bytes

Started partitioning on disk0s2 OSX

Verifying the disk

Verifying file system

Using live mode

Performing live verification

Checking extents overflow file

Checking catalog hierarchy

Checking extended attributes file

File system check exit code is 0

Resizing

Waiting for the disks to reappear

Finished partitioning on disk0s2 OSX

/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *120.0 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_HFS OSX 80.0 GB disk0s2

3: Apple_Boot Recovery HD 650.0 MB disk0s5

4: Microsoft Basic Data BOOTCAMP 32.0 GB disk0s4

Posted on Aug 16, 2015 1:48 PM

Reply
1 reply

Problem with resize disk using "diskutil" (lost free space)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.