Jump to content

Fusion Drive [how to]


  • Please log in to reply
38 replies to this topic

#21
Nanael

Nanael

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 165 posts
  • Gender:Male
You're welcom ErmaC ;)

I havn't search how to had a recovery Partition, but I think that it will be fragile, (not strong ? Sorry, I'm french ^^ )
The probleme is the same as for a Raid Drive, how to put the partition? Because if one HDD/SSD fail, the Logical Volume will fail and you'll loose the recovery partition :(
The only solution( that I see now), is to add a partition on the two physical disk. (It's just an Idea ;) )

Thank you for the italian translation ;)

#22
ctroncosor

ctroncosor

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 109 posts
I will check the recovery partition in CoreStorage and inform.

#23
ErmaC

ErmaC

    127.0.0.1

  • Supervisors
  • 4,741 posts
  • Gender:Male
  • Location:Canary Islands

The only solution( that I see now), is to add a partition on the two physical disk. (It's just an Idea ;) )


Yep... "solution" like one of the link I mentioned before:
example disk1 and disk2
diskutil corestorage create fusion_volume_group disk1s2 disk2
where in the disk1:

/dev/disk1
#: 			 TYPE NAME 	 SIZE 		 IDENTIFIER
0: 	 GUID_partition_scheme 		 *120.0 GB 	 disk1
1: 			 EFI 	 	 209.7 MB 	 disk1s1
2: 		 Apple_HFS Empty 	 119.2 GB 	 disk1s2
3: 		 Apple_Boot Recovery HD  650.0 MB 	 disk1s3
or maybe can be a solution make the Recovery also in the second disk?
and create the fusion drive in this way... (no sense I know but...)
diskutil corestorage create fusion_volume_group disk1s2 disk2s2

???
I will do some more test...
Fabio

#24
ctroncosor

ctroncosor

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 109 posts
As far as i understand Recovery HD is not working either in new iMac 13,2 with Fusion Drive.

#25
Nanael

Nanael

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 165 posts
  • Gender:Male
The problem is create a Logical Volume erase al the disk... So we can't do anything before create the Logical Volume...
I have to do some test with a another Fusion Groupe ^^ and read the two links you send before ;)

#26
ErmaC

ErmaC

    127.0.0.1

  • Supervisors
  • 4,741 posts
  • Gender:Male
  • Location:Canary Islands
