Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Andrei Borzenkov <arvidjaar@gmail.com>
To: Dmitrii Tcvetkov <demfloro@demfloro.ru>
Cc: FLJ <feci2048@gmail.com>, linux-btrfs@vger.kernel.org
Subject: Re: Help me understand what is going on with my RAID1 FS
Date: Mon, 11 Sep 2017 06:29:20 +0300	[thread overview]
Message-ID: <e7dd3f37-6088-c8e7-0c96-c7d5d612d29e@gmail.com> (raw)
In-Reply-To: <20170910231727.65bbb2aa@demfloro.ru>

10.09.2017 23:17, Dmitrii Tcvetkov пишет:
>>> Drive1      Drive2    Drive3
>>> X           X
>>> X                         X
>>>             X             X
>>>
>>> Where X is a chunk of raid1 block group.  
>>
>> But this table clearly shows that adding third drive increases free
>> space by 50%. You need to reallocate data to actually make use of it,
>> but it was done in this case.
> 
> It increases it but I don't see how this space is in any way useful
> unless data is in single profile. After full balance chunks will be
> spread over 3 devices, how it helps in raid1 data profile case?
> 
A1 A2  => A1 A2 - => A1 A2 B1 => A1 A2 B1
B1 B2     B1 B2 -    -  B2  -    C1 B2 C2

It is raid1 profile on three disks fully utilizing them (assuming equal
sizes of course). Where "raid1" means - each data block has two copies
on different devices.

  reply	other threads:[~2017-09-11  3:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-10 13:45 Help me understand what is going on with my RAID1 FS FLJ
2017-09-10 15:47 ` Kai Krakow
2017-09-10 16:50   ` Ferenc-Levente Juhos
2017-09-10 17:19     ` Dmitrii Tcvetkov
2017-09-10 18:15       ` Ferenc-Levente Juhos
2017-09-10 22:04         ` Kai Krakow
2017-09-10 19:14   ` Andrei Borzenkov
2017-09-10 16:11 ` Dmitrii Tcvetkov
2017-09-10 19:17   ` Andrei Borzenkov
2017-09-10 20:17     ` Dmitrii Tcvetkov
2017-09-11  3:29       ` Andrei Borzenkov [this message]
2017-09-11  8:18         ` FLJ
2017-09-11  0:12 ` Duncan

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=e7dd3f37-6088-c8e7-0c96-c7d5d612d29e@gmail.com \
    --to=arvidjaar@gmail.com \
    --cc=demfloro@demfloro.ru \
    --cc=feci2048@gmail.com \
    --cc=linux-btrfs@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