linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Tomas France" <tomfra@centrum.cz>
To: linux-raid@vger.kernel.org
Subject: Re: SWAP file on a RAID-10 array possible?
Date: Wed, 15 Aug 2007 12:28:04 +0200	[thread overview]
Message-ID: <02db01c7df27$04321c60$332317ac@Cortex> (raw)
In-Reply-To: 46C2D101.8050205@dgreaves.com

Thanks for the answer, David!

I kind of think RAID-10 is a very good choice for a swap file. For now I 
will need to setup the swap file on a simple RAID-1 array anyway, I just 
need to be prepared when it's time to add more disks and transform the whole 
thing into RAID-10... which will be big fun anyway, for sure ;)

By the way, does anyone know if there is a comprehensive how-to on software 
RAID with mdadm available somewhere? I mean a website where I could get 
answers to questions like "How to convert your system from no RAID to 
RAID-1, from RAID-1 to RAID-5/10, how to setup LILO/GRUB to boot from a 
RAID-1 array" etc. Don't take me wrong, I have "done my homework" and found 
a lot of info on the topic but a lot of it is several years old and many 
things have changed since then. And it's quite scattered too..

Tomas


----- Original Message ----- 
From: "David Greaves" <david@dgreaves.com>
To: "Tomas France" <tomfra@centrum.cz>
Cc: <linux-raid@vger.kernel.org>
Sent: Wednesday, August 15, 2007 12:10 PM
Subject: Re: SWAP file on a RAID-10 array possible?


> Tomas France wrote:
>> Hi everyone,
>>
>> I apologize for asking such a fundamental question on the Linux-RAID list 
>> but the answers I found elsewhere have been contradicting one another.
>>
>> So, is it possible to have a swap file on a RAID-10 array?
> yes.
>
> mkswap /dev/md<X>
> swapon /dev/md<X>
>
> Should you use RAID-10 for swap? That's philosophy :)
>
> David
> -
> 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:[~2007-08-15 10:28 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-07  8:16 Linux RAID migration saeed bishara
2007-08-07  8:26 ` Tuomas Leikola
2007-08-07 10:02   ` saeed bishara
2007-08-07 10:22     ` Neil Brown
2007-08-07 10:32       ` saeed bishara
2007-08-07 10:46         ` saeed bishara
2007-08-07 11:18           ` Neil Brown
2007-08-07 11:31             ` saeed bishara
2007-08-07 11:40               ` Neil Brown
2007-08-07 13:27                 ` saeed bishara
2007-08-07 15:15                   ` saeed bishara
2007-08-09  3:23                     ` Neil Brown
2007-08-15  9:02                 ` SWAP file on a RAID-10 array possible? Tomas France
2007-08-15 10:10                   ` David Greaves
2007-08-15 10:28                     ` Tomas France [this message]
2007-08-15 12:59                       ` David Greaves
2007-08-15 14:32                       ` Daniel Korstad
2007-08-15 21:42                       ` Michael Tokarev
2007-08-18  8:52                         ` Tomas France
2007-08-15 22:02                   ` Bill Davidsen
2007-08-07 10:37       ` Linux RAID migration Tomasz Chmielewski

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='02db01c7df27$04321c60$332317ac@Cortex' \
    --to=tomfra@centrum.cz \
    --cc=linux-raid@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).