Rien ne s'affiche avec cette commandePasse la commande :
Bloc de code:tmutil listlocalsnapshots /
- qui affiche les snapshots
Poste le retour : c'est pour savoir s'il s'agit d'un snapshot TM ou CCC.
Rien ne s'affiche avec cette commandePasse la commande :
Bloc de code:tmutil listlocalsnapshots /
- qui affiche les snapshots
Poste le retour : c'est pour savoir s'il s'agit d'un snapshot TM ou CCC.
-bash-3.2# diskutil list
/dev/disk0 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +2.1 GB disk0
1: Apple_HFS macOS Base System 2.0 GB disk0s1
/dev/disk1 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_APFS Container disk2 1.0 TB disk1s2
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +1.0 TB disk2
Physical Store disk1s2
1: APFS Volume Macintosh HD 708.0 GB disk2s1
2: APFS Volume Preboot 78.3 MB disk2s2
3: APFS Volume Recovery 1.6 GB disk2s3
4: APFS Volume VM 1.1 GB disk2s4
/dev/disk3 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +10.5 MB disk3
/dev/disk4 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +10.5 MB disk4
/dev/disk5 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk5
/dev/disk6 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk6
/dev/disk7 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk7
/dev/disk8 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk8
/dev/disk9 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk9
/dev/disk10 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk10
/dev/disk11 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +12.6 MB disk11
/dev/disk12 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +4.2 MB disk12
/dev/disk13 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk13
/dev/disk14 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk14
/dev/disk15 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk15
/dev/disk16 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk16
/dev/disk17 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk17
/dev/disk18 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk18
/dev/disk19 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk19
/dev/disk20 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk20
/dev/disk21 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk21
/dev/disk22 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk22
/dev/disk23 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk23
-bash-3.2#
-bash-3.2# diskutil ap list
APFS Container (1 found)
|
+-- Container disk2 F7CAE557-118C-4503-8ECB-826D74A6DCD1
====================================================
APFS Container Reference: disk2
Size (Capacity Ceiling): 1000345825280 B (1.0 TB)
Capacity In Use By Volumes: 710922063872 B (710.9 GB) (71.1% used)
Capacity Not Allocated: 289423761408 B (289.4 GB) (28.9% free)
|
+-< Physical Store disk1s2 93EFFEF4-4467-4FE2-B4FE-C929CE0AD919
| -----------------------------------------------------------
| APFS Physical Store Disk: disk1s2
| Size: 1000345825280 B (1.0 TB)
|
+-> Volume disk2s1 B59404C1-2FED-49D5-9205-9D8CDE97251A
| ---------------------------------------------------
| APFS Volume Disk (Role): disk2s1 (No specific role)
| Name: Macintosh HD (Case-insensitive)
| Mount Point: /Volumes/Macintosh HD
| Capacity Consumed: 708009041920 B (708.0 GB)
| FileVault: No
|
+-> Volume disk2s2 8E69FA2C-3547-4BA2-A75A-1D61F667747A
| ---------------------------------------------------
| APFS Volume Disk (Role): disk2s2 (Preboot)
| Name: Preboot (Case-insensitive)
| Mount Point: Not Mounted
| Capacity Consumed: 78340096 B (78.3 MB)
| FileVault: No
|
+-> Volume disk2s3 F7786600-D18A-46FD-AE66-467D8BD7C1ED
| ---------------------------------------------------
| APFS Volume Disk (Role): disk2s3 (Recovery)
| Name: Recovery (Case-insensitive)
| Mount Point: Not Mounted
| Capacity Consumed: 1553108992 B (1.6 GB)
| FileVault: No
|
+-> Volume disk2s4 3DAF7803-253E-45EF-94BF-924E470D2CB8
---------------------------------------------------
APFS Volume Disk (Role): disk2s4 (VM)
Name: VM (Case-insensitive)
Mount Point: Not Mounted
Capacity Consumed: 1073762304 B (1.1 GB)
FileVault: No
-bash-3.2#
diskutil ap listSnaps disk2s1
Last login: Sun Nov 8 11:04:54 on ttys000
Styx2:~ kristelfeyder$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 1.0 TB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +1.0 TB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 708.3 GB disk1s1
2: APFS Volume Preboot 78.3 MB disk1s2
3: APFS Volume Recovery 1.6 GB disk1s3
4: APFS Volume VM 1.1 GB disk1s4
Styx2:~ kristelfeyder$
Last login: Sun Nov 8 11:38:19 on ttys000
Styx2:~ kristelfeyder$ diskutil ap listSnaps disk1s1
Snapshots for disk1s1 (4 found)
|
+-- Name: com.apple.TimeMachine.2020-11-07-191554
| XID: 102893
|
+-- Name: com.apple.TimeMachine.2020-11-07-201203
| XID: 103567
|
+-- Name: com.apple.TimeMachine.2020-11-07-231138
| XID: 105014
|
+-- Name: com.apple.TimeMachine.2020-11-08-110248
XID: 105730
NOTE: This snapshot sets the minimal allowed size of APFS Container disk1
Styx2:~ kristelfeyder$
Last login: Sun Nov 8 12:05:41 on ttys000
Styx2:~ kristelfeyder$ diskutil ap list
APFS Container (1 found)
|
+-- Container disk1 F7CAE557-118C-4503-8ECB-826D74A6DCD1
====================================================
APFS Container Reference: disk1
Size (Capacity Ceiling): 1000345825280 B (1.0 TB)
Minimum Size: 894082191360 B (894.1 GB)
Capacity In Use By Volumes: 716093022208 B (716.1 GB) (71.6% used)
Capacity Not Allocated: 284252803072 B (284.3 GB) (28.4% free)
|
+-< Physical Store disk0s2 93EFFEF4-4467-4FE2-B4FE-C929CE0AD919
| -----------------------------------------------------------
| APFS Physical Store Disk: disk0s2
| Size: 1000345825280 B (1.0 TB)
|
+-> Volume disk1s1 B59404C1-2FED-49D5-9205-9D8CDE97251A
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s1 (No specific role)
| Name: Macintosh HD (Case-insensitive)
| Mount Point: /
| Capacity Consumed: 713196765184 B (713.2 GB)
| FileVault: No
|
+-> Volume disk1s2 8E69FA2C-3547-4BA2-A75A-1D61F667747A
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s2 (Preboot)
| Name: Preboot (Case-insensitive)
| Mount Point: Not Mounted
| Capacity Consumed: 78340096 B (78.3 MB)
| FileVault: No
|
+-> Volume disk1s3 F7786600-D18A-46FD-AE66-467D8BD7C1ED
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s3 (Recovery)
| Name: Recovery (Case-insensitive)
| Mount Point: Not Mounted
| Capacity Consumed: 1553108992 B (1.6 GB)
| FileVault: No
|
+-> Volume disk1s4 3DAF7803-253E-45EF-94BF-924E470D2CB8
---------------------------------------------------
APFS Volume Disk (Role): disk1s4 (VM)
Name: VM (Case-insensitive)
Mount Point: /Volumes/VM
Capacity Consumed: 1073762304 B (1.1 GB)
FileVault: No
Styx2:~ kristelfeyder$
sudo tmutil thinlocalsnapshots / 99000000000 4 ; say 'ENFIN TERMINÉ LA PURGE'
Last login: Sun Nov 8 16:12:04 on ttys000
Styx2:~ kristelfeyder$ sudo tmutil thinlocalsnapshots / 99000000000 4 ; say 'ENFIN TERMINÉ LA PURGE'
Password:
Thinned local snapshots:
com.apple.TimeMachine.2020-11-08-160851
com.apple.TimeMachine.2020-11-08-150509
com.apple.TimeMachine.2020-11-08-140511
com.apple.TimeMachine.2020-11-08-130529
com.apple.TimeMachine.2020-11-08-120218
com.apple.TimeMachine.2020-11-08-110248
com.apple.TimeMachine.2020-11-07-231138
com.apple.TimeMachine.2020-11-07-201203
com.apple.TimeMachine.2020-11-07-191554
Styx2:~ kristelfeyder$
Last login: Sun Nov 8 16:54:17 on ttys000
Styx2:~ kristelfeyder$ diskutil ap listSnaps disk1s1
No snapshots for disk1s1
Styx2:~ kristelfeyder$
Styx2:~ kristelfeyder$ diskutil verifyVolume disk1
Started file system verification on disk1
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
Finished file system verification on disk1
Styx2:~ kristelfeyder$
diskutil list
-bash-3.2# diskutil list
/dev/disk0 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +2.1 GB disk0
1: Apple_HFS OS X Base System 2.0 GB disk0s1
/dev/disk1 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_APFS Container disk2 1.0 TB disk1s2
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +1.0 TB disk2
Physical Store disk1s2
1: APFS Volume Macintosh HD 614.9 GB disk2s1
2: APFS Volume Preboot 78.3 MB disk2s2
3: APFS Volume Recovery 1.6 GB disk2s3
4: APFS Volume VM 1.1 GB disk2s4
/dev/disk3 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +5.2 MB disk3
/dev/disk4 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk4
/dev/disk5 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk5
/dev/disk6 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk6
/dev/disk7 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk7
/dev/disk8 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk8
/dev/disk9 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk9
/dev/disk10 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +12.6 MB disk10
/dev/disk11 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +4.2 MB disk11
/dev/disk12 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk12
/dev/disk13 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk13
/dev/disk14 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk14
/dev/disk15 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk15
/dev/disk16 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk16
/dev/disk17 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk17
/dev/disk18 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk18
/dev/disk19 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk19
/dev/disk20 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk20
-bash-3.2# diskutil verifyVolume disk1s2
Started file system verification on disk1s2
Verifying storage system
Performing fsck_apfs -n -x /dev/disk1s2
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: (217921346+1) bitmap address (42448)
The volume /dev/disk1s2 appears to be OK
Storage system check exit code is 0
Finished file system verification on disk1s2
csrutil status
-bash-3.2# csrutil status
System Integrity Protection status: enabled.
-bash-3.2#
csrutil disable
sudo find -x / -d 1 -regex '.*[^\.\].*' -exec sudo du -shx {} +