Bloc de code:
-bash-3.2# diskutil ap resizeContainer disk2 200g jhfs+ Clone 0b
Started APFS operation
Aligning shrink delta to 299 248 103 424 bytes and targeting a new physical store size of 200 000 000 000 bytes
Determined the minimum size for the targeted physical store of this APFS Container to be 60 498 640 896 bytes
Resizing APFS Container designated by APFS Container Reference disk2
The specific APFS Physical Store being resized is disk0s2
Verifying storage system
Using live mode
Performing fsck_apfs -n -x -l -S /dev/disk0s2
Checking the container superblock
warning: container has been mounted by APFS version 1412.101.1, which is newer than 1412.81.1
warning: disabling overallocation repairs by default; use -o to override
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
The volume Macintosh HD - Données was formatted by hfs_convert (1412.41.1) and last modified by apfs_kext (1412.101.1)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
error: (oid 0x1232e8) apfs_extentref: btn: dev_read_finish(1192680, 1): Input/output error
Extent ref tree is invalid
The volume /dev/disk0s2 could not be verified completely
Storage system check exit code is 0
Shrinking APFS Physical Store disk0s2 from 499 248 103 424 to 200 000 000 000 bytes
Shrinking APFS data structures
APFS Container Resize error code is 49157
Error: -69606: A problem occurred while resizing APFS Container structures
-bash-3.2#