Results 1 to 8 of 8

Thread: SSD mirroring

  1. #1
    Join Date
    Aug 2008
    Location
    London, UK
    Posts
    168

    Question SSD mirroring

    Can any experts advise me. I've bought a 128GB SSD drive for my main computer (running OS 42.2 soon to be 42.3) which I'll use for the root + swap + tmp files. I believe SSD drives both have a tendency to fail catastrophically and produce unrecoverable errors at a higher rate than "normal" HDs.

    So, I'd like to mirror the SSD onto a part of the 2TB HD also installed.

    so, some questions:
    1) is partition level SW RAID 0 or RAID 1 is the best option, or is there a "whole disk" SW mirroring option. Please advise?

    2) will this make setup / config / reconfig of the computer significantly more difficult / unreliable?

    3) are there other considerations I should be aware of?

    4) any specific recommendations (or references to setup guides) for this type of use?

    I'll be using LVM for the rest of the 2TB disk for the other partitions I need (for VMs).

    Thanks
    David

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,864
    Blog Entries
    15

    Default Re: SSD mirroring

    Hi
    What brand of SSD? Check the specs SSD lifetimes (writes per day) have much improved... FWIW I have not had an SSD failure (yet) and been running some for > 3years.

    The SSD will more than likely outlast your spinning rust... don't rely on RAID it's not a backup, buy a second 2TB drive and backup your data to that.

    I never backup/mirror/image the OS, not worth it, changed config files, sure. If it's a catastrophic failure I can restore with a fresh install quicker than imaging something back.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,854
    Blog Entries
    14

    Default Re: SSD mirroring

    SSD wearing as a danger for your data is from the beginning of SSD's. My oldest one is ~8 years old, I thought it dies but a friend put it in another case+controller and it's been doing fine since then. To get to the EOL for a modern SSD takes petabytes of writes.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,864
    Blog Entries
    15

    Default Re: SSD mirroring

    Hi
    Also the hardware you running on...what happens if that fails specifically the SATA controller, you might have one controller for both disks, if that fails, doesn't help you RAID.

    Does the system have two SATA controllers, if so, if you do go the RAID route you need to check each disk has is on it's own controller. Else if this is a desktop, maybe a PCIe SATA controller will suffice.

    Also I wonder how the I/O speed would be affected with an SSD and a HDD in a RAID setup, if anything SSD's are used to cache the data feeding to a RAID setup for speed.

    My suggestion, use the SSD for the OS and say /home (I use a /data and softlinks as it's easier to backup), your 2TB device for LVM and get yourself a backup disk that will take your important data and store this somewhere offsite (I send mine to my wife's office and sits in her bottom desk draw).
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,296
    Blog Entries
    2

    Default Re: SSD mirroring

    Besides "Amen!" to all the previous posts...

    Quote Originally Posted by jetojedno View Post
    Can any experts advise me. I've bought a 128GB SSD drive for my main computer (running OS 42.2 soon to be 42.3) which I'll use for the root + swap + tmp files. I believe SSD drives both have a tendency to fail catastrophically and produce unrecoverable errors at a higher rate than "normal" HDs.

    So, I'd like to mirror the SSD onto a part of the 2TB HD also installed.

    so, some questions:
    1) is partition level SW RAID 0 or RAID 1 is the best option, or is there a "whole disk" SW mirroring option. Please advise?
    If you end up doing any kind of RAID, you can configure partition or whole disk.

    Quote Originally Posted by jetojedno View Post
    2) will this make setup / config / reconfig of the computer significantly more difficult / unreliable?
    Absolutely yes. RAID0 makes a system <very> vulnerable to any kind of file system failure by making your point of failure <anywhere> across 2 disks instead of only one. if disk I/O is your point of congestion, then RAID0 can address this, but is highly discouraged for anything other than writing log files.

    RAID1 can improve certain fault tolerance at the cost of some complexity, it then becomes whether that complexity makes a diff to you. Probably little about setup, breaking an array, and re-building an array is difficult, but will you spend the time to familiarize? Most people don't test and learn these procedures so it then becomes extra work without any benefit when a real problem happens. Remember that RAID1 only protects against some types of individual disk failures and nothing else.

    Quote Originally Posted by jetojedno View Post
    3) are there other considerations I should be aware of?
    Yes. As others have noted, your fear for "catastrophic" failure is likely baseless. On an SSD, if a hardware electrical path fails in a loss of memory chips, that would be catastropic and require hardware repair to maybe recover. But if you're talking about cell/trap failures, those aren't much different than when bad sectors go bad on HDD, and the disk firmware will then write that data to a different trap... similar to what would happen on a HDD. So, you'll have to define "catastrophic failure" to determine whether your fear has any basis.

    Quote Originally Posted by jetojedno View Post
    4) any specific recommendations (or references to setup guides) for this type of use?
    Yes.
    https://wiki.archlinux.org/index.php/Solid_State_Drives
    https://wiki.archlinux.org/index.php...ng_performance

    And, <always> configure only disks with similar performance in the same RAID array. If the disk specs are different, do something else.
    Quote Originally Posted by jetojedno View Post
    I'll be using LVM for the rest of the 2TB disk for the other partitions I need (for VMs).

    Thanks
    David
    Splitting off a part of a disk for dedicated storage is OK for organizational purposes, but won't have much effect on <performance> which is more related to the hardware disk it's on.

    HTH,
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  6. #6
    Join Date
    Aug 2008
    Location
    London, UK
    Posts
    168

    Thumbs up Re: SSD mirroring

    Thanks for all your replies. The consensus seems to be: mirroring not worth the effort and will decrease reliability & add complexity / opportunities for error on change. A good backup regime is a better use of my time & effort.

    David

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,864
    Blog Entries
    15

    Default Re: SSD mirroring

    Quote Originally Posted by jetojedno View Post
    Thanks for all your replies. The consensus seems to be: mirroring not worth the effort and will decrease reliability & add complexity / opportunities for error on change. A good backup regime is a better use of my time & effort.

    David
    Hi
    Yes, IMHO

    You could research bcache and the likes and allocate a portion of the SSD for the HDD to use. If both SSD and HDD a 6Gb devices as well as your controller(s) then possibly not worth a SDD cache.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  8. #8
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,157

    Default Re: SSD mirroring

    Quote Originally Posted by jetojedno View Post
    A good backup regime is a better use of my time & effort.
    You should have that regardless of you using whatever.

    While some benefits of both backups and RAIDs are common, IMHO they mainly address different things.

    Backups to be able to restore older files. Varies from a user coming to you and admitting that he deleted something important by incident to a complete database that run bonkers and has to be restored to a certain well know point in time. No RAID will help here.

    Disk arrays and other things behind it, like double power circuits, double data channels/buses, are to increase up-time.
    Henk van Velden

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •