bash-3.2$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk3 469.3 GB disk0s2
3: Apple_HFS Sans titre 30.5 GB disk0s3
4: Apple_APFS Container disk1 133.2 MB disk0s4
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +133.2 MB disk1
Physical Store disk0s4
/dev/disk3 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +469.3 GB disk3
Physical Store disk0s2
1: APFS Volume SSD - Données 87.9 GB disk3s1
2: APFS Volume Preboot 281.9 MB disk3s2
3: APFS Volume Recovery 626.1 MB disk3s3
4: APFS Volume VM 1.1 GB disk3s4
5: APFS Volume SSD 15.3 GB disk3s5
6: APFS Snapshot com.apple.os.update-... 15.3 GB disk3s5s1
bash-3.2$
Display all 1425 possibilities? (y or n)
bash-3.2$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk3 469.3 GB disk0s2
3: Apple_APFS Container disk2 30.5 GB disk0s3
4: Apple_APFS Container disk1 133.2 MB disk0s4
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +133.2 MB disk1
Physical Store disk0s4
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +30.5 GB disk2
Physical Store disk0s3
/dev/disk3 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +469.3 GB disk3
Physical Store disk0s2
1: APFS Volume SSD - Données 87.9 GB disk3s1
2: APFS Volume Preboot 281.9 MB disk3s2
3: APFS Volume Recovery 626.1 MB disk3s3
4: APFS Volume VM 1.1 GB disk3s4
5: APFS Volume SSD 15.3 GB disk3s5
6: APFS Snapshot com.apple.os.update-... 15.3 GB disk3s5s1
bash-3.2$
bash-3.2$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk3 469.3 GB disk0s2
3: Apple_APFS Container disk2 30.5 GB disk0s3
4: Apple_APFS Container disk1 133.2 MB disk0s4
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +133.2 MB disk1
Physical Store disk0s4
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +30.5 GB disk2
Physical Store disk0s3
/dev/disk3 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +469.3 GB disk3
Physical Store disk0s2
1: APFS Volume SSD - Données 87.9 GB disk3s1
2: APFS Volume Preboot 281.9 MB disk3s2
3: APFS Volume Recovery 626.1 MB disk3s3
4: APFS Volume VM 1.1 GB disk3s4
5: APFS Volume SSD 15.3 GB disk3s5
6: APFS Snapshot com.apple.os.update-... 15.3 GB disk3s5s1
bash-3.2$ diskutilclear
bash: diskutilclear: command not found
bash-3.2$ clear
bash-3.2$ diskutil ap deleteContainer disk2 ; diskutil ap deleteContainer disk1 ; diskutil eraseVolume free null disk0s3 ; diskutil eraseVolume free null disk0s4 ; diskutil ap resizeContainer disk3 0b ; diskutil list internal
Started APFS operation on disk2
Deleting APFS Container with all of its APFS Volumes
Unmounting Volumes
Deleting Volumes
Deleting Container
Wiping former APFS disks
Switching content types
1 new disk created or changed due to APFS operation
Disk from APFS operation: disk0s3
Finished APFS operation on disk2
Removing disk0s3 from partition map
Started APFS operation on disk1
Deleting APFS Container with all of its APFS Volumes
Unmounting Volumes
Deleting Volumes
Deleting Container
Wiping former APFS disks
Switching content types
1 new disk created or changed due to APFS operation
Disk from APFS operation: disk0s4
Finished APFS operation on disk1
Removing disk0s4 from partition map
Unable to find disk for disk0s3
Unable to find disk for disk0s4
Started APFS operation
Aligning grow delta to 30 731 902 976 bytes and targeting a new physical store size of 500 068 036 608 bytes
Determined the maximum size for the targeted physical store of this APFS Container to be 500 067 006 464 bytes
Resizing APFS Container designated by APFS Container Reference disk3
The specific APFS Physical Store being resized is disk0s2
Verifying storage system
Using live mode
Performing fsck_apfs -n -x -l /dev/disk0s2
Checking the container superblock
Checking the EFI jumpstart record
Checking the space manager
Checking the space manager free queue trees
Checking the object map
Checking volume
Checking the APFS volume superblock
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking snapshot 1 of 1 (com.apple.os.update-DAF39AAEF7126C0F582DB5FB64D2172B9ECB2CDD741C727272D103B27AC47BDE)
Checking the extent ref tree
Checking the fsroot tree
Checking the file extent tree
Checking volume
Checking the APFS volume superblock
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Verifying allocated space
The volume /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Growing APFS Physical Store disk0s2 from 469 336 133 632 to 500 068 036 608 bytes
Modifying partition map
Growing APFS data structures
Finished APFS operation
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk3 500.1 GB disk0s2
/dev/disk3 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +500.1 GB disk3
Physical Store disk0s2
1: APFS Volume SSD - Données 87.9 GB disk3s1
2: APFS Volume Preboot 281.9 MB disk3s2
3: APFS Volume Recovery 626.1 MB disk3s3
4: APFS Volume VM 1.1 GB disk3s4
5: APFS Volume SSD 15.3 GB disk3s5
6: APFS Snapshot com.apple.os.update-... 15.3 GB disk3s5s1