df -H /
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk1s1 500G 178G 321G 36% 884346 9223372036853891461 0% /
sudo find -x / -d 1 -regex '.*[^\.\].*' -exec sudo du -shx {} +
df -H /
find: /.Spotlight-V100: Operation not permitted
find: /Library/Application Support/com.apple.TCC: Operation not permitted
find: /private/var/db/dslocal/nodes: Operation not permitted
find: /private/var/db/ConfigurationProfiles/Store: Operation not permitted
find: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/0: Operation not permitted
find: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/C: Operation not permitted
find: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted
find: /private/var/folders/n2/x5c8tn_92ssc8lczrb77hxfw0000gn/0/SafariFamily: Operation not permitted
find: /private/var/folders/n2/x5c8tn_92ssc8lczrb77hxfw0000gn/0/com.apple.LaunchServices.dv: Operation not permitted
find: /private/var/folders/n2/x5c8tn_92ssc8lczrb77hxfw0000gn/0/com.apple.nsurlsessiond: Operation not permitted
find: /private/var/folders/n2/x5c8tn_92ssc8lczrb77hxfw0000gn/0/com.apple.routined: Operation not permitted
find: /private/var/folders/n2/x5c8tn_92ssc8lczrb77hxfw0000gn/C/com.apple.QuickLook.thumbnailcache: Operation not permitted
0B /.HFS+ Private Directory Data
1,0K /home
511M /usr
du: /.Spotlight-V100: Operation not permitted
1,0K /net
16K /.DS_Store
0B /.PKInstallSandboxManager
0B /.PKInstallSandboxManager-SystemSoftware
2,5M /bin
71M /.adobeTemp
0B /installer.failurerequests
0B /Network
1,0M /sbin
0B /.file
0B /etc
0B /var
du: /Library/Application Support/com.apple.TCC: Operation not permitted
4,9G /Library
0B /.Trashes
7,6G /System
25M /.fseventsd
du: /private/var/db/dslocal/nodes: Operation not permitted
du: /private/var/db/ConfigurationProfiles/Store: Operation not permitted
du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/0: Operation not permitted
du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/C: Operation not permitted
du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted
du: /private/var/folders/n2/x5c8tn_92ssc8lczrb77hxfw0000gn/0/SafariFamily: Operation not permitted
du: /private/var/folders/n2/x5c8tn_92ssc8lczrb77hxfw0000gn/0/com.apple.LaunchServices.dv: Operation not permitted
du: /private/var/folders/n2/x5c8tn_92ssc8lczrb77hxfw0000gn/0/com.apple.nsurlsessiond: Operation not permitted
du: /private/var/folders/n2/x5c8tn_92ssc8lczrb77hxfw0000gn/0/com.apple.routined: Operation not permitted
du: /private/var/folders/n2/x5c8tn_92ssc8lczrb77hxfw0000gn/C/com.apple.QuickLook.thumbnailcache: Operation not permitted
3,7G /private
7,6M /.DocumentRevisions-V100
0B /.vol
77G /Users
21G /Applications
4,5K /dev
0B /Volumes
0B /.TemporaryItems
0B /tmp
0B /cores
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk1s1 500G 178G 319G 36% 885377 9223372036853890430 0% /
# diskutil list
/dev/disk0 (internal):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 500.3 GB disk0
1: EFI EFI 314.6 MB disk0s1
2: Apple_APFS Container disk1 500.0 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +500.0 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 491.7 GB disk1s1
2: APFS Volume Preboot 46.0 MB disk1s2
3: APFS Volume Recovery 512.8 MB disk1s3
4: APFS Volume VM 2.1 GB disk1s4
# df
Filesystem 512-blocks Used Available Capacity iused ifree %iused Mounted on
/dev/disk1s1 976490576 960386784 10502520 99% 1636012 9223372036853139795 0% /
devfs 379 379 0 100% 656 0 100% /dev
/dev/disk1s4 976490576 4194440 10502520 29% 2 9223372036854775805 0% /private/var/vm
map -hosts 0 0 0 100% 0 0 100% /net
map auto_home 0 0 0 100% 0 0 100% /home
# find -x / -d 1 -regex '.*[^\.\].*' -exec sudo du -shx {} +
find: /.Spotlight-V100: Operation not permitted
find: /Library/Application Support/com.apple.TCC: Operation not permitted
find: /private/var/db/dslocal/nodes: Operation not permitted
find: /private/var/db/ConfigurationProfiles/Store: Operation not permitted
find: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/0: Operation not permitted
find: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/C: Operation not permitted
find: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted
find: /private/var/folders/hs/fvy6944n16bb2zfp7hjrdrqm0000gn/0/SafariFamily: Operation not permitted
find: /private/var/folders/hs/fvy6944n16bb2zfp7hjrdrqm0000gn/0/com.apple.Safari/SafariFamily: Operation not permitted
find: /private/var/folders/hs/fvy6944n16bb2zfp7hjrdrqm0000gn/0/com.apple.LaunchServices.dv: Operation not permitted
find: /private/var/folders/hs/fvy6944n16bb2zfp7hjrdrqm0000gn/0/com.apple.nsurlsessiond: Operation not permitted
find: /private/var/folders/hs/fvy6944n16bb2zfp7hjrdrqm0000gn/0/com.apple.routined: Operation not permitted
find: /private/var/folders/hs/fvy6944n16bb2zfp7hjrdrqm0000gn/C/com.apple.QuickLook.thumbnailcache: Operation not permitted
...
find: /Users/andreas/Library/Caches/com.apple.Safari.SafeBrowsing: Operation not permitted
0B /.HFS+ Private Directory Data
1,0K /home
0B /Informations sur l’utilisateur
530M /usr
du: /.Spotlight-V100: Operation not permitted
1,0K /net
16K /.DS_Store
0B /.PKInstallSandboxManager
0B /.PKInstallSandboxManager-SystemSoftware
2,5M /bin
0B /installer.failurerequests
0B /Network
1,0M /sbin
0B /.file
0B /etc
0B /var
du: /Library/Application Support/com.apple.TCC: Operation not permitted
6,0G /Library
6,5G /System
4,0K /.OSInstallerMessages
23M /.fseventsd
du: /private/var/db/dslocal/nodes: Operation not permitted
du: /private/var/db/ConfigurationProfiles/Store: Operation not permitted
du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/0: Operation not permitted
du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/C: Operation not permitted
du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted
du: /private/var/folders/hs/fvy6944n16bb2zfp7hjrdrqm0000gn/0/SafariFamily: Operation not permitted
du: /private/var/folders/hs/fvy6944n16bb2zfp7hjrdrqm0000gn/0/com.apple.Safari/SafariFamily: Operation not permitted
...
du: /private/var/folders/hs/fvy6944n16bb2zfp7hjrdrqm0000gn/C/com.apple.QuickLook.thumbnailcache: Operation not permitted
3,0G /private
6,1M /.DocumentRevisions-V100
0B /.vol
42G /Users
18G /Applications
4,5K /dev
19M /Volumes
0B /tmp
0B /.dbfseventsd
0B /cores
# sudo tmutil thinlocalsnapshots / 99000000000000 4 ; say 'ENFIN TERMINÉ LA PURGE'
Thinned local snapshots:
# df -H /
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk1s1 500G 492G 5.3G 99% 1636284 9223372036853139523 0% /
# tmutil thinlocalsnapshots / 99000000000000 4 ; say 'ENFIN TERMINÉ LA PURGE'
Thinned local snapshots:
# 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 was formatted by hfs_convert (748.21.6) 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
error: btn: invalid btn_btree.bt_key_count (expected 9327512, actual 9327564)
fsroot tree is invalid
The volume /dev/disk0s2 could not be verified completely
Storage system check exit code is 0
Finished file system verification on disk1
# ls /Volumes
Macintosh HD Preboot
# sudo du -sh /Volumes/*
0B /Volumes/Macintosh HD
19M /Volumes/Preboot
csrutil disable
df -H /
sudo find -x / -d 1 -regex '.*[^\.\].*' -exec sudo du -shx {} +
tmutil listlocalsnapshots /
$ sudo df -H /
Password:
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk1s1 500G 491G 7.4G 99% 1631786 9223372036853144021 0% /
$ sudo find -x / -d 1 -regex '.*[^\.\].*' -exec sudo du -shx {} +
0B /.HFS+ Private Directory Data
1,0K /home
0B /Informations sur l’utilisateur
530M /usr
632M /.Spotlight-V100
1,0K /net
16K /.DS_Store
0B /.PKInstallSandboxManager
0B /.PKInstallSandboxManager-SystemSoftware
2,5M /bin
0B /installer.failurerequests
0B /Network
1,0M /sbin
0B /.file
0B /etc
0B /var
6,0G /Library
6,7G /System
4,0K /.OSInstallerMessages
23M /.fseventsd
3,1G /private
6,1M /.DocumentRevisions-V100
0B /.vol
418G /Users
18G /Applications
4,5K /dev
19M /Volumes
0B /tmp
0B /.dbfseventsd
0B /cores
$ tmutil listlocalsnapshots /
# du -shx /Users/andreas/*
...
380G /Users/andreas/Library
...
335G /Users/andreas/Library/Containers/com.apple.mail
chflags nohidden ~/Library