diskutil list
Last login: Mon Mar 16 14:51:33 on ttys000
MBP-de-Gilles:~ macbookgil$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *320.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage Macintosh HD 169.4 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Apple_HFS Clone 149.7 GB disk0s4
/dev/disk1 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Macintosh HD +169.0 GB disk1
Logical Volume on disk0s2
AA81EF71-81C1-447D-83FE-619B23DF422C
Unencrypted
/dev/disk2 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *31.3 GB disk2
1: Apple_HFS OS SIERRA microSD 31.3 GB disk2s1
MBP-de-Gilles:~ macbookgil$
diskutil eraseVolume jhfs+ "Macintosh HD" disk1
diskutil list
Last login: Tue Mar 17 09:21:53 on ttys000
MBP-de-Gilles:~ macbookgil$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *320.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage Macintosh HD 169.4 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Apple_HFS Clone 149.7 GB disk0s4
/dev/disk1 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Macintosh HD +169.0 GB disk1
Logical Volume on disk0s2
AA81EF71-81C1-447D-83FE-619B23DF422C
Unencrypted
MBP-de-Gilles:~ macbookgil$
diskutil eraseVolume free null disk0s4 ; diskutil coreStorage resizeStack AA81EF71-81C1-447D-83FE-619B23DF422C 0b ; diskutil list
Last login: Tue Mar 17 09:21:53 on ttys000
MBP-de-Gilles:~ macbookgil$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *320.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage Macintosh HD 169.4 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Apple_HFS Clone 149.7 GB disk0s4
/dev/disk1 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Macintosh HD +169.0 GB disk1
Logical Volume on disk0s2
AA81EF71-81C1-447D-83FE-619B23DF422C
Unencrypted
MBP-de-Gilles:~ macbookgil$ diskutil eraseVolume free null disk0s4 ; diskutil coreStorage resizeStack AA81EF71-81C1-447D-83FE-619B23DF422C 0b ; diskutil list
Started erase on disk0s4 Clone
Unmounting disk
Finished erase on disk0
The Core Storage Logical Volume UUID is AA81EF71-81C1-447D-83FE-619B23DF422C
Started CoreStorage operation
Checking prerequisites for resizing Logical-Physical volume stack
Growing Logical-Physical volume stack
Verifying file system
Volume could not be unmounted
Using live mode
Performing fsck_hfs -fn -l -x /dev/rdisk1
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 Macintosh HD appears to be OK
File system check exit code is 0
Restoring the original state found as mounted
Growing Core Storage Physical Volume from 169 362 182 144 to 319 213 174 784 bytes
Copying booter
Growing disk partition
Modifying partition map
Growing Core Storage data structures
Resizing Core Storage Physical Volume structures
Resized Core Storage Physical Volume to 319 213 174 784 bytes
Growing Logical Volume
Resizing Core Storage Logical Volume structures
Resized Core Storage Logical Volume to 318 850 990 080 bytes
Growing file system
Finished CoreStorage operation
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *320.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage Macintosh HD 319.2 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s4
/dev/disk1 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Macintosh HD +318.9 GB disk1
Logical Volume on disk0s2
AA81EF71-81C1-447D-83FE-619B23DF422C
Unencrypted
MBP-de-Gilles:~ macbookgil$
sysctl hw.model