M 
		
				
				
			
		Membre supprimé 1060554
Invité
Relis mon message précédent et tu comprendras qu'il te faut aller à la barre supérieure des menus > menu : Utilitaires.
	
		
			
		
		
	
				
			-bash-3.2# diskutil list internal
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.3 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk2         500.0 GB   disk0s2
/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +500.0 GB   disk2
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD - Data ... 255.5 GB   disk2s2
   2:                APFS Volume Preboot                 82.2 MB    disk2s3
   3:                APFS Volume Recovery                529.0 MB   disk2s4
   4:                APFS Volume VM                      4.3 GB     disk2s5
   5:                APFS Volume Macintosh HD            15.0 GB    disk2s7
   6:                APFS Volume Macintosh HD - Data     11.2 GB    disk2s8
-bash-3.2#
	diskutil list internal
	diskutil ap deleteVolume disk2s7
	diskutil list internal
	diskutil list internal
	diskutil ap deleteVolume disk2s7
	diskutil list internal
	  [Restauré 9 nov. 2021 à 09:45:56]
Last login: Tue Nov  9 09:45:53 on console
alexandre@MBPdeAlexandre ~ % diskutil list internal
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.3 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk1         500.0 GB   disk0s2
/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +500.0 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD - Data ... 255.6 GB   disk1s2
   2:                APFS Volume Preboot                 82.2 MB    disk1s3
   3:                APFS Volume Recovery                529.0 MB   disk1s4
   4:                APFS Volume VM                      2.1 GB     disk1s5
   5:                APFS Volume Macintosh HD - Data     11.2 GB    disk1s8
alexandre@MBPdeAlexandre ~ %
	oui je veux le monter pour explorer son contenuEst-ce que tu veux le monter pour explorer son contenu ? - ou est-ce que tu préfères le supprimer tel quel ?
diskutil rename disk1s2 "Macintosh HD - Data" ; diskutil rename disk1s8 "Macintosh HD" ; diskutil list internal
	alexandre@MBPdeAlexandre ~ % diskutil rename disk1s2 "Macintosh HD - Data" ; diskutil rename disk1s8 "Macintosh HD" ; diskutil list internal
Volume on disk1s2 renamed to Macintosh HD - Data
Volume on disk1s8 renamed to Macintosh HD
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.3 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk1         500.0 GB   disk0s2
/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +500.0 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD - Data     255.7 GB   disk1s2
   2:                APFS Volume Preboot                 82.2 MB    disk1s3
   3:                APFS Volume Recovery                529.0 MB   disk1s4
   4:                APFS Volume VM                      2.1 GB     disk1s5
   5:                APFS Volume Macintosh HD            11.2 GB    disk1s8
alexandre@MBPdeAlexandre ~ %
	diskutil list
	/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *121.3 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk1         84.0 GB    disk0s2
   3:                 Apple_APFS Container disk3         37.0 GB    disk0s3
/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +84.0 GB    disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD - Donné... 56.6 GB    disk1s1
   2:                APFS Volume Preboot                 84.4 MB    disk1s2
   3:                APFS Volume Recovery                529.0 MB   disk1s3
   4:                APFS Volume VM                      3.2 GB     disk1s4
   5:                APFS Volume Macintosh HD - Données  11.3 GB    disk1s7
/dev/disk2 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +13.2 GB    disk2
   1:                        EFI EFI                     209.7 MB   disk2s1
   2:                  Apple_HFS Shared Support          12.8 GB    disk2s2
/dev/disk3 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +37.0 GB    disk3
                                 Physical Store disk0s3
	   2:                 Apple_APFS Container disk1         84.0 GB    disk0s2
   3:                 Apple_APFS Container disk3         37.0 GB    disk0s3
	/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +84.0 GB    disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD - Donné... 56.6 GB    disk1s1
   2:                APFS Volume Preboot                 84.4 MB    disk1s2
   3:                APFS Volume Recovery                529.0 MB   disk1s3
   4:                APFS Volume VM                      3.2 GB     disk1s4
   5:                APFS Volume Macintosh HD - Données  11.3 GB    disk1s7
	/dev/disk3 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +37.0 GB    disk3
                                 Physical Store disk0s3
	Tout ce qui pourra me faire gagner de la placeTu as 2 partitions de type apfs échelonnées sur le disque -->
