After creating a "DIY Fusion Drive" using the methods below in 10.8, I'm now wondering how to add a RecoveryHD partition to the internal drive.
Here's what I did to create a Logical Volume Group across two physical volumes (128G SSD/750GHD)
(make a clone / backup of all your data first)
diskutil list (take note of the disk## of the two drives. In my case: disk0/disk1)
diskutil corestorage create fusion_volume_group disk0 disk1
diskutil corestorage list (take note of the Logical Volume Group UUID)
diskutil corestorage createVolume <UUID> jhfs+ FusionHD 749g
restore the clone onto the FusionHD
This worked great, but now my RecoveryHD is gone. I'd like to add it back (it's on the external drive I cloned from my original HD)
Here's what the partition layout looks like right now:
$ diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *120.0 GB disk0
1: EFI 209.7 MB disk0s1
2: Apple_CoreStorage 119.7 GB disk0s2
3: Apple_Boot Boot OS X 134.2 MB disk0s3
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *750.2 GB disk1
1: EFI 209.7 MB disk1s1
2: Apple_CoreStorage 749.3 GB disk1s2
3: Apple_Boot Boot OS X 650.0 MB disk1s3
/dev/disk2
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS FusionHD *744.5 GB disk2
Does anyone know the diskUtil commands to add the recovery HD? Ideally after the fact, which is where I'm at now?