10.14 Mojave Impossible d'utiliser BootCamp pour créer une partition Windows

Ça me renvoie une erreur :

Bloc de code:
diskutil ap resizeContainer disk2 1080g jhfs+ TEST 0b ; diskutil list internal
Started APFS operation
Aligning shrink delta to 19 999 997 952 bytes and targeting a new physical store size of 958 876 930 048 bytes
Determined the minimum size for the targeted physical store of this APFS Container to be 964 153 049 088 bytes
Error: -69521: Your APFS Container resize request is below the APFS-system-imposed minimal container size (perhaps caused by APFS Snapshot usage by Time Machine)
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *121.3 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk2         121.1 GB   disk0s2

/dev/disk1 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:                 Apple_APFS Container disk2         978.9 GB   disk1s2
   3:       Microsoft Basic Data BOOTCAMP                21.1 GB    disk1s3

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +1.1 TB     disk2
                                 Physical Stores disk0s2, disk1s2
   1:                APFS Volume Macintosh HD            935.8 GB   disk2s1
   2:                APFS Volume Preboot                 44.9 MB    disk2s2
   3:                APFS Volume Recovery                510.4 MB   disk2s3
   4:                APFS Volume VM                      20.5 KB    disk2s4
 
Je pense que ton Fusion Drive est corrompu. La solution consisterait à cloner la distribution interne actuelle sur un DDE USB > démarrer sur le clone > supprimer / recréer le Fusion Drive > cloner à rebours le clone dans le nouveau Conteneur interne.

- je ne sais pas si tu as un DDE USB de 1 To disponible ni si tu as envie d'effectuer cette manœuvre.​
 
Je pense que ton Fusion Drive est corrompu. La solution consisterait à cloner la distribution interne actuelle sur un DDE USB > démarrer sur le clone > supprimer / recréer le Fusion Drive > cloner à rebours le clone dans le nouveau Conteneur interne.

- je ne sais pas si tu as un DDE USB de 1 To disponible ni si tu as envie d'effectuer cette manœuvre.​

Je n’ai pas de DDE...
Tu recommandes la manip ? A part résoudre mon problème de BootCamp ça aiderait à améliorer les performances ?
Il y a un risque de perdre quelque chose dans la manip ?
Merci !
 
Pas de risque de perte de données. Pas de perspective d'amélioration de performances non plus. Simplement un débocage de la possibilité de partitionner à la hauteur de l'espace libre disponible.
 
Bon, et bien je vais réfléchir à investir dans un DDE...
En attendant, une commande pour supprimer la mini partition créée ?
 
Passe la commande (copier-coller) :
Bloc de code:
diskutile eraseVolume free null disk1s3 ; diskutil ap resizeContainer disk2 0b ; diskutil list internal
  • la commande supprime la partition BOOTCAMP > récupère son espace au Conteneur du Fusion Drive > réaffiche la configuration interne

Poste le retour.
 
Et voilà la boucle (normalement) bouclée...

Bloc de code:
diskutile eraseVolume free null disk1s3 ; diskutil ap resizeContainer disk2 0b ; diskutil list internal
-bash: diskutile: command not found
Started APFS operation
Aligning grow delta to 204 800 bytes and targeting a new physical store size of 978 877 132 800 bytes
Determined the maximum size for the targeted physical store of this APFS Container to be 978 877 132 800 bytes
Resizing APFS Container designated by APFS Container Reference disk2
The specific APFS Physical Store being resized is disk1s2
Verifying storage system
Using live mode
Performing fsck_apfs -n -x -l -S /dev/disk0s2
Checking the container superblock
Checking the fusion superblock
Checking the EFI jumpstart record
Checking the space manager
Checking the space manager free queue trees
Checking the object map
Checking the Fusion data structures
Checking volume
Checking the APFS volume superblock
The volume Macintosh HD was formatted by hfs_convert (945.275.7) 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 hfs_convert (945.275.7) 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 diskmanagementd (945.275.7) 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 apfs.util (945.275.7) 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 disk1s2 from 978 876 928 000 to 978 877 132 800 bytes
Modifying partition map
Growing APFS data structures
Finished APFS operation
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *121.3 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk2         121.1 GB   disk0s2

/dev/disk1 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:                 Apple_APFS Container disk2         978.9 GB   disk1s2
   3:       Microsoft Basic Data BOOTCAMP                21.1 GB    disk1s3

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +1.1 TB     disk2
                                 Physical Stores disk0s2, disk1s2
   1:                APFS Volume Macintosh HD            935.5 GB   disk2s1
   2:                APFS Volume Preboot                 44.9 MB    disk2s2
   3:                APFS Volume Recovery                510.4 MB   disk2s3
   4:                APFS Volume VM                      20.5 KB    disk2s4
 
Sauf que j'avais fait un lapsus calami en début de commande en écrivant diskutile ou lieu de diskutil :hilarious:

- passe la commande éditée -->​
Bloc de code:
diskutil eraseVolume free null disk1s3 ; diskutil ap resizeContainer disk2 0b ; diskutil list internal
  • et poste le retour
 
:eek:
En même temps j'aurais pu m'en rendre compte...

Bloc de code:
diskutil eraseVolume free null disk1s3 ; diskutil ap resizeContainer disk2 0b ; diskutil list internal
Started erase on disk1s3 BOOTCAMP
Unmounting disk
Finished erase on disk1
Started APFS operation
Aligning grow delta to 21 117 997 056 bytes and targeting a new physical store size of 999 995 129 856 bytes
Determined the maximum size for the targeted physical store of this APFS Container to be 999 994 101 760 bytes
Resizing APFS Container designated by APFS Container Reference disk2
The specific APFS Physical Store being resized is disk1s2
Verifying storage system
Using live mode
Performing fsck_apfs -n -x -l -S /dev/disk0s2
Checking the container superblock
Checking the fusion superblock
Checking the EFI jumpstart record
Checking the space manager
Checking the space manager free queue trees
Checking the object map
Checking the Fusion data structures
Checking volume
Checking the APFS volume superblock
The volume Macintosh HD was formatted by hfs_convert (945.275.7) 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 hfs_convert (945.275.7) 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 diskmanagementd (945.275.7) 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 apfs.util (945.275.7) 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 disk1s2 from 978 877 132 800 to 999 995 129 856 bytes
Modifying partition map
Growing APFS data structures
Finished APFS operation
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *121.3 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk2         121.1 GB   disk0s2

/dev/disk1 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:                 Apple_APFS Container disk2         1000.0 GB  disk1s2

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +1.1 TB     disk2
                                 Physical Stores disk0s2, disk1s2
   1:                APFS Volume Macintosh HD            935.6 GB   disk2s1
   2:                APFS Volume Preboot                 44.9 MB    disk2s2
   3:                APFS Volume Recovery                510.4 MB   disk2s3
   4:                APFS Volume VM                      20.5 KB    disk2s4
 
Ça a marché cette fois-ci : le Conteneur a retrouvé sa taille de départ.