10.13 High Sierra espace disque qui ne bouge pas ?

OK merci alors voici la premiere :

Bloc de code:
Filesystem     Size   Used  Avail Capacity iused               ifree %iused  Mounted on
/dev/disk1s1   1.0T   921G    77G    93% 1719431 9223372036853056376    0%   /
 
Bloc de code:
sudo find -x / -d 1 -regex '.*[^\.\].*' -exec sudo du -shx {} +
  0B    /.HFS+ Private Directory Data
1,0K    /home
513M    /usr
32M    /.Spotlight-V100
1,0K    /net
20K    /.DS_Store
  0B    /.PKInstallSandboxManager
  0B    /.PKInstallSandboxManager-SystemSoftware
2,6M    /bin
9,4M    /Incompatible Software
4,0K    /installer.failurerequests
  0B    /Network
1,2M    /sbin
  0B    /.file
  0B    /etc
  0B    /var
13G    /Library
  0B    /.Trashes
8,7G    /System
524K    /.fseventsd
du: /private/var/db/ConfigurationProfiles/Store: Operation not permitted
du: /private/var/folders/gh/9_gt72dd135fsr8mcqx1lrsh0000gn/0/SafariFamily: Operation not permitted
du: /private/var/folders/gh/9_gt72dd135fsr8mcqx1lrsh0000gn/0/com.apple.LaunchServices.dv: Operation not permitted
du: /private/var/folders/gh/9_gt72dd135fsr8mcqx1lrsh0000gn/0/com.apple.nsurlsessiond: Operation not permitted
du: /private/var/folders/gh/9_gt72dd135fsr8mcqx1lrsh0000gn/0/com.apple.routined: Operation not permitted
du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted
du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000s4000069/0/com.apple.nsurlsessiond: Operation not permitted
du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000s4000069/0/com.apple.routined: Operation not permitted
5,5G    /private
61M    /.DocumentRevisions-V100
  0B    /.vol
 
Bloc de code:
0B    /.vol
470G    /Users
9,1M    /Movies
37G    /Applications
5,0K    /dev
8,0K    /Volumes
  0B    /tmp
  0B    /.dbfseventsd
  0B    /cores


il manquait la fin de la 2 eme sorry
 
et voici la 3 eme commande
Bloc de code:
MBP-de-Laurent:~ Laurent$ tmutil listlocalsnapshots /
com.bombich.ccc.212BE724-4291-4C65-B58E-23241140FA9F.2019-01-21-102817
 
Il y a donc 921 Go de blocs occupés. En regard --> 534,7 Gi = 574 Go de fichiers catalogués. Soit une sur-allocation de blocs occupés de 347 Go.

- tu as un snapshot (instantané du volume) de type Carbon Copy Cloner stocké dans un magasin de l'apfs (hors du volume). Il retient à l'état occupé tous les blocs du volume porteurs des fichiers à l'instant T de la prise de l'instantané. Ta suppression de fichiers de ces blocs --> ne les a donc pas libérés au statut de blocs libres > mais a généré un espace occupé "fantôme" dans le volume : des blocs occupés sans fichiers catalogués recensés dessus.​

=> en conséquence : il faut supprimer le snapshot ccc pour éliminer l'espace occupé fantôme --> partant pour ?
 
Alors lance Carbon Copy Cloner. Dans son panneau > colonne de gauche > section inférieure VOLUMES --> sélectionne ton volume Macintosh HD.

L'espace de droite du panneau se modifie en rapport -->

- en bas > fais glisser le curseur des Instantanés CCC --> pour que s'affiche le OFF (et pas le ON) = désactivation de la conservation automatique du snapshot créé au départ de tout clonage comme constituant la source du clonage.​

- en haut > tu vois listé le snapshot : com.bombich.ccc.212BE724-4291-4C65-B58E-23241140FA9F.2019-01-21-102817. Sélectionne-le et presse la touche de suppression du clavier. Attends que l'instantané ait été supprimé.​

Redémarre une fois. Ta session ré-ouverte > repasse la commande :
Bloc de code:
df -H /

  • qui mesure l'occupation des blocs du volume de démarrage

Poste le tableau.
 
  • J’aime
Réactions: downtownlolo
OK ! ca va bcp mieux ... :)
Merci

Bloc de code:
Filesystem     Size   Used  Avail Capacity iused               ifree %iused  Mounted on
/dev/disk1s1   1.0T   544G   455G    55% 1719620 9223372036853056187    0%   /
 
  • J’aime
Réactions: litobar71
Tu n'as plus que 544 Go de blocs occupés. Soit un gain de 921 Go - 544 Go = 377 Go d'espace libre sur la situation de départ. 455 Go d'espace libre en tout.

- est-ce que tu veux examiner d'autres questions ? - ou est-ce que ton problème est résolu ?​
 
Hello petit déterrage de post.
Il me semble avoir le meme souci et avant d'aller tripoter je preferes demander l'avis aux pro : voila ce que j'obtiens avec les commandes :
df -H /
sudo find -x / -d 1 -regex '.[^\.\].' -exec sudo du -shx {} +
tmutil listlocalsnapshots /

