All of lore.kernel.org
 help / color / mirror / Atom feed
From: Austin S Hemmelgarn <ahferroin7@gmail.com>
To: russell@coker.com.au, linux-btrfs@vger.kernel.org
Subject: Re: No space on empty, degraded raid10
Date: Thu, 11 Sep 2014 07:19:00 -0400	[thread overview]
Message-ID: <54118524.1010006@gmail.com> (raw)
In-Reply-To: <201409111640.23845.russell@coker.com.au>

[-- Attachment #1: Type: text/plain, Size: 1280 bytes --]

On 2014-09-11 02:40, Russell Coker wrote:
> On Mon, 8 Sep 2014, Austin S Hemmelgarn <ahferroin7@gmail.com> wrote:
>> Also, I've found out the hard way that system chunks really should be
>> RAID1, NOT RAID10, otherwise it's very likely that the filesystem
>> won't mount at all if you lose 2 disks.
> 
> Why would that be different?
> 
> In a RAID-1 you expect system problems if 2 disks fail, why would RAID-10 be 
> different?
That's still the case, but in a RAID1 with four disks, of the six
different pairs of two disks you could lose, only one will make the
filesystem un-mountable, whereas for a four disk RAID10, there are two
different pairs of two disks you could lose to make the filesystem
un-mountable.  In haven't run the numbers for higher numbers of disks,
but things are likely not better, because if you lose both copies of the
same stripe, things will fail.
> 
> Also it would be nice if there was a N-way mirror option for system data.  As 
> such data is tiny (32MB on the 120G filesystem in my workstation) the space 
> used by having a copy on every disk in the array shouldn't matter.
> 
N-way mirroring is in the queue for after RAID5/6 work; ideally, once it
is ready, mkfs should default to one copy per disk in the filesystem.


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 2455 bytes --]

  reply	other threads:[~2014-09-11 11:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-07 20:38 No space on empty, degraded raid10 Or Tal
2014-09-08 11:01 ` Austin S Hemmelgarn
2014-09-11  6:40   ` Russell Coker
2014-09-11 11:19     ` Austin S Hemmelgarn [this message]
2014-09-11 11:38       ` Hugo Mills
2014-09-11 12:06         ` Austin S Hemmelgarn
2014-09-11 12:10           ` Hugo Mills

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=54118524.1010006@gmail.com \
    --to=ahferroin7@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=russell@coker.com.au \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.