Sujet unique Si le stockage « Système » prend trop de place

Bloc de code:
iMac-Salon:~ nr$ diskutil ap resizeContainer disk3 350g jhfs+ SOS 0b ; diskutil ap convert disk2s6 ; diskutil list external
Started APFS operation
Aligning shrink delta to 69 779 607 552 bytes and targeting a new physical store size of 349 999 996 928 bytes
Determined the minimum size for the targeted physical store of this APFS Container to be 13 287 555 072 bytes
Resizing APFS Container designated by APFS Container Reference disk3
The specific APFS Physical Store being resized is disk2s5
Verifying storage system
Performing fsck_apfs -n -x -S /dev/disk2s5
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 Clone - Données was formatted by hfs_convert (1412.101.1) and last modified by apfs_kext (1412.101.1)
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 Clone was formatted by diskmanagementd (1412.101.1) and last modified by apfs_kext (1412.101.1)
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/disk2s5 appears to be OK
Storage system check exit code is 0
Shrinking APFS Physical Store disk2s5 from 419 779 604 480 to 349 999 996 928 bytes
Shrinking APFS data structures
Shrinking partition
Modifying partition map
Initialized /dev/rdisk2s6 as a 65 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: disk2s6
Finished APFS operation
Converting the volume on disk2s6 to an APFS Volume on an APFS Container
Started APFS operation on disk2s6 SOS
Converting HFS Volume to an APFS Container which will export one APFS Volume
The target is the Journaled HFS+ volume "SOS" backed by the GPT partition disk2s6
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 disk2s6
Starting conversion from HFS to APFS
Performing apfs_hfs_convert -x --verbose=0x400 --efi /usr/standalone/i386/apfs.efi /dev/disk2s6
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 disk2s6 to APFS
Changing the physical disk partition type in shared mode
Partition modification attempt count was 1
Opening and closing disk2s6 to terminate old content driver
Expecting the new APFS Container at Physical Store disk2s6
Confirmed existence of new unencrypted APFS Volume disk5s1
Mounting APFS Volume disk5s1
APFS Volume mount attempt result was 0
Exiting conversion operations with error code 0
Disk from APFS operation: disk5s1
Finished APFS operation on disk2s6 SOS
/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk2
   1:                        EFI EFI                     209.7 MB   disk2s1
   2:          Apple_CoreStorage TIMEMACHINE             499.9 GB   disk2s2
   3:                 Apple_Boot Boot OS X               134.2 MB   disk2s3
   4:                 Apple_APFS Container disk4         80.0 GB    disk2s4
   5:                 Apple_APFS Container disk3         350.0 GB   disk2s5
   6:                 Apple_APFS Container disk5         69.8 GB    disk2s6

/dev/disk3 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +350.0 GB   disk3
                                 Physical Store disk2s5
   1:                APFS Volume Clone - Données         942.1 KB   disk3s1
   2:                APFS Volume Clone                   11.0 GB    disk3s2

/dev/disk4 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +80.0 GB    disk4
                                 Physical Store disk2s4
   1:                APFS Volume HD_EXT                  34.7 GB    disk4s1

/dev/disk5 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +69.8 GB    disk5
                                 Physical Store disk2s6
   1:                APFS Volume SOS                     1.0 MB     disk5s1

Offline
                                 Logical Volume TIMEMACHINE on disk2s2
                                 61038CB4-37DF-4476-BB1F-FBD2897154B2
                                 Locked Encrypted
 
Ça roule -->

- comme tu l'avais prévu : redémarre via ⌘R en mode récupération. Lance l'installation de Catalina à destination de SOS. Quand tu auras ouvert ta session externe (attention ! Catalina en format apfs sur HDD rotatif en connexion USB : ça va être du super-lent) > re-télécharge CCC et relance un clonage iMac SSD => Clone.​
 
Passe la commande :
Bloc de code:
diskutil list
  • et poste le tableau des disques => que je survole la situation d'ensemble actuelle.
 
J'ai booté sur le clone pour anticiper un peu la suite, je sais pas si j'ai bien fait :S

Bloc de code:
iMac-Salon:~ nr$ diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *750.2 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         749.9 GB   disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +749.9 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume imac SSD - Données      735.8 GB   disk1s1
   2:                APFS Volume Preboot                 25.6 MB    disk1s2
   3:                APFS Volume Recovery                525.1 MB   disk1s3
   4:                APFS Volume VM                      2.1 GB     disk1s4
   5:                APFS Volume imac SSD                11.2 GB    disk1s5

