Alors on va créer provisoirement un petit volume qui tiendra lieu de clé. Passe la commande (copier-coller) :
Bloc de code:diskutil resizeVolume disk2s2 490g jhfs+ CLE 0b ; diskutil list
- la commande rétrécit TEST à 490 Go et crée une partition de plus de 9 Go montant un volume intitulé CLE ; puis réaffiche le tableau des disques
Poste l'affichage retourné.
Bloc de code:
Resizing to 490000000000 bytes and adding 1 partition
Started partitioning on disk2s2 TEST
Verifying the disk
Verifying file system
Volume was successfully unmounted
Performing fsck_hfs -fn -x /dev/rdisk2s2
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 TEST 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/rdisk2s5 as a 9 GB case-insensitive HFS Plus volume with a 8192k journal
Mounting disk
Finished partitioning on disk2s2 TEST
/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 TEST 490.0 GB disk2s2
3: Apple_HFS CLE 9.8 GB disk2s5
4: Apple_HFS SAUV 13 499.8 GB disk2s3
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *751.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 751.1 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +751.1 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 398.3 GB disk1s1
2: APFS Volume Preboot 32.5 MB disk1s2
3: APFS Volume Recovery 520.7 MB disk1s3
4: APFS Volume VM 1.1 GB disk1s4
/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 TEST 490.0 GB disk2s2
3: Apple_HFS CLE 9.8 GB disk2s5
4: Apple_HFS SAUV 13 499.8 GB disk2s3
/dev/disk3 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk3
1: EFI EFI 209.7 MB disk3s1
2: Apple_HFS Clone 599.9 GB disk3s2
3: Apple_HFS Stock 399.9 GB disk3s3