Last login: Thu Nov 22 21:37:36 on ttys000
MBPdeBeHermitte:~ mohamed-amine$ diskutil verifyVolume /
Started file system verification on disk1s1 Macintosh HD
Verifying file system
Volume could not be unmounted
Using live mode
Performing fsck_apfs -n -l -x /dev/rdisk1s1
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
The volume Macintosh HD was formatted by newfs_apfs (748.77.8) and last modified by apfs_kext (945.220.38)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking snapshot 1 of 2
Checking snapshot 2 of 2
Checking the extent ref tree
Checking the fsroot tree
Verifying allocated space
Performing deferred repairs
The volume /dev/rdisk1s1 appears to be OK
File system check exit code is 0
Restoring the original state found as mounted
Finished file system verification on disk1s1 Macintosh HD
MBPdeBeHermitte:~ mohamed-amine$
Checking snapshot 1 of 2
Checking snapshot 2 of 2
sudo tmutil thinlocalsnapshots / 99000000000 4 ; say 'ENFIN TERMINÉ LA PURGE'
diskutil ap resizeContainer disk1 100g fat32 BOOTCAMP 0b ; diskutil list
Last login: Thu Nov 22 21:59:25 on ttys000
MBPdeBeHermitte:~ mohamed-amine$ diskutil ap resizeContainer disk1 100g fat32 BOOTCAMP 0b ; diskutil list
Started APFS operation
Aligning shrink delta to 150 790 438 912 bytes and targeting a new physical store size of 99 999 997 952 bytes
Determined the minimum size for the targeted physical store of this APFS Container to be 41 343 148 032 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 -S /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
The volume Macintosh HD was formatted by newfs_apfs (748.77.8) and last modified by apfs_kext (945.220.38)
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
The volume Preboot was formatted by newfs_apfs (748.41.3) and last modified by apfs_kext (945.220.38)
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
The volume Recovery was formatted by newfs_apfs (748.41.3) and last modified by apfs_kext (945.220.38)
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
The volume VM was formatted by newfs_apfs (748.41.3) and last modified by apfs_kext (945.220.38)
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
warning: Overallocation Detected on Main device: (46453321+1) bitmap address (f0dd)
Performing deferred repairs
The volume /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Shrinking APFS Physical Store disk0s2 from 250 790 436 864 to 99 999 997 952 bytes
Shrinking APFS data structures
APFS Container Resize error code is 49187
Error: -69606: A problem occurred while resizing APFS Container structures
/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 250.8 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +250.8 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 37.6 GB disk1s1
2: APFS Volume Preboot 74.3 MB disk1s2
3: APFS Volume Recovery 1.0 GB disk1s3
4: APFS Volume VM 1.1 GB disk1s4
MBPdeBeHermitte:~ mohamed-amine$
Error: -69606: A problem occurred while resizing APFS Container structures
diskutil list
df -H
Last login: Thu Nov 22 22:36:45 on ttys000
MBPdeBeHermitte:~ mohamed-amine$ 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 250.8 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +250.8 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 29.0 GB disk1s1
2: APFS Volume Preboot 74.3 MB disk1s2
3: APFS Volume Recovery 1.0 GB disk1s3
4: APFS Volume VM 1.1 GB disk1s4
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *2.0 TB disk2
1: DOS_FAT_32 WININSTALL 2.0 TB disk2s1
/dev/disk3 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: CCCOMA_X64FRE_FR-FR... +4.7 GB disk3
/dev/disk4 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: Boot Camp +2.8 GB disk4
MBPdeBeHermitte:~ mohamed-amine$ df -H
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk1s1 251G 29G 220G 12% 681018 9223372036854094789 0% /
devfs 194k 194k 0B 100% 654 0 100% /dev
map -hosts 0B 0B 0B 100% 0 0 100% /net
map auto_home 0B 0B 0B 100% 0 0 100% /home
/dev/disk3 4.7G 4.7G 0B 100% 18446744073707247455 2305220 1741902178820325632% /Volumes/CCCOMA_X64FRE_FR-FR_DV9
/dev/disk1s4 251G 1.1G 220G 1% 1 9223372036854775806 0% /Volumes/VM
/dev/disk2s1 2.0T 8.6M 2.0T 1% 0 0 100% /Volumes/WININSTALL
MBPdeBeHermitte:~ mohamed-amine$
diskutil eraseDisk jhfs+ Clone gpt disk2 ; diskutil ap convert disk2s2 ; diskutil list
Last login: Thu Nov 22 22:50:29 on ttys000
MBPdeBeHermitte:~ mohamed-amine$ diskutil eraseDisk jhfs+ Clone gpt disk2 ; diskutil ap convert disk2s2 ; diskutil list
Started erase on disk2
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk2s2 as Mac OS Extended (Journaled) with name Clone
Initialized /dev/rdisk2s2 as a 2 TB case-insensitive HFS Plus volume with a 155648k journal
Mounting disk
Finished erase on disk2
Converting the volume on disk2s2 to an APFS Volume on an APFS Container
Started APFS operation on disk2s2 Clone
Converting HFS Volume to an APFS Container which will export one APFS Volume
The target is the Journaled HFS+ volume "Clone" backed by the GPT partition disk2s2
The target is a data disk; it is not a macOS system disk
Found APFS EFI driver /usr/standalone/i386/apfs.efi to install into the APFS Container
The target is not encrypted
Unmounting disk2s2
Starting conversion from HFS to APFS
Performing apfs_hfs_convert -x --verbose=0x400 --efi /usr/standalone/i386/apfs.efi /dev/disk2s2
Reporting pre-conversion statistics
Reporting post-conversion statistics
Successfully finished conversion from HFS to APFS
Successful conversion in commit mode so will switch type to APFS
Setting type of disk2s2 to APFS
Changing the physical disk partition type in shared mode
Partition modification attempt count was 1
Opening and closing disk2s2 to terminate old content driver
Expecting the new APFS Container at Physical Store disk2s2
Confirmed existence of new unencrypted APFS Volume disk5s1
Mounting APFS Volume disk5s1
APFS Volume mount attempt result was 0
Exiting conversion operations with error code 0
Disk from APFS operation: disk5s1
Finished APFS operation on disk2s2 Clone
/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 250.8 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +250.8 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 29.0 GB disk1s1
2: APFS Volume Preboot 74.3 MB disk1s2
3: APFS Volume Recovery 1.0 GB disk1s3
4: APFS Volume VM 1.1 GB disk1s4
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_APFS Container disk5 2.0 TB disk2s2
/dev/disk3 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: CCCOMA_X64FRE_FR-FR... +4.7 GB disk3
/dev/disk4 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: Boot Camp +2.8 GB disk4
/dev/disk5 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +2.0 TB disk5
Physical Store disk2s2
1: APFS Volume Clone 1.0 MB disk5s1
MBPdeBeHermitte:~ mohamed-amine$
diskutil list
Last login: Thu Nov 22 22:50:34 on ttys000
MBPdeBeHermitte:~ mohamed-amine$ 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 250.8 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +250.8 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 29.6 GB disk1s1
2: APFS Volume Preboot 74.3 MB disk1s2
3: APFS Volume Recovery 1.0 GB disk1s3
4: APFS Volume VM 1.1 GB disk1s4
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_APFS Container disk5 2.0 TB disk2s2
/dev/disk3 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: CCCOMA_X64FRE_FR-FR... +4.7 GB disk3
/dev/disk4 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: Boot Camp +2.8 GB disk4
/dev/disk5 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +2.0 TB disk5
Physical Store disk2s2
1: APFS Volume Clone 26.3 GB disk5s1
2: APFS Volume Preboot 42.8 MB disk5s2
3: APFS Volume Recovery 518.2 MB disk5s3
MBPdeBeHermitte:~ mohamed-amine$