/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk2
   1:                        EFI EFI                     209.7 MB   disk2s1
   2:          Apple_CoreStorage TIMEMACHINE             499.9 GB   disk2s2
   3:                 Apple_Boot Boot OS X               134.2 MB   disk2s3
   4:                 Apple_APFS Container disk3         80.0 GB    disk2s4
   5:                 Apple_APFS Container disk4         350.0 GB   disk2s5
   6:                 Apple_APFS Container disk5         69.8 GB    disk2s6

/dev/disk3 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +80.0 GB    disk3
                                 Physical Store disk2s4
   1:                APFS Volume HD_EXT                  34.7 GB    disk3s1

/dev/disk4 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +350.0 GB   disk4
                                 Physical Store disk2s5
   1:                APFS Volume Clone - Données         245.5 GB   disk4s1
   2:                APFS Volume Clone                   11.0 GB    disk4s2
   3:                APFS Volume Preboot                 25.6 MB    disk4s3
   4:                APFS Volume Recovery                532.4 MB   disk4s4
   5:                APFS Volume VM                      2.1 GB     disk4s5

/dev/disk5 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +69.8 GB    disk5
                                 Physical Store disk2s6
   1:                APFS Volume SOS - Données           6.0 GB     disk5s1
   2:                APFS Volume Preboot                 27.7 MB    disk5s2
   3:                APFS Volume Recovery                525.8 MB   disk5s3
   4:                APFS Volume VM                      5.4 GB     disk5s4
   5:                APFS Volume SOS                     11.1 GB    disk5s5

Offline
                                 Logical Volume TIMEMACHINE on disk2s2
                                 61038CB4-37DF-4476-BB1F-FBD2897154B2
                                 Locked Encrypted
 
