Last login: Tue Feb 6 22:12:23 on ttys000
macbook-pro:~ jeromemettraux$ diskutil ap deleteContainer disk1
Started APFS operation on disk1
Deleting APFS Container with all of its APFS Volumes
Unmounting Volumes
Unmounting Volume "Macintosh HD" on disk1s1
Unmounting Volume "Preboot" on disk1s3
Unmounting Volume "Recovery" on disk1s4
Unmounting Volume "VM" on disk1s5
Deleting Volumes
Deleting Container
Wiping former APFS disks
Switching content types
Reformatting former APFS disks
Initialized /dev/rdisk0s3 as a 117 GB case-insensitive HFS Plus volume with a 16384k journal
Mounting disk
1 new disk created or changed due to APFS operation
Disk from APFS operation: disk0s3
Finished APFS operation on disk1
macbook-pro:~ jeromemettraux$ diskutil eraseVolume free null disk0s3
Started erase on disk0s3 Untitled
Unmounting disk
Finished erase on disk0
macbook-pro:~ jeromemettraux$ diskutil ap resizeContainer disk2 0b
Started APFS operation
Resizing APFS Container designated by APFS Container Reference disk2
Verifying storage system
Using live mode
Performing fsck_apfs -n -x -l /dev/disk0s2
Checking volume
Checking the container superblock
Checking the EFI jumpstart record
Checking the space manager
Checking the object map
Checking the APFS volume superblock
warning: apfs_sb at apfs_fs_index (0): apfs_formatted_by.timestamp is invalid (1517952420000000000), is greater than current time (1517952108711325000)
Checking the object map
warning: omap (oid 0x74bcf): invalid om_flags (0x2)
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Checking the APFS volume superblock
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Checking the APFS volume superblock
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Checking the APFS volume superblock
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Verifying allocated space
warning: Overallocation Detected on Main device: (1481499+21) bitmap address (96690)
The volume /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Growing APFS Physical Store disk0s2 from 125 342 785 536 to 250 685 575 168 bytes
Modifying partition map
Growing APFS data structures
APFS Container Resize error code is 49168
A problem occurred; undoing all changes
Modifying partition map
Error: -69606: A problem occurred while resizing APFS Container structures
macbook-pro:~ jeromemettraux$ diskutil list
/dev/disk0 (internal):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 251.0 GB disk0
1: EFI EFI 314.6 MB disk0s1
2: Apple_APFS Container disk2 125.3 GB disk0s2
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +125.3 GB disk2
Physical Store disk0s2
1: APFS Volume Restore 11.5 GB disk2s1
2: APFS Volume Preboot 23.7 MB disk2s2
3: APFS Volume Recovery 509.8 MB disk2s3
4: APFS Volume VM 1.1 GB disk2s4
macbook-pro:~ jeromemettraux$