Bloc de code:
find: /private/var/db/ConfigurationProfiles/Store: Operation not permitted
find: /private/var/folders/5n/rfcl4c7x3lq27hlll0pnf9cw0000gn/0/SafariFamily: Operation not permitted
find: /private/var/folders/5n/rfcl4c7x3lq27hlll0pnf9cw0000gn/0/com.apple.LaunchServices.dv: Operation not permitted
find: /private/var/folders/5n/rfcl4c7x3lq27hlll0pnf9cw0000gn/0/com.apple.nsurlsessiond: Operation not permitted
find: /private/var/folders/5n/rfcl4c7x3lq27hlll0pnf9cw0000gn/0/com.apple.routined: Operation not permitted
find: /private/var/folders/5n/rfcl4c7x3lq27hlll0pnf9cw0000gn/C/com.apple.WebKit.WebContent.Sandbox: Operation not permitted
find: /private/var/folders/5n/rfcl4c7x3lq27hlll0pnf9cw0000gn/C/com.apple.WebKit.Networking.Sandbox: Operation not permitted
find: /private/var/folders/5f/pnrhd4093xnff17hwnwn8cpc0000gq/0/com.apple.LaunchServices.dv: Operation not permitted
find: /private/var/folders/5f/pnrhd4093xnff17hwnwn8cpc0000gq/0/com.apple.nsurlsessiond: Operation not permitted
find: /private/var/folders/5f/pnrhd4093xnff17hwnwn8cpc0000gq/0/com.apple.routined: Operation not permitted
find: /private/var/folders/nz/nl40gjbd7cs3lw7rg35hswgc0000gr/0/com.apple.LaunchServices.dv: Operation not permitted
find: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted
find: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000s4000069/0/com.apple.nsurlsessiond: Operation not permitted
find: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000s4000069/0/com.apple.routined: Operation not permitted
find: /private/var/folders/d2/zg8kxvd567g7f5g6ns0smsk80000gp/0/com.apple.LaunchServices.dv: Operation not permitted
4,0K    /statistic.log.3.gz
  0B    /.HFS+ Private Directory Data
1,0K    /home
600M    /usr
498M    /.Spotlight-V100
1,0K    /net
12K    /.DS_Store
  0B    /.PKInstallSandboxManager-SystemSoftware
4,0K    /statistic.log.2.gz
2,6M    /bin
4,0K    /installer.failurerequests
  0B    /Network
  0B    /statistic.log
1,2M    /sbin
  0B    /.file
  0B    /etc
  0B    /var
4,9G    /Library
  0B    /.Trashes
6,5G    /System
8,0K    /.com_kaspersky_iswift_journal
12M    /.fseventsd
du: /private/var/db/ConfigurationProfiles/Store: Operation not permitted
du: /private/var/folders/5n/rfcl4c7x3lq27hlll0pnf9cw0000gn/0/SafariFamily: Operation not permitted
du: /private/var/folders/5n/rfcl4c7x3lq27hlll0pnf9cw0000gn/0/com.apple.LaunchServices.dv: Operation not permitted
du: /private/var/folders/5n/rfcl4c7x3lq27hlll0pnf9cw0000gn/0/com.apple.nsurlsessiond: Operation not permitted
du: /private/var/folders/5n/rfcl4c7x3lq27hlll0pnf9cw0000gn/0/com.apple.routined: Operation not permitted
du: /private/var/folders/5n/rfcl4c7x3lq27hlll0pnf9cw0000gn/C/com.apple.WebKit.WebContent.Sandbox: Operation not permitted
du: /private/var/folders/5n/rfcl4c7x3lq27hlll0pnf9cw0000gn/C/com.apple.WebKit.Networking.Sandbox: Operation not permitted
du: /private/var/folders/5f/pnrhd4093xnff17hwnwn8cpc0000gq/0/com.apple.LaunchServices.dv: Operation not permitted
du: /private/var/folders/5f/pnrhd4093xnff17hwnwn8cpc0000gq/0/com.apple.nsurlsessiond: Operation not permitted
du: /private/var/folders/5f/pnrhd4093xnff17hwnwn8cpc0000gq/0/com.apple.routined: Operation not permitted
du: /private/var/folders/nz/nl40gjbd7cs3lw7rg35hswgc0000gr/0/com.apple.LaunchServices.dv: Operation not permitted
du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted
du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000s4000069/0/com.apple.nsurlsessiond: Operation not permitted
du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000s4000069/0/com.apple.routined: Operation not permitted
du: /private/var/folders/d2/zg8kxvd567g7f5g6ns0smsk80000gp/0/com.apple.LaunchServices.dv: Operation not permitted
3,0G    /private
88M    /.DocumentRevisions-V100
  0B    /.vol
182G    /Users
7,4G    /Applications
175M    /opt
8,0K    /dev
8,0K    /Volumes
4,0K    /statistic.log.1.gz
  0B    /tmp
4,0K    /statistic.log.0.gz
  0B    /.dbfseventsd
4,0K    /statistic.log.4.gz
  0B    /cores

