linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Mathias Burén" <mathias.buren@gmail.com>
To: Roberto Spadim <roberto@spadim.com.br>
Cc: Steven Haigh <netwiz@crc.id.au>, linux-raid@vger.kernel.org
Subject: Re: debian software raid1
Date: Tue, 19 Apr 2011 23:05:27 +0100	[thread overview]
Message-ID: <BANLkTik02c1OOvq8TBisfo4+KXFBCgNKzA@mail.gmail.com> (raw)
In-Reply-To: <BANLkTin8MgBDixExj+qygshM_oMjTS1emg@mail.gmail.com>

On 19 April 2011 23:01, Roberto Spadim <roberto@spadim.com.br> wrote:
> hum, some doubts....
> what´s better (faster / secure)?
> swap over one disk (no raid)
> swap over one md raid1
> swap over one md raid0
> swap over one md raid10
> swap over one md raid5
> swap over one md raid6
>
>
>
> 2011/4/19 Steven Haigh <netwiz@crc.id.au>:
>> On 20/04/2011 7:10 AM, Gordon Henderson wrote:
>>>
>>> I'm actually of the opinion that to NOT put swap on RAID in an otherwise
>>> RAIDed system is just plain silly. Do it. You know it makes sense!
>>
>> I think the preferred method at the moment (and at least for 2010/2011) is
>> to have a smallish RAID1 partition for /boot then create a second RAID array
>> for everything else and use LVM on top of that.
>>
>> That allows you to have the host on the same RAID1 and use the flexibility
>> to use LVM for all your other requirements.
>>
>> I personally run a Xen virtualisation server - it has the following:
>> /dev/md0 - /boot - 512Mb - RAID1
>> /dev/md1 - VG 'RAID1' - rest of disk - RAID1
>> /dev/md2 - VG 'RAID5' - 3 x 1Tb whole disks - RAID5
>>
>> Then the majority of the 7 VMs on that machine live on the RAID5 VG (with
>> one special case that is on the RAID1 VG) and it runs very happily.
>>
>> The swap and root of Dom0 is on the RAID1 VG. This seems to be the best way
>> I've found to have the most flexibility and not have to change things as
>> time progresses.
>>
>> --
>> Steven Haigh
>>
>> Email: netwiz@crc.id.au
>> Web: http://www.crc.id.au
>> Phone: (03) 9001 6090 - 0412 935 897
>> Fax: (03) 8338 0299
>>
>> There are no great men, only great challenges that ordinary men are forced
>> by circumstances to meet. -- Admiral William Halsey
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>
>
>
> --
> Roberto Spadim
> Spadim Technology / SPAEmpresarial
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

You can't say "faster/secure", it's mostly either one. Swap over raid0
or some raid10 implementation would probably be the fastest. Swap on
raid456 would be incredibly slow write wise...
// M
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2011-04-19 22:05 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-19 12:12 debian software raid1 b2
2011-04-19 12:25 ` Mathias Burén
2011-04-19 16:03   ` Iordan Iordanov
2011-04-19 21:10     ` Gordon Henderson
2011-04-19 21:33       ` Steven Haigh
2011-04-19 22:01         ` Roberto Spadim
2011-04-19 22:05           ` Mathias Burén [this message]
2011-04-19 22:51     ` NeilBrown
2011-04-20  0:33       ` Joe Landman
2011-04-20  1:12         ` NeilBrown
2011-04-20 14:59           ` Iordan Iordanov
2011-04-20 14:51         ` Iordan Iordanov
2011-04-21  6:15           ` Luca Berra
2011-04-21 14:50             ` Iordan Iordanov
2011-04-22  5:59               ` Luca Berra
2011-04-22 19:19                 ` Iordan Iordanov
2011-04-22 19:28                   ` Mikael Abrahamsson
2011-04-23  0:07                     ` Iordan Iordanov
2011-04-20 10:28       ` Asdo
2011-04-20 12:40         ` NeilBrown
2011-04-23  8:33     ` Jan Ceuleers
2011-04-22 19:21 ` Iordan Iordanov
2011-04-22 22:12   ` NeilBrown
2011-04-23  0:05     ` Iordan Iordanov
2011-04-23 12:54       ` David Brown
2011-04-23 14:23       ` Keld Jørn Simonsen

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=BANLkTik02c1OOvq8TBisfo4+KXFBCgNKzA@mail.gmail.com \
    --to=mathias.buren@gmail.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=netwiz@crc.id.au \
    --cc=roberto@spadim.com.br \
    /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;
as well as URLs for NNTP newsgroup(s).