MacBook-Pro-de-Alan:~ adb$ diskutil ap listSnaps disk1s1
Snapshots for disk1s1 (6 found)
|
+-- AF600994-7734-4291-8213-26E2EAD34C7A
|   Name:        com.apple.TimeMachine.2020-04-27-082203.local
|   XID:         12045646
|   Purgeable:   Yes
|   NOTE:        This snapshot limits the minimum size of APFS Container disk1
|
+-- C96D3779-97B2-42AD-AB6B-89C2CF1524B5
|   Name:        com.apple.TimeMachine.2020-04-27-092110.local
|   XID:         12046275
|   Purgeable:   Yes
|
+-- 75548462-BA5C-4100-AF0B-F6F33C71D90A
|   Name:        com.apple.TimeMachine.2020-04-27-102118.local
|   XID:         12047066
|   Purgeable:   Yes
|
+-- 794508A7-0166-4AB8-8749-1C4677B4A7E0
|   Name:        com.apple.TimeMachine.2020-04-27-112918.local
|   XID:         12047825
|   Purgeable:   Yes
|
+-- 6C501721-97B6-4B67-8000-5CAC020859CE
|   Name:        com.apple.TimeMachine.2020-04-27-122248.local
|   XID:         12048570
|   Purgeable:   Yes
|
+-- 1CBA236C-384B-418C-A28F-7D66939685D8
    Name:        com.apple.TimeMachine.2020-04-27-132157.local
    XID:         12049418
    Purgeable:   YesTant que l'option Time Machine de sauvegarde automatique sera activée et tant que tu ne connecteras pas ton disque dur dédié à Time Machine, il y aura toutes les heures la création de snapshots.Je ne sais pas quoi faire du coup :/
sudo tmutil thinlocalsnapshots /System/Volumes/Data 99000000000000 4 ; say 'ENFIN TERMINÉ LA PURGE'diskutil ap listSnaps disk1s1No snapshots for disk1s1diskutil verifyVolume disk1Last login: Mon Apr 27 16:54:02 on ttys001
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
MacBook-Pro-de-Alan:~ adb$
MacBook-Pro-de-Alan:~ adb$
MacBook-Pro-de-Alan:~ adb$ diskutil verifyVolume disk1
Started file system verification on disk1
Verifying storage system
Using live mode
Performing fsck_apfs -n -x -l /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 - Données was formatted by diskmanagementd (945.250.134) 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
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
The volume Preboot was formatted by diskmanagementd (945.250.134) 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
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
The volume Recovery was formatted by diskmanagementd (945.250.134) 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
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
The volume VM was formatted by apfs.util (945.230.6) 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
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
The volume USS_DEFIANT was formatted by diskmanagementd (1412.81.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
Checking the fsroot tree
Verifying allocated space
The volume /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Finished file system verification on disk1
MacBook-Pro-de-Alan:~ adb$
MacBook-Pro-de-Alan:~ adb$csrutil statussudo find -x /System/Volumes/Data -d 1 -regex '.*[^\.\].*' -exec sudo du -shx {} +MacBook-Pro-de-Alan:~ adb$ sudo find -x /System/Volumes/Data -d 1 -regex '.*[^\.\].*' -exec sudo du -shx {} +
Password:
Sorry, try again.
Password:
find: /System/Volumes/Data/.Spotlight-V100: No such file or directory
find: /System/Volumes/Data/.PKInstallSandboxManager-SystemSoftware: No such file or directory
find: /System/Volumes/Data/.Trashes: No such file or directory
find: /System/Volumes/Data/mnt: No such file or directory
find: /System/Volumes/Data/.DocumentRevisions-V100: No such file or directory
find: /System/Volumes/Data/.TemporaryItems: No such file or directory
  0B    /System/Volumes/Data/sw
1,0K    /System/Volumes/Data/home
 16M    /System/Volumes/Data/usr
324M    /System/Volumes/Data/.Spotlight-V100
 16K    /System/Volumes/Data/.DS_Store
4,0K    /System/Volumes/Data/.installer-compatibility
  0B    /System/Volumes/Data/.PKInstallSandboxManager-SystemSoftware
1,7M    /System/Volumes/Data/.TempReceipt.bom
  0B    /System/Volumes/Data/.file
3,4G    /System/Volumes/Data/Library
  0B    /System/Volumes/Data/.Trashes
1,9G    /System/Volumes/Data/System
4,0K    /System/Volumes/Data/.OSInstallerMessages
  0B    /System/Volumes/Data/mnt
 22M    /System/Volumes/Data/.fseventsd
3,3G    /System/Volumes/Data/private
 28M    /System/Volumes/Data/.DocumentRevisions-V100
  0B    /System/Volumes/Data/.vol
151G    /System/Volumes/Data/Users
 21G    /System/Volumes/Data/Applications
  0B    /System/Volumes/Data/opt
  0B    /System/Volumes/Data/Volumes
  0B    /System/Volumes/Data/.TemporaryItems
  0B    /System/Volumes/Data/coresCe n'est pas une question de connexion du disque Time Machine. En tout cas, chez moi où le disque est connecté en permanence, j'ai toujours 24 snapshots.Tant que l'option Time Machine de sauvegarde automatique sera activée et tant que tu ne connecteras pas ton disque dur dédié à Time Machine, il y aura toutes les heures la création de snapshots.
Non, mais je vais vérifier quelque chose qui m'intrigue avec ces fichus snapshots.Mais est-ce vraiment important/utile ?
df -H /System/Volumes/DataMacBook-Pro-de-Alan:~ adb$ df -H /System/Volumes/Data
Filesystem     Size   Used  Avail Capacity iused      ifree %iused  Mounted on
/dev/disk1s1   251G   194G    44G    82%  452911 2448672449    0%   /System/Volumes/Data
MacBook-Pro-de-Alan:~ adb$
MacBook-Pro-de-Alan:~ adb$

 
	