public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] OT: HW-raid1 & SSD?
Date: Wed, 11 Jul 2012 10:37:37 -0700	[thread overview]
Message-ID: <CAK2H+ee4_Go23ujVj2==-zWtW36_z1xqM-EUC5kXyb+tQruA1A@mail.gmail.com> (raw)
In-Reply-To: <4FFB1443.4090500@gmail.com>

On Mon, Jul 9, 2012 at 10:26 AM, Jarry <mr.jarry@gmail.com> wrote:
> Hi,
>
> I'm building small server for VPS-hosting purpose (not decided
> yet, probably KVM or ESXi). Althought it is "non production",
> reliability is still issue for me. I'm considering using two
> small SSD (ie. Intel 313, 24GB, SLC) in hw-raid1 (Adaptec 3805)
> just for hypervisor, and 2xHDD/raid1 for VPS.
>
> I started looking for info on internet but results are not
> conclusive. Opinions vary from "no problem, use SSD&raid1"
> to "using SSD in raid is not recommended no matter if it is
> SW or HW".  Mostly missing trim-command is mentioned as reason
> for not using SSD in any raid.
>
> Does anyone have any experience with SSD in raid (SW or HW)?
> Is it safe to use it on server?
>
> Jarry

On the surface it doesn't make a lot of sense to me. If you have two
drives mapped against each other in a RAID-1, and then you TRIM part
of 1 drive but don't TRIM the same part of the 2nd drive, it seems to
me that you're discarding part of your redundancy, aren't you? What
would mdadm itself (or anything else) know about remapping that stuff?
Granted, mdadm could be informed and probably reconstruct the RAID-1
in a new location, but as you TRIM out different parts of each SSD
it's going to get messy I think.

If you look up TRIM in Wikipedia there's a little bit of info
suggesting some support for some file systems.

http://en.wikipedia.org/wiki/TRIM

I can say from reading the mdadm list for the last year that it's a
conversation that doesn't come up all that often and mostly goes away
pretty fast most of the time there. Check their archives.

In my case I'm running a small server here that's currently running 3
VMs which is typical for my work day. I'm considering adding a single
SSD to the system to host the VMs but using rsync to back them up to
HDD RAID each evening.

HTH,
Mark



      parent reply	other threads:[~2012-07-11 17:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-09 17:26 [gentoo-user] OT: HW-raid1 & SSD? Jarry
2012-07-09 19:12 ` Florian Philipp
2012-07-09 19:28   ` Michael Mol
2012-07-11 16:09 ` Volker Armin Hemmann
2012-07-13 16:34   ` Jarry
2012-07-14 19:47     ` Volker Armin Hemmann
2012-07-11 17:37 ` Mark Knecht [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAK2H+ee4_Go23ujVj2==-zWtW36_z1xqM-EUC5kXyb+tQruA1A@mail.gmail.com' \
    --to=markknecht@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox