MacBook Pro 177 GB de système, est-ce normal ?

Tu peux passer la commande informative :
Bloc de code:
df -H /

  • qui mesure (en Go) l'occupation du volume démarré

Poste le retour.


Bloc de code:
MacBook-Pro-de-Antoine-5:~ pampleu$ df -H /
Filesystem     Size   Used  Avail Capacity iused               ifree %iused  Mounted on
/dev/disk1s1   200G   113G    84G    58% 1447347 9223372036853328460    0%   /
 
Tu es tombé de 177 Go d'occupation => à 113 Go. Gain : 64 Go

- mais je m'avise de quelque chose de plus : la partition apfs (et son Conteneur) ne fait que 200 Go > pour un disque de 251 Go de capacité. Il y a manifestement 50 Go d'espace libre hors partition.​

Passe la commande :
Bloc de code:
sudo gpt show disk0

  • qui affiche la distribution des blocs du disque

Poste le tableau => qui montrera l'emplacement de l'espace libre.
 
  • J’aime
Réactions: Pampleu
Tu es tombé de 177 Go d'occupation => à 113 Go. Gain : 64 Go

- mais je m'avise de quelque chose de plus : la partition apfs (et son Conteneur) ne fait que 200 Go > pour un disque de 251 Go de capacité. Il y a manifestement 50 Go d'espace libre hors partition.​

Passe la commande :
Bloc de code:
sudo gpt show disk0

  • qui affiche la distribution des blocs du disque

Poste le tableau => qui montrera l'emplacement de l'espace libre.

J'avais fais une partition windows il y a 1 an de 50Go, peut-être un rapport avec ça. Comment regagner cette espace ?

Bloc de code:
MacBook-Pro-de-Antoine-5:~ pampleu$ sudo gpt show disk0
Password:
     start      size  index  contents
         0         1         PMBR
         1         1         Pri GPT header
         2         4         Pri GPT table
         6     76800      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
     76806  48828154      2  GPT part - 7C3457EF-0000-11AA-AA11-00306543ECAC
  48904960  12374379         
  61279339         4         Sec GPT table
  61279343         1         Sec GPT header
 
La bande d'espace libre est là -->
Bloc de code:
  48904960  12374379

  • en fin de disque : elle commence au bloc n°48904960 (1er bloc libre après la partition apfs) > et a une extension de 12374379 blocs (octuples du bloc défaut de 512 octets > soit blocs de 4096 octets = 50,58 Go). Il s'agit manifestement d'une ancienne partition supprimée dont l'espace n'a pas été récupéré.

Passe la commande :
Bloc de code:
diskutil ap resizeContainer disk1 0b ; diskutil list

  • la commande récupère l'espace libre au Conteneur apfs et à sa partition de base disk0s2 > puis réaffiche la tableau des disques

Poste le retour intégral de la commande.
 
  • J’aime
Réactions: Pampleu
La bande d'espace libre est là -->
Bloc de code:
  48904960  12374379

  • en fin de disque : elle commence au bloc n°48904960 (1er bloc libre après la partition apfs) > et a une extension de 12374379 blocs (octuples du bloc défaut de 512 octets > soit blocs de 4096 octets = 50,58 Go). Il s'agit manifestement d'une ancienne partition supprimée dont l'espace n'a pas été récupéré.

Passe la commande :
Bloc de code:
diskutil ap resizeContainer disk1 0b ; diskutil list

  • la commande récupère l'espace libre au Conteneur apfs et à sa partition de base disk0s2 > puis réaffiche la tableau des disques

Poste le retour intégral de la commande.

Bloc de code:
MacBook-Pro-de-Antoine-5:~ pampleu$ iskutil ap resizeContainer disk1 0b ; diskutil list
-bash: iskutil: command not found
/dev/disk0 (internal):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                         251.0 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk1         200.0 GB   disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +200.0 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            116.8 GB   disk1s1
   2:                APFS Volume Preboot                 49.8 MB    disk1s2
   3:                APFS Volume Recovery                510.4 MB   disk1s3
   4:                APFS Volume VM                      3.2 GB     disk1s4
 
Bloc de code:
MacBook-Pro-de-Antoine-5:~ pampleu$ iskutil ap resizeContainer disk1 0b ; diskutil list
-bash: iskutil: command not found
/dev/disk0 (internal):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                         251.0 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk1         200.0 GB   disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +200.0 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            116.8 GB   disk1s1
   2:                APFS Volume Preboot                 49.8 MB    disk1s2
   3:                APFS Volume Recovery                510.4 MB   disk1s3
   4:                APFS Volume VM                      3.2 GB     disk1s4

Oups je me suis trompé dans la commande voilà le resultat:

Bloc de code:
MacBook-Pro-de-Antoine-5:~ pampleu$ diskutil ap resizeContainer disk1 0b ; diskutil list
Started APFS operation
Aligning grow delta to 50 685 456 384 bytes and targeting a new physical store size of 250 685 575 168 bytes
Determined the maximum size for the targeted physical store of this APFS Container to be 250 684 547 072 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 -S /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 newfs_apfs (748.30.63) and last modified by apfs_kext (945.275.7)
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 newfs_apfs (748.77.4) and last modified by apfs_kext (945.275.7)
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 newfs_apfs (748.77.4) and last modified by apfs_kext (945.275.7)
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 newfs_apfs (748.77.8) and last modified by apfs_kext (945.275.7)
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
Growing APFS Physical Store disk0s2 from 200 000 118 784 to 250 685 575 168 bytes
Modifying partition map
Growing APFS data structures
Finished APFS operation
/dev/disk0 (internal):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                         251.0 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk1         250.7 GB   disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +250.7 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            116.8 GB   disk1s1
   2:                APFS Volume Preboot                 49.8 MB    disk1s2
   3:                APFS Volume Recovery                510.4 MB   disk1s3
   4:                APFS Volume VM                      3.2 GB     disk1s4
 
Comme tu peux le voir => la partition apfs et le Conteneur qui s'en exporte comme espace-disque virtuel = 250,7 Go (au lieu des 200 Go du début) après la récupération réussie de l'espace libre -->

- tu as donc encore récupéré 50,7 Go. Le volume Macintosh HD étant occupé pour 116,8 Go --> 250,7 Go (capacité) - 116,8 Go (espace occupé) = 133,9 Go d'espace disponible.​

=> tu peux donc considérer tes problèmes de sur-occupation du disque comme réglés.
 
  • J’aime
Réactions: Pampleu
Comme tu peux le voir => la partition apfs et le Conteneur qui s'en exporte comme espace-disque virtuel = 250,7 Go (au lieu des 200 Go du début) après la récupération réussie de l'espace libre -->

- tu as donc encore récupéré 50,7 Go. Le volume Macintosh HD étant occupé pour 116,8 Go --> 250,7 Go (capacité) - 116,8 Go (espace occupé) = 133,9 Go d'espace disponible.​

=> tu peux donc considérer tes problèmes de sur-occupation du disque comme réglés.

Yes, merci beaucoup pour ton aide si précieuse !
Passe une agréable soirée et une bonne fin de week-end