MacBook Pro Partition Disque

MatD3

Membre enregistré
30 Décembre 2018
8
0
24
Hi guys !

J'ai acheté hier un MBP 2017 8go 256 et en regardant tout les détails ce matin je m'aperçois d'une drôle de configuration au niveau du SSD.
Il m'indique 195go de libres sur ... 210go! où sont passés les 46 autres ?
Capture d’écran 2018-12-30 à 10.02.42.png
Quelqu'un aurait-il une piste ?

Amicalement,

Mat !
 
Bonjour Mat

Voici comment tu vas pouvoir fournir les informations de base -->

- va à : Applications > Utilitaires > lance le «Terminal». Dans la fenêtre ouverte > saisis la commande (informative) :
Bloc de code:
diskutil list
et ↩︎ (presse la touche "Entrée" du clavier pour exécuter la commande)

  • tu vas voir s'afficher le tableau des disques attachés au Mac (en interne / externe) > avec leurs paramètres de tables de partition > partitions > Conteneur CoreStorage si présent > Conteneur apfs si présent

Poste ce tableau ici en copier-coller (pas de capture) > mais attention ! > avant de faire ton coller -->
  • dans la page de ce fil de MacGé > presse le bouton
    524315_original.png
    ici :
    521520_original.png

    menu  : </> Code > par ⌘V colle dans la fenêtre Code > presse le bouton Insérer (ce procédé permet un affichage fenêtré qui économise l'espace de page en respectant la mise en forme des tableaux du «Terminal» --> d'où une plus grande lisibilité)

=> ces informations montreront la configuration du disque.
 
Est ce que c'est bon comme cela ?

Bloc de code:
/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         210.0 GB   disk0s2
   3:                  Apple_HFS OSXRESERVED             7.9 GB     disk0s3

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +210.0 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            12.5 GB    disk1s1
   2:                APFS Volume Preboot                 68.3 MB    disk1s2
   3:                APFS Volume Recovery                1.0 GB     disk1s3
   4:                APFS Volume VM                      1.1 GB     disk1s4
 
Dernière édition par un modérateur:
Passe la commande (copier-coller) :
Bloc de code:
diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk1 0b ; diskutil ilst

  • cette commande concaténée : a) supprime la partition n°3 (volume OSXRESERVED) > b) récupère tout l'espace libre dégagé au Conteneur apfs et à sa partition physique disk0s2 > c) réaffiche le tableau des disques

Poste l'ensemble de l'affichage retourné.
 
Bloc de code:
MBP-de-Mathis:~ mathisdabbene$ diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk1 0b ; diskutil ils
Started erase on disk0s3 OSXRESERVED
Unmounting disk
Finished erase on disk0
Started APFS operation
Aligning grow delta to 40 686 235 648 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 diskmanagementd (945.230.6) and last modified by apfs_kext (945.230.6)
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.21.6) and last modified by apfs_kext (945.230.6)
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.21.6) and last modified by apfs_kext (945.230.6)
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.21.6) and last modified by apfs_kext (945.230.6)
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
warning: Overallocation Detected on Main device: (28912295+1) bitmap address (f7fb)
Performing deferred repairs
The volume /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Growing APFS Physical Store disk0s2 from 209 999 339 520 to 250 685 575 168 bytes
Modifying partition map
Growing APFS data structures
Finished APFS operation
diskutil: did not recognize verb "ils"; type "diskutil" for a list
 
Bloc de code:
MBP-de-Mathis:~ mathisdabbene$ diskutil list
/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            12.5 GB    disk1s1
   2:                APFS Volume Preboot                 68.3 MB    disk1s2
   3:                APFS Volume Recovery                1.0 GB     disk1s3
   4:                APFS Volume VM                      1.1 GB     disk1s4
 
Problème résolu -->
Bloc de code:
/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

  • Bonnes Fêtes !
 
Ce partitionnement primaire de départ sur le disque -->
Bloc de code:
/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         210.0 GB   disk0s2
   3:                  Apple_HFS OSXRESERVED             7.9 GB     disk0s3

  • montrait une partition OSXRESERVED de 7,9 Go en-dessous de la partition physique de l'apfs. Il y avait donc encore dans les 33 Go d'espace libre hors partition > peut-être en-dessous de la partition n°3 qui faisait tampon à sa récupération. Probablement les reliquats d'une installation de BOOTCAMP ratée ou mal supprimée.

=> supprimer la partition OSXRESERVED équivalait à créer une bande continue de 41 Go de blocs libres en-dessous de la partition apfs. Ajouter une commande de récupération de l'espace libre disponible permettait de réintégrer ces blocs à l'apfs.