M
MojaveQuel était l'OS installé dans Macintosh HD (et donc imagé en miroir dans Clone) ?
diskutil resizeVolume disk2s5 480g jhfs+ Cata 0b
-bash-3.2# diskutil resizeVolume disk2s5 480g jhfs+ Cata 0b
Resizing to 480000000000 bytes and adding 1 partition
Started partitioning on disk2s5 Clone
Verifying the disk
Verifying file system
Volume was successfully unmounted
Performing fsck_hfs -fn -x /dev/rdisk2s5
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking volume bitmap
Checking volume information
The volume Clone appears to be OK
File system check exit code is 0
Restoring the original state found as mounted
Resizing
Shrinking file system
Modifying partition map
Initialized /dev/rdisk2s4 as a 55 GB case-insensitive HFS Plus volume with a 8192k journal
Mounting disk
Finished partitioning on disk2s5 Clone
/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_HFS HD Data 460.0 GB disk2s2
3: Apple_HFS Clone 480.0 GB disk2s5
4: Apple_HFS Cata 59.6 GB disk2s4
diskutil ap convert disk2s4
-bash-3.2# diskutil ap convert disk2s4
Converting the volume on disk2s4 to an APFS Volume on an APFS Container
Started APFS operation on disk2s4 Cata
Converting HFS Volume to an APFS Container which will export one APFS Volume
The target is the Journaled HFS+ volume "Cata" backed by the GPT partition disk2s4
The target is 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 disk2s4
Starting conversion from HFS to APFS
Performing apfs_hfs_convert -x --verbose=0x400 --efi /usr/standalone/i386/apfs.efi /dev/disk2s4
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 disk2s4 to APFS
Changing the physical disk partition type in shared mode
Partition modification attempt count was 1
Opening and closing disk2s4 to terminate old content driver
Expecting the new APFS Container at Physical Store disk2s4
Confirmed existence of new unencrypted APFS Volume disk25s1
Mounting APFS Volume disk25s1
APFS Volume mount attempt result was 0
Exiting conversion operations with error code 0
Disk from APFS operation: disk25s1
Finished APFS operation on disk2s4 Cata
diskutil list
Jonathans-MBP:~ jonathan$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *480.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 479.9 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +479.9 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD - Data 422.3 GB disk1s1
2: APFS Volume Preboot 82.5 MB disk1s2
3: APFS Volume Recovery 528.1 MB disk1s3
4: APFS Volume VM 2.1 GB disk1s4
5: APFS Volume Macintosh HD 11.0 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_APFS Container disk4 460.1 GB disk2s2
3: Apple_HFS Clone 480.0 GB disk2s3
4: Apple_APFS Container disk3 59.6 GB disk2s4
/dev/disk3 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +59.6 GB disk3
Physical Store disk2s4
1: APFS Volume Cata 7.8 GB disk3s1
/dev/disk4 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +460.1 GB disk4
Physical Store disk2s2
1: APFS Volume HD Data 946.2 KB disk4s1
/dev/disk5 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +157.3 MB disk5
1: Apple_HFS uTorrent 157.2 MB disk5s1
Oui, j'ai formaté disk4 nommé HD Data avant de formater et partitionner en GUID mon DD interne. Je me suis trompé de disque dur. C'est une erreur très idiote de ma part... Enfin, je n'ai pas formaté, j'ai effacé les données (touche erase dans l'utilitaire de disque de Yosemite), ce qui n'a pris que quelques secondes. J'imagine que les données sont toujours là vu que ça n'a pris que quelques secondes. Ce doit être juste la table qui a du être détruite.Donc tu as reformaté Data accidentellement ?