Dernière édition par un modérateur:
diskutil list
Bonjour bdlapierre
Voici comment tu vas pouvoir fournir un tableau alternatif (plus parlant pour moi) de la situation de ton disque -->
- va à : Applications > Utilitaires > lance le «Terminal». Dans la fenêtre ouverte > saisis la commande (informative) :
et ↩︎ (presse la touche "Entrée" du clavier pour exécuter la commande)Bloc de code:diskutil list
- 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
ici :
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.
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 439.7 GB disk0s2
3: Microsoft Basic Data BOOTCAMP 40.5 GB disk0s3
4: Windows Recovery 514.9 MB disk0s4
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +439.7 GB disk1
Physical Store disk0s2
1: APFS Volume LAPTOP SSD 398.0 GB disk1s1
2: APFS Volume Preboot 19.3 MB disk1s2
3: APFS Volume Recovery 515.0 MB disk1s3
4: APFS Volume VM 2.1 GB disk1s4
Bonjour bdlapierre
Voici comment tu vas pouvoir fournir un tableau alternatif (plus parlant pour moi) de la situation de ton disque -->
- va à : Applications > Utilitaires > lance le «Terminal». Dans la fenêtre ouverte > saisis la commande (informative) :
et ↩︎ (presse la touche "Entrée" du clavier pour exécuter la commande)Bloc de code:diskutil list
- 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
ici :
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.
Oui, merci; je veux conserver les partitions WindowsEst-ce que -->
- tu veux conserver les 2 partitions n° 3 & n°4 dédiées à Windows ?
- récupérer seulement l'espace libre (19,4 Go) > qui a l'air de s'intercaler entre la partition apfs n°2 et la partition BOOTCAMP n°3 ?
diskutil ap resizeContainer disk1 0b
Alors tente cette commande (copier-coller direct) :
Bloc de code:diskutil ap resizeContainer disk1 0b
- la commande récupère tout l'espace libre directement subalterne à la partition apfs n°2
Poste l'affichage retourné --> qu'on voie ce qui s'est passé...
diskutil ap resizeContainer disk1 0b
Started APFS operation
Aligning grow delta to 19 350 114 304 bytes and targeting a new physical store size of 459 093 815 296 bytes
Determined the maximum size for the targeted physical store of this APFS Container to be 459 093 815 296 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 /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 snapshot 1 of 1
warning: apfs_num_files (1384788) is not valid (1384824)
warning: apfs_num_directories (331785) is not valid (331789)
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
error: Underallocation Detected on Main device: (63658210+1) bitmap address (7c9b2)
Space Verification failed
The volume /dev/disk0s2 could not be verified completely
Storage system check exit code is 0
Growing APFS Physical Store disk0s2 from 439 743 700 992 to 459 093 815 296 bytes
Modifying partition map
Growing APFS data structures
Finished APFS operation
diskutil list
Malgré une erreur détectée dans le système de fichiers apfs --> la récupération d'espace paraît avoir été effective.
Repasse un :
Bloc de code:diskutil list
- et poste le tableau --> qu'on voie ça...
diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 459.1 GB disk0s2
3: Microsoft Basic Data BOOTCAMP 40.5 GB disk0s3
4: Windows Recovery 514.9 MB disk0s4
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +459.1 GB disk1
Physical Store disk0s2
1: APFS Volume LAPTOP SSD 394.4 GB disk1s1
2: APFS Volume Preboot 20.8 MB disk1s2
3: APFS Volume Recovery 515.0 MB disk1s3
4: APFS Volume VM 2.1 GB disk1s4
2: Apple_APFS Container disk1 439.7 GB disk0s2
2: Apple_APFS Container disk1 459.1 GB disk0s2
Tu avais ceci -->
Bloc de code:2: Apple_APFS Container disk1 439.7 GB disk0s2
- et tu as cela -->
Bloc de code:2: Apple_APFS Container disk1 459.1 GB disk0s2
- (tout le reste étant constant)
=> la partition apfs a bien récupéré les près de 20 Go d'espace libre = problème résolu.