My iMac's fusion drive is "on backwards" with the HDD in front of the SSD and performance generally crappy as a result. Going to try to erase the logical volume group and start again. It is currently mounted via a Mac Mini over Thunderbolt.
$ diskutil list
Output:
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage Macintosh HD 121.0 GB disk0s2
3: Apple_Boot Boot OS X 134.2 MB disk0s3
/dev/disk1 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_CoreStorage Macintosh HD 999.3 GB disk1s2
3: Apple_Boot Recovery HD 650.1 MB disk1s3
/dev/disk2 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Macintosh HD +1.1 TB disk2
Logical Volume on disk0s2, disk1s2
D45EB332-982D-491A-BB0C-8222E474946F
Unencrypted Fusion Drive
/dev/disk3 (external):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 121.3 GB disk3
1: EFI EFI 209.7 MB disk3s1
2: Apple_CoreStorage Fusion Drive 121.0 GB disk3s2
3: Apple_Boot Boot OS X 134.2 MB disk3s3
/dev/disk4 (external):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 3.0 TB disk4
1: EFI EFI 209.7 MB disk4s1
2: Apple_CoreStorage Fusion Drive 3.0 TB disk4s2
3: Apple_Boot Recovery HD 650.0 MB disk4s3
Offline
Logical Volume Macintosh HD on disk4s2, disk3s2
C846CA63-F92F-46ED-9518-711470F508A0
Locked Encrypted Fusion Drive
$ diskutil cs list
Output:
CoreStorage logical volume groups (2 found)
|
+-- Logical Volume Group 5933B4CA-8C64-4731-8AAB-10B02B468773
| =========================================================
| Name: Macintosh HD
| Status: Online
| Size: 1120333864960 B (1.1 TB)
| Free Space: 0 B (0 B)
| |
| +-< Physical Volume 577DC052-80FB-4FCE-8B3E-4474AC7DBAEE
| | ----------------------------------------------------
| | Index: 0
| | Disk: disk0s2
| | Status: Online
| | Size: 120988852224 B (121.0 GB)
| |
| +-< Physical Volume D70AE4A9-F6EF-4130-8FC5-7602140F63AD
| | ----------------------------------------------------
| | Index: 1
| | Disk: disk1s2
| | Status: Online
| | Size: 999345012736 B (999.3 GB)
| |
| +-> Logical Volume Family F4430162-9BB6-47A1-ADE2-70078D1E7F5C
| ----------------------------------------------------------
| Encryption Type: None
| |
| +-> Logical Volume D45EB332-982D-491A-BB0C-8222E474946F
| ---------------------------------------------------
| Disk: disk2
| Status: Online
| Size (Total): 1111826497536 B (1.1 TB)
| Revertible: No
| LV Name: Macintosh HD
| Volume Name: Macintosh HD
| Content Hint: Apple_HFS
| LVG Type: Fusion, Sparse
|
+-- Logical Volume Group 7D6FB49F-B003-4C91-8E1A-BBA00E095FE7
=========================================================
Name: Fusion Drive
Status: Online
Size: 3120722075648 B (3.1 TB)
Free Space: 114688 B (114.7 KB)
|
+-< Physical Volume D6C4EF50-47C3-4AE3-B48C-EBF5936C5148
| ----------------------------------------------------
| Index: 0
| Disk: disk4s2
| Status: Online
| Size: 2999733223424 B (3.0 TB)
|
+-< Physical Volume C1FFC275-F42E-42AB-BB6F-D8754CBABE67
| ----------------------------------------------------
| Index: 1
| Disk: disk3s2
| Status: Online
| Size: 120988852224 B (121.0 GB)
|
+-> Logical Volume Family 9BA4CA06-3730-47C1-9A95-1A39B340C1DF
----------------------------------------------------------
Encryption Type: AES-XTS
Encryption Status: Locked
Conversion Status: Complete
High Level Queries: Fully Secure
| Passphrase Required
| Accepts New Users
| Has Visible Users
| Has Volume Key
|
+-> Logical Volume C846CA63-F92F-46ED-9518-711470F508A0
---------------------------------------------------
Disk: -none-
Status: Locked
Size (Total): 3114866704384 B (3.1 TB)
Revertible: No
LV Name: Macintosh HD
Content Hint: Apple_HFS
LVG Type: Fusion, Sparse
Next, I mounted the disk and re-ran:
$ diskutil list
Output:
# ……………
/dev/disk3 (external):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 121.3 GB disk3
1: EFI EFI 209.7 MB disk3s1
2: Apple_CoreStorage Fusion Drive 121.0 GB disk3s2
3: Apple_Boot Boot OS X 134.2 MB disk3s3
/dev/disk4 (external):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 3.0 TB disk4
1: EFI EFI 209.7 MB disk4s1
2: Apple_CoreStorage Fusion Drive 3.0 TB disk4s2
3: Apple_Boot Recovery HD 650.0 MB disk4s3
/dev/disk5 (external, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Macintosh HD +3.1 TB disk5
Logical Volume on disk4s2, disk3s2
C846CA63-F92F-46ED-9518-711470F508A0
Unlocked Encrypted Fusion Drive
$ diskutil cs list
Output:
CoreStorage logical volume groups (2 found)
|
+-- Logical Volume Group 5933B4CA-8C64-4731-8AAB-10B02B468773
| =========================================================
| Name: Macintosh HD
| Status: Online
| Size: 1120333864960 B (1.1 TB)
| Free Space: 0 B (0 B)
| |
| +-< Physical Volume 577DC052-80FB-4FCE-8B3E-4474AC7DBAEE
| | ----------------------------------------------------
| | Index: 0
| | Disk: disk0s2
| | Status: Online
| | Size: 120988852224 B (121.0 GB)
| |
| +-< Physical Volume D70AE4A9-F6EF-4130-8FC5-7602140F63AD
| | ----------------------------------------------------
| | Index: 1
| | Disk: disk1s2
| | Status: Online
| | Size: 999345012736 B (999.3 GB)
| |
| +-> Logical Volume Family F4430162-9BB6-47A1-ADE2-70078D1E7F5C
| ----------------------------------------------------------
| Encryption Type: None
| |
| +-> Logical Volume D45EB332-982D-491A-BB0C-8222E474946F
| ---------------------------------------------------
| Disk: disk2
| Status: Online
| Size (Total): 1111826497536 B (1.1 TB)
| Revertible: No
| LV Name: Macintosh HD
| Volume Name: Macintosh HD
| Content Hint: Apple_HFS
| LVG Type: Fusion, Sparse
|
+-- Logical Volume Group 7D6FB49F-B003-4C91-8E1A-BBA00E095FE7
=========================================================
Name: Fusion Drive
Status: Online
Size: 3120722075648 B (3.1 TB)
Free Space: 114688 B (114.7 KB)
|
+-< Physical Volume D6C4EF50-47C3-4AE3-B48C-EBF5936C5148
| ----------------------------------------------------
| Index: 0
| Disk: disk4s2
| Status: Online
| Size: 2999733223424 B (3.0 TB)
|
+-< Physical Volume C1FFC275-F42E-42AB-BB6F-D8754CBABE67
| ----------------------------------------------------
| Index: 1
| Disk: disk3s2
| Status: Online
| Size: 120988852224 B (121.0 GB)
|
+-> Logical Volume Family 9BA4CA06-3730-47C1-9A95-1A39B340C1DF
----------------------------------------------------------
Encryption Type: AES-XTS
Encryption Status: Unlocked
Conversion Status: Complete
High Level Queries: Fully Secure
| Passphrase Required
| Accepts New Users
| Has Visible Users
| Has Volume Key
|
+-> Logical Volume C846CA63-F92F-46ED-9518-711470F508A0
---------------------------------------------------
Disk: disk5
Status: Online
Size (Total): 3114866704384 B (3.1 TB)
Revertible: No
LV Name: Macintosh HD
Volume Name: Macintosh HD
Content Hint: Apple_HFS
LVG Type: Fusion, Sparse
OK, so as for physical our SSD is disk3
and our HDD is disk4
.
First, I attempted to create a new CoreStorage logical volume group:
$ diskutil cs create "imac-fusion" disk3 disk4
Output:
Started CoreStorage operation
Unmounting disk3
Repartitioning disk3
Unmounting disk
Creating the partition map
Rediscovering disk3
Adding disk3s2 to Logical Volume Group
Unmounting disk4
Repartitioning disk4
Unmounting disk
Creating the partition map
Rediscovering disk4
Adding disk4s2 to Logical Volume Group
Creating Core Storage Logical Volume Group
Switching disk3s2 to Core Storage
Switching disk4s2 to Core Storage
Waiting for Logical Volume Group to appear
Discovered new Logical Volume Group "DD1F3A9F-7171-4FDF-9994-9453A4C95109"
Core Storage LVG UUID: DD1F3A9F-7171-4FDF-9994-9453A4C95109
Finished CoreStorage operation
To verify this worked, I re-ran:
$ diskutil cs list
Output:
CoreStorage logical volume groups (2 found)
|
+-- Logical Volume Group 5933B4CA-8C64-4731-8AAB-10B02B468773
| =========================================================
| Name: Macintosh HD
| Status: Online
| Size: 1120333864960 B (1.1 TB)
| Free Space: 0 B (0 B)
| |
| +-< Physical Volume 577DC052-80FB-4FCE-8B3E-4474AC7DBAEE
| | ----------------------------------------------------
| | Index: 0
| | Disk: disk0s2
| | Status: Online
| | Size: 120988852224 B (121.0 GB)
| |
| +-< Physical Volume D70AE4A9-F6EF-4130-8FC5-7602140F63AD
| | ----------------------------------------------------
| | Index: 1
| | Disk: disk1s2
| | Status: Online
| | Size: 999345012736 B (999.3 GB)
| |
| +-> Logical Volume Family F4430162-9BB6-47A1-ADE2-70078D1E7F5C
| ----------------------------------------------------------
| Encryption Type: None
| |
| +-> Logical Volume D45EB332-982D-491A-BB0C-8222E474946F
| ---------------------------------------------------
| Disk: disk2
| Status: Online
| Size (Total): 1111826497536 B (1.1 TB)
| Revertible: No
| LV Name: Macintosh HD
| Volume Name: Macintosh HD
| Content Hint: Apple_HFS
| LVG Type: Fusion, Sparse
|
+-- Logical Volume Group DD1F3A9F-7171-4FDF-9994-9453A4C95109
=========================================================
Name: imac-fusion
Status: Online
Size: 3121237860352 B (3.1 TB)
Free Space: 3115382603776 B (3.1 TB)
|
+-< Physical Volume 9712CCA1-E539-4166-8E3E-B00A381B58D0
| ----------------------------------------------------
| Index: 0
| Disk: disk3s2
| Status: Online
| Size: 120988852224 B (121.0 GB)
|
+-< Physical Volume A8904A6D-9245-4209-A69D-1213ED6333FF
----------------------------------------------------
Index: 1
Disk: disk4s2
Status: Online
Size: 3000249008128 B (3.0 TB)
And noted the Logical Volume Group ID as DD1F3A9F-7171-4FDF-9994-9453A4C95109
Next, I created the CoreStorage volume with:
$ diskutil cs createVolume "DD1F3A9F-7171-4FDF-9994-9453A4C95109" jhfs+ "Macintosh HD" 100%
Output:
Started CoreStorage operation
Waiting for Logical Volume to appear
Formatting file system for Logical Volume
Initialized /dev/rdisk5 as a 3 TB case-insensitive HFS Plus volume with a 245760k journal
Mounting disk
Core Storage LV UUID: 62DFE9B2-1F0F-4624-B180-BAF8D2E247CA
Core Storage disk: disk5
Finished CoreStorage operation
To inspect things worked, I ran:
$ diskutil cs list
Output:
CoreStorage logical volume groups (2 found)
|
+-- Logical Volume Group 5933B4CA-8C64-4731-8AAB-10B02B468773
| =========================================================
| Name: Macintosh HD
| Status: Online
| Size: 1120333864960 B (1.1 TB)
| Free Space: 0 B (0 B)
| |
| +-< Physical Volume 577DC052-80FB-4FCE-8B3E-4474AC7DBAEE
| | ----------------------------------------------------
| | Index: 0
| | Disk: disk0s2
| | Status: Online
| | Size: 120988852224 B (121.0 GB)
| |
| +-< Physical Volume D70AE4A9-F6EF-4130-8FC5-7602140F63AD
| | ----------------------------------------------------
| | Index: 1
| | Disk: disk1s2
| | Status: Online
| | Size: 999345012736 B (999.3 GB)
| |
| +-> Logical Volume Family F4430162-9BB6-47A1-ADE2-70078D1E7F5C
| ----------------------------------------------------------
| Encryption Type: None
| |
| +-> Logical Volume D45EB332-982D-491A-BB0C-8222E474946F
| ---------------------------------------------------
| Disk: disk2
| Status: Online
| Size (Total): 1111826497536 B (1.1 TB)
| Revertible: No
| LV Name: Macintosh HD
| Volume Name: Macintosh HD
| Content Hint: Apple_HFS
| LVG Type: Fusion, Sparse
|
+-- Logical Volume Group DD1F3A9F-7171-4FDF-9994-9453A4C95109
=========================================================
Name: imac-fusion
Status: Online
Size: 3121237860352 B (3.1 TB)
Free Space: 0 B (0 B)
|
+-< Physical Volume 9712CCA1-E539-4166-8E3E-B00A381B58D0
| ----------------------------------------------------
| Index: 0
| Disk: disk3s2
| Status: Online
| Size: 120988852224 B (121.0 GB)
|
+-< Physical Volume A8904A6D-9245-4209-A69D-1213ED6333FF
| ----------------------------------------------------
| Index: 1
| Disk: disk4s2
| Status: Online
| Size: 3000249008128 B (3.0 TB)
|
+-> Logical Volume Family 748CF44B-A445-42C1-96CF-488AC17BC0EF
----------------------------------------------------------
Encryption Type: None
|
+-> Logical Volume 62DFE9B2-1F0F-4624-B180-BAF8D2E247CA
---------------------------------------------------
Disk: disk5
Status: Online
Size (Total): 3115382603776 B (3.1 TB)
Revertible: No
LV Name: Macintosh HD
Volume Name: Macintosh HD
Content Hint: Apple_HFS
LVG Type: Fusion, Sparse
Magical! The volumes are finally in the correct order! I must have fat-fingered the creation of the Logical Volume Group the first time I did this.