diskutil ap convert disk0s2 ; diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk2 299.9 GB disk0s2
3: Apple_APFS Container disk1 199.8 GB disk0s3
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +199.8 GB disk1
Physical Store disk0s3
1: APFS Volume Clone 184.3 GB disk1s1
2: APFS Volume Preboot 21.4 MB disk1s2
3: APFS Volume Recovery 518.1 MB disk1s3
4: APFS Volume VM 2.1 GB disk1s4
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +299.9 GB disk2
Physical Store disk0s2
1: APFS Volume DD 933.9 KB disk2s1
diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk2 299.9 GB disk0s2
3: Apple_APFS Container disk1 199.8 GB disk0s3
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +199.8 GB disk1
Physical Store disk0s3
1: APFS Volume Clone 183.3 GB disk1s1
2: APFS Volume Preboot 21.7 MB disk1s2
3: APFS Volume Recovery 518.1 MB disk1s3
4: APFS Volume VM 2.1 GB disk1s4
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +299.9 GB disk2
Physical Store disk0s2
1: APFS Volume DD 182.8 GB disk2s1
2: APFS Volume Preboot 21.4 MB disk2s2
3: APFS Volume Recovery 518.1 MB disk2s3
4: APFS Volume VM 2.1 GB disk2s4
diskutil ap deleteContainer disk1 ; diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk2 0b ; diskutil list
Started APFS operation on disk1
Deleting APFS Container with all of its APFS Volumes
Unmounting Volumes
Unmounting Volume "Clone" on disk1s1
Unmounting Volume "Preboot" on disk1s2
Unmounting Volume "Recovery" on disk1s3
Unmounting Volume "VM" on disk1s4
Deleting Volumes
Deleting Container
Wiping former APFS disks
Switching content types
Reformatting former APFS disks
Initialized /dev/rdisk0s3 as a 186 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
Started erase on disk0s3 Untitled
Unmounting disk
Dissented by PID=0 (kernel)
Error: -69888: Couldn't unmount disk
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
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Checking snapshot 1 of 1
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: (46047947+1) bitmap address (92493)
The volume /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Growing APFS Physical Store disk0s2 from 299 865 780 224 to 299 999 997 952 bytes
Modifying partition map
Growing APFS data structures
Finished APFS operation
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk2 300.0 GB disk0s2
3: Apple_HFS Untitled 199.8 GB disk0s3
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +300.0 GB disk2
Physical Store disk0s2
1: APFS Volume DD 182.9 GB disk2s1
2: APFS Volume Preboot 21.4 MB disk2s2
3: APFS Volume Recovery 518.1 MB disk2s3
4: APFS Volume VM 2.1 GB disk2s4
diskutil umount force disk0s3
diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk2 0b ; diskutil list
Started erase on disk0s3 Untitled
Unmounting disk
Finished erase on disk0
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
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Checking snapshot 1 of 1
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: (46047947+1) bitmap address (30223)
The volume /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Growing APFS Physical Store disk0s2 from 299 999 997 952 to 499 897 077 760 bytes
Modifying partition map
Growing APFS data structures
Finished APFS operation
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk2 499.9 GB disk0s2
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +499.9 GB disk2
Physical Store disk0s2
1: APFS Volume DD 183.0 GB disk2s1
2: APFS Volume Preboot 21.4 MB disk2s2
3: APFS Volume Recovery 518.1 MB disk2s3
4: APFS Volume VM 2.1 GB disk2s4
tmutil listlocalsnapshots /