Bloc de code:2: Apple_APFS Container disk1 84.0 GB disk0s2 3: Apple_APFS Container disk3 37.0 GB disk0s3
- celle de 84 Go exportant un Conteneur recelant une distribution à 5 volumes de Catalina -->
 Bloc de code:/dev/disk1 (synthesized): #: TYPE NAME SIZE IDENTIFIER 0: APFS Container Scheme - +84.0 GB disk1 Physical Store disk0s2 1: APFS Volume Macintosh HD - Donné... 56.6 GB disk1s1 2: APFS Volume Preboot 84.4 MB disk1s2 3: APFS Volume Recovery 529.0 MB disk1s3 4: APFS Volume VM 3.2 GB disk1s4 5: APFS Volume Macintosh HD - Données 11.3 GB disk1s7
- celle de 37 Go exportant un Conteneur sans volume utile -->
 Bloc de code:/dev/disk3 (synthesized): #: TYPE NAME SIZE IDENTIFIER 0: APFS Container Scheme - +37.0 GB disk3 Physical Store disk0s3
- d'accord pour supprimer la partition apfs inutile du bas > et pour récupérer son espace à la partition apfs en service du haut ?
 
diskutil ap deleteContainer disk3 ; diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk1 0b ; diskutil list
	Bonjour Macomaniac,@ Apia
Renommages réussis. Tout est en ordre à présent et tu n'as plus rien à faire.
Passe la commande (copier-coller) :
Bloc de code:diskutil ap deleteContainer disk3 ; diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk1 0b ; diskutil list
- la commande concaténée : supprime le Conteneur du bas inutile --> ce qui reformate un volume Untitled standard sur la partition de bas de disque > supprime cette partition > récupère l'espace libéré à la partition apfs du haut et à son Conteneur > ré-affiche le tableau des disques
 
Poste le retour intégral de la commande. En cas de blocage à un point donné de l'enchaînement --> on saura où et pourquoi.
Started APFS operation on disk3
Deleting APFS Container with all of its APFS Volumes
Unmounting Volumes
Deleting Volumes
Deleting Container
Wiping former APFS disks
Switching content types
Reformatting former APFS disks
Initialized /dev/rdisk0s3 as a 34 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 disk3
Started erase on disk0s3 Untitled
Unmounting disk
Finished erase on disk0
Started APFS operation
Aligning grow delta to 37 017 858 048 bytes and targeting a new physical store size of 121 018 208 256 bytes
Determined the maximum size for the targeted physical store of this APFS Container to be 121 017 180 160 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 - Données - Données was formatted by diskmanagementd (1412.81.1) and last modified by apfs_kext (1412.141.2)
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 (1412.141.2)
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 (1412.141.2)
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.260.7) and last modified by apfs_kext (1412.141.2)
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 Macintosh HD - Données was formatted by diskmanagementd (1412.81.1) and last modified by apfs_kext (1412.141.2)
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 84 000 350 208 to 121 018 208 256 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                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk1         121.0 GB   disk0s2
/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +121.0 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD - Donné... 56.4 GB    disk1s1
   2:                APFS Volume Preboot                 84.4 MB    disk1s2
   3:                APFS Volume Recovery                529.0 MB   disk1s3
   4:                APFS Volume VM                      4.3 GB     disk1s4
   5:                APFS Volume Macintosh HD - Données  11.3 GB    disk1s7
/dev/disk2 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +13.2 GB    disk2
   1:                        EFI EFI                     209.7 MB   disk2s1
   2:                  Apple_HFS Shared Support          12.8 GB    disk2s2