linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bill Davidsen <davidsen@tmr.com>
To: Moshe Yudkowsky <moshe@pobox.com>
Cc: "Keld Jørn Simonsen" <keld@dkuug.dk>, linux-raid@vger.kernel.org
Subject: Re: In this partition scheme, grub does not find md information?
Date: Thu, 31 Jan 2008 09:40:53 -0500	[thread overview]
Message-ID: <47A1DDF5.6040600@tmr.com> (raw)
In-Reply-To: <479FCC45.7050207@pobox.com>

Moshe Yudkowsky wrote:
> Keld Jørn Simonsen wrote:
>> On Tue, Jan 29, 2008 at 06:32:54PM -0600, Moshe Yudkowsky wrote:
>>>> Hmm, why would you put swap on a raid10? I would in a production
>>>> environment always put it on separate swap partitions, possibly a 
>>>> number,
>>>> given that a number of drives are available.
>>> In a production server, however, I'd use swap on RAID in order to 
>>> prevent server downtime if a disk fails -- a suddenly bad swap can 
>>> easily (will absolutely?) cause the server to crash (even though you 
>>> can boot the server up again afterwards on the surviving swap 
>>> partitions).
>>
>> I see. Which file system type would be good for this?
>> I normally use XFS but maybe other FS is better, given that swap is used
>> very randomly 8read/write).
>>
>> Will a bad swap crash the system?
>
> Well, Peter says it will, and that's good enough for me. :-)
>
I've done unplanned research into this, it will crash the system, and if 
you're unlucky some part of what's needed for a graceful crash will be 
swapped out :-(
> As for which file system: I would use fdisk to partition the md disk 
> and then use mkswap on the partition to make it into a swap partition. 
> It's a naive approach but I suspect it's almost certainly the correct 
> one.
>
I generally dedicate a partition of each drive to swap, but the type is 
"raid array." Then I create a raid10 on that set of partitions and 
mkswap on the md device. While raid10 is fast and reliable, raid[56] 
have similar reliability and a higher usable space from any given 
configuration.

-- 
Bill Davidsen <davidsen@tmr.com>
  "Woe unto the statesman who makes war without a reason that will still
  be valid when the war is over..." Otto von Bismark 



-
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:[~2008-01-31 14:40 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-29  4:44 In this partition scheme, grub does not find md information? Moshe Yudkowsky
2008-01-29  5:08 ` Neil Brown
2008-01-29 11:02   ` Moshe Yudkowsky
2008-01-29 11:14     ` Peter Rabbitson
2008-01-29 11:29       ` Moshe Yudkowsky
2008-01-29 14:09         ` Michael Tokarev
2008-01-29 14:07       ` Michael Tokarev
2008-01-29 14:47         ` Peter Rabbitson
2008-01-29 15:13           ` Michael Tokarev
2008-01-29 15:41             ` Peter Rabbitson
2008-01-29 16:51               ` Michael Tokarev
2008-01-29 17:51                 ` Keld Jørn Simonsen
2008-01-29 16:16             ` Moshe Yudkowsky
2008-01-29 16:34               ` Peter Rabbitson
2008-01-29 19:34                 ` Moshe Yudkowsky
2008-01-29 20:21                   ` Keld Jørn Simonsen
2008-01-29 22:14                     ` Moshe Yudkowsky
2008-01-29 23:45                       ` Bill Davidsen
2008-01-30  0:13                         ` Moshe Yudkowsky
2008-01-30 22:36                           ` Bill Davidsen
2008-01-30  0:17                       ` Keld Jørn Simonsen
2008-01-29 23:44                   ` Bill Davidsen
2008-01-30  0:22                     ` Keld Jørn Simonsen
2008-01-30  0:26                       ` Peter Rabbitson
2008-01-30 22:39                         ` Bill Davidsen
2008-01-30  0:32                       ` Moshe Yudkowsky
2008-01-30  0:53                         ` Keld Jørn Simonsen
2008-01-30  1:00                           ` Moshe Yudkowsky
2008-01-31 14:40                             ` Bill Davidsen [this message]
2008-01-30 13:11                   ` Michael Tokarev
2008-01-30 14:10                     ` Moshe Yudkowsky
2008-01-30 14:41                       ` Michael Tokarev
2008-01-31 14:59                       ` Bill Davidsen
2008-02-02 20:17                         ` Bill Davidsen
2008-01-30 12:01                 ` Peter Rabbitson
2008-01-29 16:42               ` Michael Tokarev
2008-01-29 16:26             ` Keld Jørn Simonsen
2008-01-29 16:46               ` Michael Tokarev
2008-01-29 18:01                 ` Keld Jørn Simonsen
2008-01-30 13:37                   ` Michael Tokarev
2008-01-30 14:47                     ` Peter Rabbitson
2008-01-30 15:21                       ` Keld Jørn Simonsen
2008-01-30 15:35                         ` Peter Rabbitson
2008-01-30 15:46                           ` Loop devices to RAID? (was Re: In this partition scheme, grub does not find md information?) Moshe Yudkowsky
2008-01-30 15:56                             ` Tim Southerwood
2008-01-29 15:57           ` In this partition scheme, grub does not find md information? Moshe Yudkowsky
2008-01-29 16:37             ` Keld Jørn Simonsen
2008-01-29 16:57               ` Michael Tokarev
2008-01-30 11:03             ` David Greaves
2008-01-30 11:44               ` Moshe Yudkowsky
2008-01-30 12:00                 ` WRONG INFO (was Re: In this partition scheme, grub does not find md information?) Peter Rabbitson
2008-01-30 12:41                   ` David Greaves
2008-01-30 13:39                   ` Michael Tokarev
2008-02-04 16:49               ` In this partition scheme, grub does not find md information? John Stoffel
2008-02-04 17:26                 ` Michael Tokarev
2008-01-30 11:03           ` David Greaves
2008-01-29 14:48         ` Keld Jørn Simonsen
2008-01-29 16:00           ` Moshe Yudkowsky
2008-01-29 16:25             ` Peter Rabbitson
2008-01-29 14:04     ` 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=47A1DDF5.6040600@tmr.com \
    --to=davidsen@tmr.com \
    --cc=keld@dkuug.dk \
    --cc=linux-raid@vger.kernel.org \
    --cc=moshe@pobox.com \
    /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).