Edit : j ai appliquer la manip pour effacer les snapshots TimeMachine et je viens de recupérer de l espace.
Par contre je m'interroge sur les :"operation not permitted" : normal ?

merci d'avance.
 
Dernière édition:
Bonjour Manulight

Les "operation not permitted" signent l'activation du SIP (protocole de sécurisation). Il dénie l'accès en lecture de la commande du => à des dossiers protégés de l'OS (ce qui fausse les résultats et gâche la sobriété du tableau final).

----------

Pour désactiver le SIP > redémarre > les 2 touches ⌘R (cmd R) tenues pressées de l'écran noir => à la  = démarrage sur l'OS de secours. Tu obtiens un écran affichant une fenêtre de 4 Utilitaires macOS. Va à la barre de menus supérieure de l'écran > Menu Utilitaires > sous-menu : Terminal.

Lance-le et passe la commande :
Bloc de code:
csrutil disable

  • qui désactive le SIP

Cela fait > quitte le Terminal > va à : Menu  > Redémarrer.

----------

De retour dans ta session > repasse la commande (copier-coller) :
Bloc de code:
sudo find -x / -d 1 -regex '.*[^\.\].*' -exec sudo du -shx {} +

  • et reposte le tableau résultant.
 
Bonjour Macomaniac.

merci pour ton aide.

J'ai déactivé le SIP et voila le tableau.

Bloc de code:
4,0K    /statistic.log.3.gz
  0B    /.HFS+ Private Directory Data
1,0K    /home
600M    /usr
1,3G    /.Spotlight-V100
1,0K    /net
 12K    /.DS_Store
4,0K    /reportNotification.conf
  0B    /.PKInstallSandboxManager-SystemSoftware
4,0K    /statistic.log.2.gz
2,6M    /bin
4,0K    /installer.failurerequests
  0B    /Network
  0B    /statistic.log
1,2M    /sbin
  0B    /.file
  0B    /etc
  0B    /var
4,9G    /Library
4,0K    /productimprovement.conf
  0B    /.Trashes
6,7G    /System
8,0K    /.com_kaspersky_iswift_journal
4,0K    /.fseventsd
2,8G    /private
 88M    /.DocumentRevisions-V100
  0B    /.vol
221G    /Users
 12G    /Applications
175M    /opt
8,0K    /dev
8,5K    /Volumes
4,0K    /bookmark_js.conf
4,0K    /statistic.log.1.gz
4,0K    /softwareupdate.conf
  0B    /tmp
4,0K    /uploadcaa.conf
4,0K    /statistic.log.0.gz
  0B    /.dbfseventsd
4,0K    /statistic.log.4.gz
  0B    /cores

Pour info j'ai reussi à monté la partition BootCamp.
Merci d'avance.
 
Pour que je puisse effectuer un comparatif > passe aussi les 2 commandes :
Bloc de code:
diskutil list
df -H /

  • qui affichent : la configuration des disques & l'occupation des blocs du volume démarré

Poste les 2 retours.
 
Voila le retour :

Bloc de code:
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         350.0 GB   disk0s2
   3:       Microsoft Basic Data BOOTCAMP                149.8 GB   disk0s3
   4:         Microsoft Reserved                         16.8 MB    disk0s4

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +350.0 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Mac Manu                246.4 GB   disk1s1
   2:                APFS Volume Preboot                 20.6 MB    disk1s2
   3:                APFS Volume Recovery                512.0 MB   disk1s3
   4:                APFS Volume VM                      5.4 GB     disk1s4

$ df -H /
Filesystem     Size   Used  Avail Capacity iused               ifree %iused  Mounted on
/dev/disk1s1   350G   246G    98G    72% 1530892 9223372036853244915    0%   /
 
Le volume Mac Manu est en format apfs. 246 Go de blocs occupés. En regard : 249,5 Gi = 268 Go de fichiers catalogués.

- ce qui donne donc une sous-allocation de blocs occupés (par rapport à la taille des fichiers recensés) de : 268 Go - 246 Go = 22 Go. Un état de faits rare (il y a bien plus souvent sur-allocation de blocs occupés) > mais déjà attesté.​

Passe la commande :
Bloc de code:
diskutil verifyVolume disk1

  • qui vérifie l'apfs du Conteneur et de ses 4 volumes

Poste le retour.
 
Dernière édition par un modérateur:
voila le retour :
Bloc de code:
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
 
Aucune erreur dans l'apfs.

- j'ai pourtant recompté 2 fois à la calculette : j'ai bien trouvé chaque fois les 249,5 Gi de fichiers (la commande du mesure toujours exclusivement en Gi = gibibytes : base 2) = 268 Go de fichiers. La sous-allocation de blocs occupés ne s'explique donc pas par une erreur dans l'apfs.​

Ce point à part --> est-ce que de ton côté tu trouves un problème question stockage ?
 
Y a eu le phénomène de la série de Snapshots de timemachine.
Mais je pense que je vais réinstaller ma machine car ça fait un moment que je l'ai monté et que je me rend compte que j'ai des trucs bizarre dans ma messagerie.

Merci beaucoup pour ton aide.