Le clonage a bien fonctionné. Le volume-Données comme tu peux le voir n'a que 245 Go d'occupation (correspondant à des fichiers - sans sur-occupation d'espace par un snapshot corrompu).

- veux-tu faire le test de démarrer sur Clone ou est-ce que c'est déjà fait ?​
 
Bon. D'accord pour supprimer / recréer l'apfs interne > avant clonage à rebours du clone en interne ?
 
Passe la commande :
Bloc de code:
diskutil eraseDisk apfs "imac SSD" gpt disk0 ; diskutil list internal
  • la commande efface le SDD interne > remet une table GPT > un format apfs > un volume imac SSD - puis affiche la configuration interne seule

Poste le retour.

Note : c'est bien disk0 dans la commande.
 
Bloc de code:
iMac-Salon:~ nr$ diskutil eraseDisk apfs "imac SSD" gpt disk0 ; diskutil list internal
Started erase on disk0
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk0s2 as APFS with name imac SSD
Mounting disk
Finished erase on disk0
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *750.2 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         749.9 GB   disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +749.9 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume imac SSD                782.3 KB   disk1s1

Offline
                                 Logical Volume TIMEMACHINE on disk2s2
                                 61038CB4-37DF-4476-BB1F-FBD2897154B2
                                 Locked Encrypted
 
Parfait. Pour le reste tu connais déjà la manœuvre -->

- dans le panneau de CCC > définis une nouvelle tâche où : source = Clone > destination = imac SDD > safetynet = désactivé et "Cloner".​

Quand c'est fini > tu redémarres avec "alt" sur imac SSD. Tu n'auras qu'à dire si tu retrouves ta session d'origine (avec gain d'espace dans le Conteneur). Il faudra alors finaliser en apurant ton DDE des partitions de travail qu'on y avait créées.
 
C'est parti ! Un grand merci pour ton aide, j'étais à deux doigts d'abandonner... Vraiment bizarre ces snapshots corrompus, on sait quoi à quoi cela est dû ? Bonne nuit !
 
Bonsoir, tout est revenu ! les 489 Go sont de retour, un grand merci !!!

Bloc de code:
iMac-Salon:~ nr$ diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *750.2 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         749.9 GB   disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +749.9 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume imac SSD - Données      246.9 GB   disk1s1
   2:                APFS Volume imac SSD                11.0 GB    disk1s2
   3:                APFS Volume Preboot                 25.6 MB    disk1s3
   4:                APFS Volume Recovery                529.4 MB   disk1s4
   5:                APFS Volume VM                      3.2 GB     disk1s5

/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk2
   1:                        EFI EFI                     209.7 MB   disk2s1
   2:          Apple_CoreStorage TIMEMACHINE             499.9 GB   disk2s2
   3:                 Apple_Boot Boot OS X               134.2 MB   disk2s3
   4:                 Apple_APFS Container disk3         80.0 GB    disk2s4
   5:                 Apple_APFS Container disk5         350.0 GB   disk2s5
   6:                 Apple_APFS Container disk4         69.8 GB    disk2s6

/dev/disk3 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +80.0 GB    disk3
                                 Physical Store disk2s4
   1:                APFS Volume HD_EXT                  34.7 GB    disk3s1

/dev/disk4 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +69.8 GB    disk4
                                 Physical Store disk2s6
   1:                APFS Volume SOS - Données           6.0 GB     disk4s1
   2:                APFS Volume Preboot                 27.7 MB    disk4s2
   3:                APFS Volume Recovery                525.8 MB   disk4s3
   4:                APFS Volume VM                      5.4 GB     disk4s4
   5:                APFS Volume SOS                     11.1 GB    disk4s5

/dev/disk5 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +350.0 GB   disk5
                                 Physical Store disk2s5
   1:                APFS Volume Clone - Données         248.0 GB   disk5s1
   2:                APFS Volume Clone                   11.0 GB    disk5s2
   3:                APFS Volume Preboot                 25.6 MB    disk5s3
   4:                APFS Volume Recovery                532.4 MB   disk5s4
   5:                APFS Volume VM                      2.1 GB     disk5s5

Offline
                                 Logical Volume TIMEMACHINE on disk2s2
                                 61038CB4-37DF-4476-BB1F-FBD2897154B2
                                 Locked Encrypted

Sais-tu d'où peuvent provenir ces snapshots corrompus ? (histoire que j'évite d'en re-provoquer !
 
Parfait : l'opération a été longuette mais le problème est réglé.

- les snapshots corrompus résultent d'un dysfonctionnent interne à l'apfs (un accident rare). Tu ne peux rien y faire.​

Veux-tu qu'on supprime les 2 partitions apfs de SOS et de Clone sur ton DDE ?
 
Repasse une commande :
Bloc de code:
diskutil list external
  • qui n'affiche que la configuration externe

Poste le tableau (c'est au cas où après redémarrage par exemple les index des Conteneurs apfs auraient varié - ce ne sont pas des constantes > mais des indicateurs variables de rang temporal dans l'attachement de ces disques virtuels au Système du Mac).
 
Salut

Bloc de code:
iMac-Salon:~ nr$ diskutil list external
/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk2
   1:                        EFI EFI                     209.7 MB   disk2s1
   2:          Apple_CoreStorage TIMEMACHINE             499.9 GB   disk2s2
   3:                 Apple_Boot Boot OS X               134.2 MB   disk2s3
   4:                 Apple_APFS Container disk4         80.0 GB    disk2s4
   5:                 Apple_APFS Container disk5         350.0 GB   disk2s5
   6:                 Apple_APFS Container disk3         69.8 GB    disk2s6

/dev/disk3 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +69.8 GB    disk3
                                 Physical Store disk2s6
   1:                APFS Volume SOS - Données           6.0 GB     disk3s1
   2:                APFS Volume Preboot                 27.7 MB    disk3s2
   3:                APFS Volume Recovery                525.8 MB   disk3s3
   4:                APFS Volume VM                      5.4 GB     disk3s4
   5:                APFS Volume SOS                     11.1 GB    disk3s5

/dev/disk4 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +80.0 GB    disk4
                                 Physical Store disk2s4
   1:                APFS Volume HD_EXT                  34.7 GB    disk4s1

/dev/disk5 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +350.0 GB   disk5
                                 Physical Store disk2s5
   1:                APFS Volume Clone - Données         247.5 GB   disk5s1
   2:                APFS Volume Clone                   11.0 GB    disk5s2
   3:                APFS Volume Preboot                 25.6 MB    disk5s3
   4:                APFS Volume Recovery                532.4 MB   disk5s4
   5:                APFS Volume VM                      2.1 GB     disk5s5

Offline
                                 Logical Volume TIMEMACHINE on disk2s2
                                 61038CB4-37DF-4476-BB1F-FBD2897154B2
                                 Locked Encrypted
 
Passe la commande (copier-coller) :
Bloc de code:
diskutil ap deleteContainer disk5 ; diskutil ap deleteContainer disk3 ; diskutil eraseVolume free null disk2s5 ; diskutil eraseVolume free null disk2s6 ; diskutil ap resizeContainer disk4 0b ; diskutil list external
  • la commande : supprime les 2 Conteneurs du bas du DDE => ce qui reformate des volumes Untitled standards sur chaque partition primaire > supprime les 2 partitions primaires reformatées > récupère l'espace libéré au Conteneur du dessus (volume HD_EXT) qui était le donneur d'espace à l'origine > ré-affiche la configuration du DDE seul

Poste le retour intégral de la commande.
 

Sujets similaires

Réponses
30
Affichages
5K
macOS
Membre supprimé 1060554
M
Réponses
7
Affichages
3K
macOS
Membre supprimé 1138547
M
Réponses
15
Affichages
2K
macOS
Membre supprimé 1060554
M
Réponses
2
Affichages
768
Réponses
3
Affichages
984
Mac
Membre supprimé 1060554
M