SSD TRIM Support in RAID 0 or Concatenation

Discussion in 'Mac mini' started by 93732, Feb 4, 2013.

  1. macrumors newbie

    Joined:
    Jun 29, 2011
    #1
    Hi, I have a 2012 Mac Mini Server with 2 x 256 GB SSDs and wanted to run them either in RAID 0 or Concatenation to get one large 512 GB drive. Is the TRIM command enabled in any of these configurations? If not, is there a way I can combine the drives into one volume and get TRIM enabled?

    Thanks! :)
     
  2. macrumors 6502

    MatthewAMEL

    Joined:
    Oct 23, 2007
    Location:
    Orlando, FL
    #2
    Did you order the 2xSSD config from Apple? If so, then yes, TRIM is enabled on the devices no matter what configuration you put them in.
     
  3. macrumors 603

    blueroom

    Joined:
    Feb 15, 2009
    Location:
    Toronto, Canada
    #3
    Remember RAID 0 if one drive fails you lose all your data.
     
  4. macrumors 6502

    MatthewAMEL

    Joined:
    Oct 23, 2007
    Location:
    Orlando, FL
    #4
    RAID0 performance is worth the additional risk, IMHO.

    Just make sure your backup system is robust.

    I use Time Machine + Crashplan.
     
  5. macrumors regular

    Joined:
    Jun 9, 2003
    Location:
    Savannah
    #5
    Despite other responses, I believe that at the moment, the only way to pass trim in a raid volume is to set it up using Softraid.
     
  6. thread starter macrumors newbie

    Joined:
    Jun 29, 2011
    #6
    Thanks for the response guys. It looks like analog kid is correct. If I do RAID 0 with Disk Utility, no TRIM. :(
     
  7. MatthewAMEL, Feb 4, 2013
    Last edited: Feb 4, 2013

    macrumors 6502

    MatthewAMEL

    Joined:
    Oct 23, 2007
    Location:
    Orlando, FL
    #7
    Not correct.

    Software RAID in it's current iteration cannot pass hardware information about it's component parts to reporting utilities.

    If you 'get info' (disk utility, system info) about the hardware pieces, they will correctly report attributes like SMART and TRIM.
     
  8. thread starter macrumors newbie

    Joined:
    Jun 29, 2011
    #8
    Update

    FYI, I purchased both SSDs from apple (pre-installed, BTO system). I went ahead and did the RAID 0 setup as instructed in the Apple support pages. My system info now says: "TRIM Support: Yes" for both drives while they are in RAID 0. I don't know whether TRIM is truly enabled or just "supported."

    My research did yield that Intel enabled TRIM for SSDs in RAID 0 for their recent desktop 7 series chipsets. The mac mini has HM77 (Mobile version of the 7 series chipset). Since the RAID via Disk Utility is software based, I don't think this is relevant. Would have been nice if apple used the built-in hardware RAID.

    I am aware of the data loss potential. I have a synology DS412+ NAS for data, synology DX213 (4TB) for local backup, and Amazon glacier for off-site back up.
     
  9. macrumors regular

    Joined:
    Jun 9, 2003
    Location:
    Savannah
    #9
    I should clarify...
    Softraid is paid software, though you can do builds with the free trial.

    Here is an excerpt from their site.

    SoftRAID version 4.5 includes all of the incredible features first seen in the version 4.0 release that shipped a year ago. Most of these features are not found in any other RAID solution for Mac OS X. These include: Fast Mirror Rebuilds which allow a mirror (RAID 1) volume to be rebuilt in minutes rather than hours, full validation of all data on volumes and disks, certification of disks to ensure that all sectors can read and write data correctly, a complete email notification system to remotely notify you of any disk or volume error, use of SMART data to predict disk failure and a command line interface for all disk and volume functions. It is also the only RAID solution for Mac OS X which supports TRIM on SSDs.
     
  10. macrumors 6502

    MatthewAMEL

    Joined:
    Oct 23, 2007
    Location:
    Orlando, FL
    #10
    It's oft misunderstood...

    Using software/hardware RAID results in a 'volume' that is composed of multiple 'physical' devices.

    TRIM (and Garbage Collection) is a firmware/hardware function. It could care less about the volume structure it's a part of.

    By default, Apple enables TRIM on any Apple-branded SSD. There are multiple ways to enable TRIM on non-Apple SSD's.

    The performance of a particular SSD is dependent on the OS being TRIM aware, the firmware TRIM and the Garbage Collection routine. All 3 are necessary for optimal performance of a SSD.
     

Share This Page