10.13 High Sierra Fusionner deux disques dur

Christophe P

Membre enregistré
22 Janvier 2021
6
0
44
Bonjour,

La question a déjà été posée, mais je préfère la reposer afin que ce soit adapté à ma configuration.
Je souhaiterai fusionner deux disques durs, un de 450 Go qui est quasiment vide et le second de 50 Go où est installé l'OS.
Je vous joint une copie du terminal.
Merci d'avance pour votre aide.

Bloc de code:
/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 disk2         450.0 GB   disk0s2
   3:                 Apple_APFS Container disk1         49.9 GB    disk0s3

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +49.9 GB    disk1
                                 Physical Store disk0s3
   1:                APFS Volume SOS                     23.9 GB    disk1s1
   2:                APFS Volume Preboot                 22.5 MB    disk1s2
   3:                APFS Volume Recovery                512.1 MB   disk1s3
   4:                APFS Volume VM                      20.5 KB    disk1s4

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +450.0 GB   disk2
                                 Physical Store disk0s2
   1:                APFS Volume Disque dur              5.2 GB     disk2s1
   2:                APFS Volume Preboot                 44.7 MB    disk2s2
   3:                APFS Volume Recovery                1.0 GB     disk2s3
   4:                APFS Volume VM                      24.6 KB    disk2s4
 
Dernière édition par un modérateur:
Bonjour Christophe

Il faut que tu clones d'abord SOS (Conteneur du bas) => dans Disque dur (Conteneur du haut). Puis > démarré sur Disque dur cloné > que tu supprimes le Conteneur du bas (SOS) avant de récupérer son espace au Conteneur du haut (Disque dur). Une récupération d'espace se faisant toujours de bas en haut sur un disque et pas l'inverse.

- il y a 5,2 Go d'occupation de Disque dur => s'agit-il de données sacrifiables ?​
 
Bonjour macomaniac,

Merci pour ta réponse, étant un peu novice pourrais-tu m'indiquer la marche à suivre pour faire tout ça ?

Concernant les 5,2 Go je n'en ai aucune, mais l'ordinateur est vide je viens de le récupérer donc je suppose que l'on peut les sacrifier.

Question bête, si je réinitialise l'ordinateur à l'origine est ce que cela résoudra ce problème de partition ?
 
Dernière édition par un modérateur:
Passe la commande (copier-coller) :
Bloc de code:
diskutil ap deleteContainer disk2 "Macintosh HD" ; diskutil ap convert disk0s2 ; diskutil list
  • la commande supprime le Conteneur du haut en reformatant un volume Macintosh HD standard > reconvertit Macintosh HD à l'apfs > ré-affiche le tableau des disques

Poste le retour complet de la commande.
 
Voilà le retour

Bloc de code:
Started APFS operation on disk2
Deleting APFS Container with all of its APFS Volumes
Unmounting Volumes
Unmounting Volume "Disque dur" on disk2s1
Unmounting Volume "Preboot" on disk2s2
Unmounting Volume "Recovery" on disk2s3
Unmounting Volume "VM" on disk2s4
Deleting Volumes
Deleting Container
Wiping former APFS disks
Switching content types
Reformatting former APFS disks
Initialized /dev/rdisk0s2 as a 419 GB case-insensitive HFS Plus volume with a 40960k journal
Mounting disk
1 new disk created or changed due to APFS operation
Disk from APFS operation: disk0s2
Finished APFS operation on disk2
Started APFS operation on disk0s2 Macintosh HD
Converting HFS Volume to an APFS Container which will export one APFS Volume
The target is the Journaled HFS+ volume "Macintosh HD" backed by the GPT partition disk0s2
The target is a data disk; it is not a macOS system disk
Found APFS EFI driver /usr/standalone/i386/apfs.efi to install into the APFS Container
The target is not encrypted
Unmounting disk0s2
Starting conversion from HFS to APFS
Performing apfs_hfs_convert -x --verbose=0x400 --efi /usr/standalone/i386/apfs.efi /dev/disk0s2
Reporting pre-conversion statistics
Reporting post-conversion statistics
Successfully finished conversion from HFS to APFS
Successful conversion in commit mode so will switch type to APFS
Setting type of disk0s2 to APFS
Changing the physical disk partition type in shared mode
Partition modification attempt count was 1
Opening and closing disk0s2 to terminate old content driver
Expecting the new APFS Container at Physical Store disk0s2
Confirmed existence of new unencrypted APFS Volume disk2s1
Mounting APFS Volume disk2s1
APFS Volume mount attempt result was 0
Exiting conversion operations with error code 0
Disk from APFS operation: disk2s1
Finished APFS operation on disk0s2 Macintosh HD
/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 disk2         449.9 GB   disk0s2
   3:                 Apple_APFS Container disk1         49.9 GB    disk0s3

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +49.9 GB    disk1
                                 Physical Store disk0s3
   1:                APFS Volume SOS                     24.2 GB    disk1s1
   2:                APFS Volume Preboot                 22.0 MB    disk1s2
   3:                APFS Volume Recovery                512.1 MB   disk1s3
   4:                APFS Volume VM                      20.5 KB    disk1s4

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +449.9 GB   disk2
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            1.0 MB     disk2s1
 