I try different ways but w/o success...
Is like the Software RAID... no Recovery Partition.
:-(

Fabio

#27
Nanael

Nanael

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 165 posts
  • Gender:Male
it's the same for me :( I'll try more tomorrow :(

#28
ctroncosor

ctroncosor

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 109 posts
What about making the recovery HD partition in another Drive ???

#29
Nanael

Nanael

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 165 posts
  • Gender:Male
why not, but i'm not sure we can says to osX than the Recovery is on an another HDD :(

#30
tofagerl

tofagerl

    InsanelyMac Protégé

  • Members
  • Pip
  • 31 posts
I'm easily confused and quite stupid, so I'm going to ask instead of potentially wrecking something.

I'm installing 10.8.2 right now, and have created the Fusion Drive - that went exactly as planned. But what is Part 2 describing exactly, is it something I should do after I've installed ######? I see the terminal commands, but as far as I can tell it's just copying the Chameleon loader onto both disks that make up the Fusion Drive, is that right?

In that case, where does the bootloader get installed, on the SSD or the HD? And do I need to do that, or is that done by the ###### installer?

#31
Nanael

Nanael

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 165 posts
  • Gender:Male
It's not a stupid question ;)

The problem is that Chameleon, Clover or ###### can't be installed with the standard installer. So you have to install it manually on both (The SSD ans the HDD).

#32
jimj

jimj

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
FYI...

One of the drawbacks of the Fusion drive is that it has no fault protection, so that if either the disk or the flash fails your data will be lost, and being a composite of two physical devices increases the probability of failure.

If you are using a quality SSD, the likelyhood of a disk failure is much higher than an SSD failure... with that in mind I tried the following and I have confirmed that it works (quite well in fact!)

I took two disk drives and used diskutility to form a software RAID 0 set (e.g. mirroring for fault protection). I then created a Fusion drive using a SSD and the RAID set.

Advantages:
  • A disk failure will not cause data loss
  • Disk reads take advantage of mirror for better performance
Disadvantages:
  • Cost (e.g. two disks used for the capacity of one effectively doubles cost)
  • CPU overhead for software RAID 0 (meaningless IMHO for real world applications)
Thought others might like to know this works...

-JimJ

P.S. Even with mirrored disks backups are still a requirement!

#33
Nanael

Nanael

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 165 posts
  • Gender:Male
That a good idea but in fact the cost of this solution is the biggest disadvantage…

#34
jamiethemorris

jamiethemorris

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 664 posts
  • Gender:Male
  • Location:San Rafael, CA
I just have a carbon copy clone of my fusion drive. Here's something worth knowing: duplicating one half of a fusion drive setup works just fine. My hard drive in my fusion setup was failing, so I got a new one and thought I'd see if I could just clone it and swap the drives out. So I used dd to copy the entire drive over to the new one, swapped them out, and started it up. It worked flawlessly.

#35
Nanael

Nanael

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 165 posts
  • Gender:Male
That is not very a surprise. Because the fusion drive is juste a logical volume so in fact either CCC or Time Machine can clone what there is on ;)

#36
HBP112358

HBP112358

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 227 posts
  • Location:USA

I believe almost everyone who is out there playing with this has not been actually using a Fusion drive...

after refollowing the steps from the before mentioned guide, I got to the part of making a LVG, but I named it 'FUSION' without the ' marks, then I went into disk utility (the Graphical interface) and did a repair disk on it, it asked it I wanted to restore a working Fusion Drive. I clicked yes.  and now I have a Fully working Fusion Drive.

 

BEFORE:

diskutil corestorage info FFC095BF-FB5E-4324-B598-DA80CA7AB4B0
Core Storage Properties:
Role: Logical Volume Group (LVG)
UUID: FFC095BF-FB5E-4324-B598-DA80CA7AB4B0
LVG
Name: fusion
LVG
Version: 1
LVG Size: 1238926282752 B
LVG
Free Space: 0 B
LVG
Status: Online
LVG Sparse: No
Fusion Drive: No

AFTER:

diskutil cs info 6F050F63-F87A-4690-AED4-7274C27DAC09
Core Storage Properties:
Role: Logical Volume Group (LVG)
UUID: 6F050F63-F87A-4690-AED4-7274C27DAC09
LVG Name: FUSION
LVG
Version: 1
LVG Size: 1249576288256 B
LVG
Free Space: 57344 B
LVG
Status: Online
LVG Sparse: Yes
Fusion Drive: Yes

 

time to restore and enjoy life.

 

the code I used to create this Drive is bellow where disk0 is SSD and disk1 is platter drive. 

 

diskutil cs create FUSION disk0 disk1

 

also I checked for fusion disks with diskutil in Yosemite that is how I came up with (the last two lines).

 

HBP



#37
jamiethemorris

jamiethemorris

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 664 posts
  • Gender:Male
  • Location:San Rafael, CA

I believe almost everyone who is out there playing with this has not been actually using a Fusion drive...

after refollowing the steps from the before mentioned guide, I got to the part of making a LVG, but I named it 'FUSION' without the ' marks, then I went into disk utility (the Graphical interface) and did a repair disk on it, it asked it I wanted to restore a working Fusion Drive. I clicked yes.  and now I have a Fully working Fusion Drive.

 

BEFORE:

diskutil corestorage info FFC095BF-FB5E-4324-B598-DA80CA7AB4B0
Core Storage Properties:
Role: Logical Volume Group (LVG)
UUID: FFC095BF-FB5E-4324-B598-DA80CA7AB4B0
LVG
Name: fusion
LVG
Version: 1
LVG Size: 1238926282752 B
LVG
Free Space: 0 B
LVG
Status: Online
LVG Sparse: No
Fusion Drive: No

AFTER:

diskutil cs info 6F050F63-F87A-4690-AED4-7274C27DAC09
Core Storage Properties:
Role: Logical Volume Group (LVG)
UUID: 6F050F63-F87A-4690-AED4-7274C27DAC09
LVG Name: FUSION
LVG
Version: 1
LVG Size: 1249576288256 B
LVG
Free Space: 57344 B
LVG
Status: Online
LVG Sparse: Yes
Fusion Drive: Yes

 

time to restore and enjoy life.

 

the code I used to create this Drive is bellow where disk0 is SSD and disk1 is platter drive. 

 

diskutil cs create FUSION disk0 disk1

 

also I checked for fusion disks with diskutil in Yosemite that is how I came up with (the last two lines).

 

HBP

How did you "check for fusion disks"with disk utility? I don't see any option for that... I'm re-doing my setup from the Mavericks installer. I tried to repair it in disk utility, but it didn't say anything about a fusion drive.



#38
jamiethemorris

jamiethemorris

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 664 posts
  • Gender:Male
  • Location:San Rafael, CA

My boss just got a a MacMini6,2 with a Fusion drive for work. Here's what diskutil says about it.

 

diskutil list:

/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *121.3 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:          Apple_CoreStorage                         121.0 GB   disk0s2
   3:                 Apple_Boot Boot OS X               134.2 MB   disk0s3
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:          Apple_CoreStorage                         999.3 GB   disk1s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk1s3
/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                  Apple_HFS Macintosh HD           *1.1 TB     disk2
/dev/disk3
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *2.0 TB     disk3
   1:                        EFI EFI                     209.7 MB   disk3s1
   2:                  Apple_HFS Cerebellum Time Machine 1.3 TB     disk3s2
   3:                  Apple_HFS Cerebellum Clone        706.5 GB   disk3s3
/dev/disk4
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *500.1 GB   disk4
   1:                  Apple_HFS Audio                   500.1 GB   disk4s1

diskutil cs list:

CoreStorage logical volume groups (1 found)
|
+-- Logical Volume Group 38583C63-2026-47A7-8E8D-62D1AB9E10DE
    =========================================================
    Name:         Macintosh HD
    Status:       Online
    Size:         1120333979648 B (1.1 TB)
    Free Space:   0 B (0 B)
    |
    +-< Physical Volume 03BEAC23-AF5D-42C4-9384-71B9D84855F1
    |   ----------------------------------------------------
    |   Index:    0
    |   Disk:     disk0s2
    |   Status:   Online
    |   Size:     120988852224 B (121.0 GB)
    |
    +-< Physical Volume 11D1A0C1-033C-47A3-8744-1688FE930729
    |   ----------------------------------------------------
    |   Index:    1
    |   Disk:     disk1s2
    |   Status:   Online
    |   Size:     999345127424 B (999.3 GB)
    |
    +-> Logical Volume Family 30E09150-6D02-41E8-BEA5-F0560C1F61D7
        ----------------------------------------------------------
        Encryption Status:       Unlocked
        Encryption Type:         None
        Conversion Status:       NoConversion
        Conversion Direction:    -none-
        Has Encrypted Extents:   No
        Fully Secure:            No
        Passphrase Required:     No
        |
        +-> Logical Volume CA0C1E93-6F95-4A4A-AC1D-39DAEE4B91D6
            ---------------------------------------------------
            Disk:                  disk2
            Status:                Online
            Size (Total):          1115853029376 B (1.1 TB)
            Conversion Progress:   -none-
            Revertible:            No
            LV Name:               Macintosh HD
            Volume Name:           Macintosh HD
            Content Hint:          Apple_HFS

diskutil cs info for LVG:


Core Storage Properties:
   Role:                       Logical Volume Group (LVG)
   UUID:                       38583C63-2026-47A7-8E8D-62D1AB9E10DE
   LVG Name:                   Macintosh HD
   LVG Version:                1
   LVG Size:                   1120333979648 B
   LVG Free Space:             0 B
   LVG Status:                 Online

So maybe the "LVG Sparse: Yes" and "Fusion Drive: Yes" parts are Yosemite only? Also, as you can see they simply named the LVG "Macintosh HD."



#39
HBP112358

HBP112358

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 227 posts
  • Location:USA

How did you "check for fusion disks"with disk utility? I don't see any option for that... I'm re-doing my setup from the Mavericks installer. I tried to repair it in disk utility, but it didn't say anything about a fusion drive.

 

 

with the Yosemite run diskutil cs info on your LVG  and it spits out the additional information that is not available before Yosemite.
 
HBP






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy