I made an incredibly boneheaded mistake. I typed diskutil cs create Fusion\ Drive disk1 disk2
instead of diskutil cs create Fusion\ Drive disk0 disk1
(while I was looking at the list to make sure I did it correctly—sigh).
That's all I've done. I haven't actually gone ahead with the next step and reformatted the drive with:
diskutil cs createVolume logicalvolumegroup jhfs+ Macintosh\ HD 100%
To my understanding, the disks have not been reformatted.
Is it possible to reverse this and get all my data and previous disk formatting back without attempting data recovery (which would require splitting the disks anyway, I believe)?
man diskutil
gives some hints: Perhapsdiskutil cs delete lvgUUID
followed bydiskutil cs revert lvUUID
would work? I'm hesitant to try it without confirmation from someone who knows what he's doing because I suspect that I only get one shot at this.cs delete
: "the now-orphaned physical volumes are erased and partition-typed as Journaled HFS+." So close!cs create
: "All existing data on the drive(s) will be lost." So the question becomes, How to best attempt data recovery?diskutil cs deleteVolume
on the other disk, thendiskutil cs revert
on the one I want to save, then use TechTool Pro to try to recover the volume. But advice would certainly be appreciated.