Parfait. Maintenant va à cette page internet : ☞Carbon Copy Cloner☜ (clique le lien rouge). Télécharge le logiciel et déplace-le dans les Applications. C'est un logiciel de clonage éprouvé. Tu as droit à une démo gratuite de 1 mois (sans restrictions logicielles) dont tu vas profiter.

----------

À présent lance CCC > et dans son panneau définis une tâche telle que :

  • SOURCE = SOS
  • DESTINATION = Macintosh HD
  • SafetyNet = Désactivé
  • Presse le bouton "Cloner"

Le logiciel va cloner SOS dans Macintosh HD > puis créer les volumes auxiliaires requis dans le Conteneur du haut.

- quand il t'annonce que c'est fini > redémarre la touche "alt" pressée pour obtenir l'écran de choix du volume de démarrage. Choisis : Macintosh HD > démarre dessus. Confirme si tu ouvres bien une session conforme à celle que tu viens de quitter. Si c'est le cas > repasse une commande :​
Bloc de code:
diskutil list
  • et poste le tableau des disques => qu'on supprime le Conteneur du bas et récupère son espace à celui du haut.
 
Ok je fais la manip et je poste ça

voilà le tableau des disques

Bloc de code:
/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 disk2         449.9 GB   disk0s2
   3:                 Apple_APFS Container disk1         49.9 GB    disk0s3

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +49.9 GB    disk1
                                 Physical Store disk0s3
   1:                APFS Volume SOS                     15.0 GB    disk1s1
   2:                APFS Volume Preboot                 22.0 MB    disk1s2
   3:                APFS Volume Recovery                512.1 MB   disk1s3
   4:                APFS Volume VM                      1.1 GB     disk1s4

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +449.9 GB   disk2
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            13.2 GB    disk2s1
   2:                APFS Volume PreBoot                 22.0 MB    disk2s2
   3:                APFS Volume Recovery                518.5 MB   disk2s3
   4:                APFS Volume VM                      20.5 KB    disk2s4
 
Passe la commande (copier-coller) :
Bloc de code:
diskutil ap deleteContainer disk1 ; diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk2 0b ; diskutil list
  • la commande supprime le Conteneur du bas => ce qui reformate un volume Untitled standard sur la partition du bas > supprime la partition du bas > récupère son espace au Conteneur du haut et à sa partition de base > ré-affiche le tableau des disques

Poste le retour intégral de la commande.
 
Voilà le retour

Bloc de code:
Started APFS operation on disk1
Deleting APFS Container with all of its APFS Volumes
Unmounting Volumes
Unmounting Volume "SOS" on disk1s1
Unmounting Volume "Preboot" on disk1s2
Unmounting Volume "Recovery" on disk1s3
Unmounting Volume "VM" on disk1s4
Deleting Volumes
Deleting Container
Wiping former APFS disks
Switching content types
Reformatting former APFS disks
Initialized /dev/rdisk0s3 as a 46 GB case-insensitive HFS Plus volume with a 8192k journal
Mounting disk
1 new disk created or changed due to APFS operation
Disk from APFS operation: disk0s3
Finished APFS operation on disk1
Started erase on disk0s3 Untitled
Unmounting disk
Finished erase on disk0
Started APFS operation
Aligning grow delta to 50 032 324 608 bytes and targeting a new physical store size of 499 898 105 856 bytes
Determined the maximum size for the targeted physical store of this APFS Container to be 499 897 077 760 bytes
Resizing APFS Container designated by APFS Container Reference disk2
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
warning: apfs_sb at apfs_fs_index (0): apfs_formatted_by.timestamp is invalid (1611397712000000000), is greater than current time (1611395644020335000)
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 3
Checking snapshot 2 of 3
Checking snapshot 3 of 3
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
Growing APFS Physical Store disk0s2 from 449 865 781 248 to 499 898 105 856 bytes
Modifying partition map
Growing APFS data structures
Finished APFS operation
/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 disk2         499.9 GB   disk0s2

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +499.9 GB   disk2
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            13.3 GB    disk2s1
   2:                APFS Volume PreBoot                 22.0 MB    disk2s2
   3:                APFS Volume Recovery                518.5 MB   disk2s3
   4:                APFS Volume VM                      20.5 KB    disk2s4