M
Vraiment une énorme MERCIC'est ce que je souhaitais simplement savoir.
Alors : content pour toi !
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 195.0 GB disk0s2
3: Windows Recovery 499.1 MB disk0s3
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +195.0 GB disk1
Physical Store disk0s2
1: APFS Volume Sans titre 164.3 GB disk1s1
2: APFS Volume Preboot 62.6 MB disk1s2
3: APFS Volume Recovery 1.5 GB disk1s3
4: APFS Volume VM 2.1 GB disk1s4
3: Windows Recovery 499.1 MB disk0s3
diskutil eraseVolume free null disk0s3
diskutil ap resizeContainer disk1 0b
diskutil list
Air-de-Clement:~ Clement$ diskutil eraseVolume free null disk0s3
Started erase on disk0s3
Unmounting disk
Finished erase on disk0
Air-de-Clement:~ Clement$ diskutil ap resizeContainer disk1 0b
Started APFS operation
Aligning grow delta to 55 789 924 352 bytes and targeting a new physical store size of 250 790 436 864 bytes
Determined the maximum size for the targeted physical store of this APFS Container to be 250 789 408 768 bytes
Resizing APFS Container designated by APFS Container Reference disk1
The specific APFS Physical Store being resized is disk0s2
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 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: (46309147+36) bitmap address (fa7f)
warning: Overallocation Detected on Main device: (46309189+8) bitmap address (fa7f)
warning: Overallocation Detected on Main device: (46309205+1) bitmap address (fa7f)
warning: Overallocation Detected on Main device: (46309212+2) bitmap address (fa7f)
warning: Overallocation Detected on Main device: (46309228+2) bitmap address (fa7f)
warning: Overallocation Detected on Main device: (46309298+2) bitmap address (fa7f)
warning: Overallocation Detected on Main device: (46309302+4) bitmap address (fa7f)
warning: Overallocation Detected on Main device: (46309308+2) bitmap address (fa7f)
.......
warning: Overallocation Detected on Main device: (46310272+49) bitmap address (fa7f)
warning: Overallocation Detected on Main device: (46310322+2) bitmap address (fa7f)
warning: Overallocation Detected on Main device: (46310325+11) bitmap address (fa7f)
warning: Overallocation Detected on Main device: (46310336+26) bitmap address (fa7f)
warning: Overallocation Detected on Main device: (46310363+16) bitmap address (fa7f)
warning: Overallocation Detected on Main device: (46310385+5) bitmap address (fa7f)
warning: Overallocation Detected on Main device: (46310391+9) bitmap address (fa7f)
warning: Overallocation Detected on Main device: (46310400+32) bitmap address (fa7f)
warning: Overallocation Detected on Main device: (46310433+2) bitmap address (fa7f)
warning: Overallocation Detected on Main device: (46310436+3) bitmap address (fa7f)
too many warnings generated; suppressing subsequent ones
The volume /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Growing APFS Physical Store disk0s2 from 195 000 512 512 to 250 790 436 864 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
Air-de-Clement:~ Clement$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 195.0 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +195.0 GB disk1
Physical Store disk0s2
1: APFS Volume Sans titre 164.9 GB disk1s1
2: APFS Volume Preboot 62.6 MB disk1s2
3: APFS Volume Recovery 1.5 GB disk1s3
4: APFS Volume VM 2.1 GB disk1s4
tmutil listlocalsnapshots /
Air-de-Clement:~ Clement$ tmutil listlocalsnapshots
Usage: tmutil listlocalsnapshots <mount_point>
tmutil listlocalsnapshots /
diskutil repairDisk disk0
diskutil repairVolume disk2s1
diskutil ap resizeContainer disk2 0b
-bash-3.2# diskutil repairDisk disk0
Repairing the partition map might erase disk0s1, proceed? (y/N) y
Started partition map repair on disk0
Checking prerequisites
Checking the partition list
Adjusting partition map to fit whole disk as required
Checking for an EFI system partition
Checking the EFI system partition's size
Checking the EFI system partition's file system
Checking the EFI system partition's folder content
Checking all HFS data partition loader spaces
Checking booter partitions
Reviewing boot support loaders
Checking Core Storage Physical Volume partitions
The partition map appears to be OK
Finished partition map repair on disk0
-bash-3.2# diskutil repairVolume Disk2s1
Unable to find disk for Disk2s1
-bash-3.2# diskutil ap resizeContainer disk2 0b
Started APFS operation
Error: -69582: One or more of the given or implied APFS Volumes are locked
One or more of the given or implied APFS Volumes are locked
diskutil repairVolume disk2s1
diskutil ap resizeContainer disk2 0b
-bash-3.2# diskutil repairVolume disk2s1
Started file system repair on disk2s1 Sans titre
Repairing file system
Volume was successfully unmounted
Performing fsck_apfs -y -x /dev/rdisk2s1
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
Verifying allocated space
The volume /dev/rdisk2s1 appears to be OK
File system check exit code is 0
Restoring the original state found as mounted
Finished file system repair on disk2s1 Sans titre
-bash-3.2# diskutil ap resizeContainer disk2 0b
Started APFS operation
Aligning grow delta to 55 789 924 352 bytes and targeting a new physical store size of 250 790 436 864 bytes
Determined the maximum size for the targeted physical store of this APFS Container to be 250 789 408 768 bytes
Resizing APFS Container designated by APFS Container Reference disk2
The specific APFS Physical Store being resized is disk0s2
Verifying storage system
Performing fsck_apfs -n -x /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 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: (46309147+36) bitmap address (f1ec)
warning: Overallocation Detected on Main device: (46309190+7) bitmap address (f1ec)
warning: Overallocation Detected on Main device: (46309228+2) bitmap address (f1ec)
warning: Overallocation Detected on Main device: (46309298+2) bitmap address (f1ec)
warning: Overallocation Detected on Main device: (46309302+4) bitmap address (f1ec)
warning: Overallocation Detected on Main device: (46309308+2) bitmap address (f1ec)
warning: Overallocation Detected on Main device: (46309319+1) bitmap address (f1ec)
warning: Overallocation Detected on Main device: (46309321+2) bitmap address (f1ec)
warning: Overallocation Detected on Main device: (46309326+1) bitmap address (f1ec)
warning: Overallocation Detected on Main device: (46309968+10) bitmap address (f1ec)
warning: Overallocation Detected on Main device: (46309980+3) bitmap address (f1ec)
warning: Overallocation Detected on Main device: (46309986+2) bitmap address (f1ec)
warning: Overallocation Detected on Main device: (46309991+12) bitmap address (f1ec)
warning: Overallocation Detected on Main device: (46310004+12) bitmap address (f1ec)
....
warning: Overallocation Detected on Main device: (46310478+6) bitmap address (f1ec)
warning: Overallocation Detected on Main device: (46310486+4) bitmap address (f1ec)
warning: Overallocation Detected on Main device: (46310491+6) bitmap address (f1ec)
warning: Overallocation Detected on Main device: (46310498+7) bitmap address (f1ec)
warning: Overallocation Detected on Main device: (46310507+9) bitmap address (f1ec)
warning: Overallocation Detected on Main device: (46310522+1) bitmap address (f1ec)
warning: Overallocation Detected on Main device: (46310528+1) bitmap address (f1ec)
warning: Overallocation Detected on Main device: (46310537+1) bitmap address (f1ec)
warning: Overallocation Detected on Main device: (46310541+1) bitmap address (f1ec)
too many warnings generated; suppressing subsequent ones
The volume /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Growing APFS Physical Store disk0s2 from 195 000 512 512 to 250 790 436 864 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
Error: -69606: A problem occurred while resizing APFS Container structures