defaults write com.apple.Safari AppleLanguages '(fr)'
defaults write com.apple.systempreferences AppleLanguages '(fr)'
nettoyer un peu le mac
ça se sauvegarde tout seul ?
sw_vers -productVersion
-bash-3.2# diskutil cs list
CoreStorage logical volume groups (1 found)
|
+-- Logical Volume Group 996E3575-7693-4CE9-8A10-46FADA44234B
=========================================================
Name: Fusion Drive
Status: Online
Size: 2253821493248 B (2.3 TB)
Free Space: 40960 B (41.0 KB)
|
+-< Physical Volume CCC53AD7-96A2-46BF-96F7-111C5A1DB7CB
| ----------------------------------------------------
| Index: 0
| Disk: disk1s2
| Status: Online
| Size: 255716540416 B (255.7 GB)
|
+-< Physical Volume 7BCA2D87-8D28-4CA4-8AC7-947942EAFF66
| ----------------------------------------------------
| Index: 1
| Disk: disk0s2
| Status: Online
| Size: 1998104952832 B (2.0 TB)
|
+-> Logical Volume Family 4CCF5D05-B58A-4DA4-8390-19B66FE15897
----------------------------------------------------------
Encryption Type: None
|
+-> Logical Volume 69D78AC7-E487-42C5-BFDA-67B9B01BC3B5
---------------------------------------------------
Disk: disk3
Status: Online
Size (Total): 2247228653568 B (2.2 TB)
Revertible: No
LV Name: MacBook SSD
Volume Name: MacBook SSD
Content Hint: Apple_HFS
LVG Type: Fusion, Sparse
-bash-3.2# diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage Fusion Drive 2.0 TB disk0s2
3: Apple_Boot 134.2 MB disk0s3
4: Apple_Boot 650.0 MB disk0s4
/dev/disk1 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *256.1 GB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_CoreStorage Fusion Drive 255.7 GB disk1s2
3: Apple_Boot 134.2 MB disk1s3
/dev/disk2 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +2.1 GB disk2
1: Apple_HFS OS X Base System 2.0 GB disk2s1
/dev/disk3 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS MacBook SSD +2.2 TB disk3
Logical Volume on disk1s2, disk0s2
69D78AC7-E487-42C5-BFDA-67B9B01BC3B5
Unencrypted Fusion Drive
/dev/disk4 à 23 (disk image):
...
-bash-3.2# sw_vers -productVersion
10.13.6
-bash-3.2#
Donc si je ne me trompe pas :Il faut supprimer l'actuel Fusion Drive > puis le recréer proprement -->
- je peux te passer les commandes pour le faire.
diskutil cs delete 996E3575-7693-4CE9-8A10-46FADA44234B
diskutil cs create FusionDrive /dev/disk1 /dev/disk0
diskutil cs createvolume lvgUUID jhfs+ "Fusion Drive" 100%
diskutil cs delete 996E3575-7693-4CE9-8A10-46FADA44234B
diskutil cs create FusionDrive disk0s2 disk1s2
diskutil cs createvolume lvgUUID jhfs+ "Fusion Drive" 100%
Il y a 2 erreurs : dans la 1ère commande => il faut l'UUID du Logical Volume Group (pas du Logical Volume). Dans la 2è commande > il faut les index d'appareils des partitions et pas des disques (ce qui n'est valide que pour créer un AppleRAID).
Ce qui donne :
Bloc de code:diskutil cs delete 996E3575-7693-4CE9-8A10-46FADA44234B diskutil cs create FusionDrive disk0s2 disk1s2 diskutil cs createvolume lvgUUID jhfs+ "Fusion Drive" 100%
diskutil umount force disk3
-bash-3.2# diskutil cs list
CoreStorage logical volume groups (1 found)
|
+-- Logical Volume Group 8733DF72-93AB-4EAA-987B-4816075368E5
=========================================================
Name: FusionDrive
Status: Online
Size: 2253821493248 B (2.3 TB)
Free Space: 40960 B (41.0 KB)
|
+-< Physical Volume D9E76B8F-ED57-43F0-9F47-F6473161563D
| ----------------------------------------------------
| Index: 0
| Disk: disk0s2
| Status: Online
| Size: 255716540416 B (255.7 GB)
|
+-< Physical Volume 58EB7EA9-D125-4079-8532-0B1BFB7F3A63
| ----------------------------------------------------
| Index: 1
| Disk: disk1s2
| Status: Online
| Size: 1998104952832 B (2.0 TB)
|
+-> Logical Volume Family CD6B753A-28BA-4BC1-B16B-6499247FC0BE
----------------------------------------------------------
Encryption Type: None
|
+-> Logical Volume 243C3829-8705-43A3-BB94-69E49EAA46AE
---------------------------------------------------
Disk: disk3
Status: Online
Size (Total): 2247228653568 B (2.2 TB)
Revertible: No
LV Name: Fusion Drive
Volume Name: Fusion Drive
Content Hint: Apple_HFS
LVG Type: Fusion, Sparse
-bash-3.2# diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *256.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage FusionDrive 255.7 GB disk0s2
3: Apple_Boot Boot OS X 134.2 MB disk0s3
/dev/disk1 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_CoreStorage FusionDrive 2.0 TB disk1s2
3: Apple_Boot 650.0 MB disk1s4
/dev/disk2 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +2.1 GB disk2
1: Apple_HFS OS X Base System 2.0 GB disk2s1
/dev/disk3 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Fusion Drive +2.2 TB disk3
Logical Volume on disk0s2, disk1s2
243C3829-8705-43A3-BB94-69E49EAA46AE
Unencrypted Fusion Drive
/dev/disk4 à 21 (disk image):
-bash-3.2# sw_vers -productVersion
10.13.6
3: Apple_Boot 650.0 MB disk1s4
diskutil eraseDisk jhfs+ HDD gpt disk1