From: Roman Mamedov <rm@romanrm.net>
To: Yu Kuai <yukuai1@huaweicloud.com>
Cc: Allen Toureg <thetanix@gmail.com>, Song Liu <song@kernel.org>,
linux-raid@vger.kernel.org, "yukuai (C)" <yukuai3@huawei.com>
Subject: Re: md-linear accidental(?) removal, removed significant(?) use case?
Date: Thu, 2 Jan 2025 18:05:32 +0500 [thread overview]
Message-ID: <20250102180532.3140fec2@nvm> (raw)
In-Reply-To: <3925f2f0-37c0-d526-08e2-cb9ee6f6dc93@huaweicloud.com>
On Thu, 2 Jan 2025 20:58:36 +0800
Yu Kuai <yukuai1@huaweicloud.com> wrote:
> First of all, an exist md-linear can't switch to raid0, data will be
> lost.
Yes, I did not mean to switch in place, but try out for new setups.
> Then, for the case that disk with different size, for example:
>
> sda 10T, sdb and sdc 12T.
>
> Currently, in order to
> most home NAS solution will create partition for sdb and sdc,
> split it to 10T + 2T, then assemble two raid first:
>
> md0: sda + sdb1 + sdc1
> md1: sdb2 + sdc2
>
> md0 can be 20T raid5, and md1 can be 2T raid1, and finially, assemble
> new md-linear:
>
> md2: md0 + md1
>
> I agree that md-linear is better than raid0 in this case, user will
> prefer to use the md0 first, and use md1 when md0 is exhausted.
Oh yes, in case this is made of the same physical devices under the hood,
raid0 of their partitions will bring only harm, not benefits.
--
With respect,
Roman
next prev parent reply other threads:[~2025-01-02 13:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-02 4:14 md-linear accidental(?) removal, removed significant(?) use case? Allen Toureg
2025-01-02 4:18 ` Allen Toureg
2025-01-02 11:23 ` Yu Kuai
2025-01-02 12:16 ` Roman Mamedov
2025-01-02 12:58 ` Yu Kuai
2025-01-02 13:05 ` Roman Mamedov [this message]
2025-01-02 13:22 ` Pascal Hambourg
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=20250102180532.3140fec2@nvm \
--to=rm@romanrm.net \
--cc=linux-raid@vger.kernel.org \
--cc=song@kernel.org \
--cc=thetanix@gmail.com \
--cc=yukuai1@huaweicloud.com \
--cc=yukuai3@huawei.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 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.