sudo tmutil thinlocalsnapshots / 99000000000000 4 ; say 'ENFIN TERMINÉ LA PURGE'
iMac:~ nikan$ sudo tmutil thinlocalsnapshots / 99000000000000 4 ; say 'ENFIN TERMINÉ LA PURGE'
Password:
Thinned local snapshots:
com.apple.TimeMachine.2020-02-16-223427
com.apple.TimeMachine.2020-02-16-213741
com.apple.TimeMachine.2020-02-16-193504
com.apple.TimeMachine.2020-02-16-173512
com.apple.TimeMachine.2020-02-16-092315
iMac:~ nikan$
df -H /
iMac:~ nikan$ df -H /
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk1s1 500G 43G 456G 9% 652970 9223372036854122837 0% /
iMac:~ nikan$
diskutil list
iMac:~ nikan$ 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 disk1 499.9 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +499.9 GB disk1
Physical Store disk0s2
1: APFS Volume MHD 43.4 GB disk1s1
2: APFS Volume Preboot 23.0 MB disk1s2
3: APFS Volume Recovery 516.7 MB disk1s3
4: APFS Volume VM 20.5 KB disk1s4
1: APFS Volume MHD 167.9 GB disk2s1
1: APFS Volume MHD 43.4 GB disk1s1
imac:~ nikan$ 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 disk1 99.7 GB disk0s2
3: Microsoft Basic Data 399.5 GB disk0s3
4: Windows Recovery 556.8 MB disk0s4
5: Microsoft Reserved 16.8 MB disk0s5
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +99.7 GB disk1
Physical Store disk0s2
1: APFS Volume MHD 61.7 GB disk1s1
2: APFS Volume Preboot 23.0 MB disk1s2
3: APFS Volume Recovery 516.7 MB disk1s3
4: APFS Volume VM 20.5 KB disk1s4
diskutil eraseVolume free null disk0s3 ; diskutil eraseVolume free null disk0s4 ; diskutil eraseVolume free null disk0s5 ; diskutil ap resizeContainer disk1 0b : diskutil list
imac:~ nikan$ diskutil eraseVolume free null disk0s3 ; diskutil eraseVolume free null disk0s4 ; diskutil eraseVolume free null disk0s5 ; diskutil ap resizeContainer disk1 0b : diskutil list
Started erase on disk0s3
Unmounting disk
Finished erase on disk0
Started erase on disk0s4
Unmounting disk
Finished erase on disk0
Started erase on disk0s5
Unmounting disk
Finished erase on disk0
: does not appear to be a valid file system format or partition type
Use diskutil listFilesystems to view a list of supported file systems
imac:~ nikan$ 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 disk1 99.7 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +99.7 GB disk1
Physical Store disk0s2
1: APFS Volume MHD 61.7 GB disk1s1
2: APFS Volume Preboot 23.0 MB disk1s2
3: APFS Volume Recovery 516.7 MB disk1s3
4: APFS Volume VM 20.5 KB disk1s4
imac:~ nikan$
diskutil ap resizeContainer disk1 0b ; diskutil list
imac:~ nikan$ diskutil ap resizeContainer disk1 0b ; diskutil list
Started APFS operation
Aligning grow delta to 400 171 360 256 bytes and targeting a new physical store size of 499 898 105 856 bytes
Determined the maximum size for the targeted physical store of this APFS Container to be 499 897 077 760 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
The volume /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Growing APFS Physical Store disk0s2 from 99 726 745 600 to 499 898 105 856 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 disk1 499.9 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +499.9 GB disk1
Physical Store disk0s2
1: APFS Volume MHD 61.7 GB disk1s1
2: APFS Volume Preboot 23.0 MB disk1s2
3: APFS Volume Recovery 516.7 MB disk1s3
4: APFS Volume VM 20.5 KB disk1s4
imac:~ nikan$