From: David T-G <davidtg-robot@justpickone.org>
To: Linux RAID list <linux-raid@vger.kernel.org>
Subject: about linear and about RAID10 (was "Re: how do i fix these RAID5 arrays?")
Date: Fri, 25 Nov 2022 13:30:53 +0000 [thread overview]
Message-ID: <20221125133050.GH19721@jpo> (raw)
In-Reply-To: <512a4cdd-9013-e158-7c77-7409cd0dc3a1@youngman.org.uk>
Wol, et al --
...and then Wol said...
% On 24/11/2022 21:10, David T-G wrote:
% > How is linear different from RAID0? I took a quick look but don't quite
% > know what I'm reading. If that's better then, hey, I'd try it (or at
% > least learn more).
%
% Linear tacks one drive on to the end of another. Raid-0 stripes across all
% drives. Both effectively combine a bunch of drives into one big drive.
Ahhhhh... I gotcha. Thanks.
%
...
%
% That's why there's raid-10. Note that outside of Linux (and often inside)
% when people say "raid-10" they actually mean "raid 1+0". That's two striped
% raid-0's, mirrored.
That's basically what I have on the web server:
jpo:~ # mdadm -D /dev/md41 | egrep '/dev|Level'
/dev/md41:
Raid Level : raid1
0 8 17 0 active sync /dev/sdb1
1 8 34 1 active sync /dev/sdc2
jpo:~ # mdadm -D /dev/md42 | egrep '/dev|Level'
/dev/md42:
Raid Level : raid1
0 8 18 0 active sync /dev/sdb2
1 8 33 1 active sync /dev/sdc1
jpo:~ # mdadm -D /dev/md40 | egrep '/dev|Level'
/dev/md40:
Raid Level : raid0
0 9 41 0 active sync /dev/md/md41
1 9 42 1 active sync /dev/md/md42
jpo:~ #
jpo:~ #
jpo:~ # parted /dev/sdb p
Model: ATA ST4000VN008-2DR1 (scsi)
Disk /dev/sdb: 4001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 2000GB 2000GB Raid1-1
2 2000GB 4001GB 2000GB Raid1-2
4 4001GB 4001GB 860kB ext2 Seag4000-ZDHB2X37-ext2
jpo:~ # parted /dev/sdc p
Model: ATA ST4000VN008-2DR1 (scsi)
Disk /dev/sdc: 4001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 2000GB 2000GB Raid1-2
2 2000GB 4001GB 2000GB Raid1-1
4 4001GB 4001GB 860kB Seag4000-ZDHBKZTG-ext2
%
...
%
% Either version (10, or 1+0), gives you get the speed of striping, and the
% safety of a mirror. 10, however, can use an odd number of disks, and disks
% of random sizes.
That's still magic to me :-) Mirroring (but not doubling up the
redundancy) on an odd number of disks?!?
%
% Cheers,
% Wol
HAND
:-D
--
David T-G
See http://justpickone.org/davidtg/email/
See http://justpickone.org/davidtg/tofu.txt
next prev parent reply other threads:[~2022-11-25 13:30 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-23 22:07 how do i fix these RAID5 arrays? David T-G
2022-11-23 22:28 ` Roman Mamedov
2022-11-24 0:01 ` Roger Heflin
2022-11-24 21:20 ` David T-G
2022-11-24 21:49 ` Wol
2022-11-25 13:36 ` and dm-integrity, too (was "Re: how do i fix these RAID5 arrays?") David T-G
2022-11-24 21:10 ` how do i fix these RAID5 arrays? David T-G
2022-11-24 21:33 ` Wol
2022-11-25 1:16 ` Roger Heflin
2022-11-25 13:22 ` David T-G
[not found] ` <CAAMCDed1-4zFgHMS760dO1pThtkrn8K+FMuG-QQ+9W-FE0iq9Q@mail.gmail.com>
2022-11-25 19:49 ` David T-G
2022-11-28 14:24 ` md RAID0 can be grown (was "Re: how do i fix these RAID5 arrays?") David T-G
2022-11-29 21:17 ` Jani Partanen
2022-11-29 22:22 ` Roman Mamedov
2022-12-03 5:41 ` md vs LVM and VMs and ... (was "Re: md RAID0 can be grown (was ...") David T-G
2022-12-03 12:06 ` Wols Lists
2022-12-03 18:04 ` batches and serial numbers (was "Re: md vs LVM and VMs and ...") David T-G
2022-12-03 20:07 ` Wols Lists
2022-12-04 2:47 ` batches and serial numbers David T-G
2022-12-04 13:54 ` Wols Lists
2022-12-04 13:04 ` batches and serial numbers (was "Re: md vs LVM and VMs and ...") Reindl Harald
2022-12-03 5:41 ` md RAID0 can be grown David T-G
2022-11-25 13:30 ` David T-G [this message]
2022-11-25 14:23 ` about linear and about RAID10 (was "Re: how do i fix these RAID5 arrays?") Wols Lists
2022-11-25 19:50 ` about linear and about RAID10 David T-G
2022-11-25 18:00 ` about linear and about RAID10 (was "Re: how do i fix these RAID5 arrays?") Roger Heflin
2022-11-28 14:46 ` about linear and about RAID10 David T-G
2022-11-28 15:32 ` Reindl Harald
[not found] ` <CAAMCDecXkcmUe=ZFnJ_NndND0C2=D5qSoj1Hohsrty8y1uqdfw@mail.gmail.com>
2022-11-28 17:03 ` Reindl Harald
2022-11-28 20:45 ` John Stoffel
2022-12-03 5:58 ` David T-G
2022-12-03 12:16 ` Wols Lists
2022-12-03 18:27 ` David T-G
2022-12-03 23:26 ` Wol
2022-12-04 2:53 ` David T-G
2022-12-04 13:13 ` Reindl Harald
2022-12-04 13:08 ` Reindl Harald
2022-12-03 5:45 ` David T-G
2022-12-03 12:20 ` Reindl Harald
[not found] ` <CAAMCDee_YrhXo+5hp31YXgUHkyuUr-zTXOqi0-HUjMrHpYMkTQ@mail.gmail.com>
2022-12-03 5:52 ` stripe size checking (was "Re: about linear and about RAID10") David T-G
2022-11-25 14:49 ` how do i fix these RAID5 arrays? Wols Lists
2022-11-26 20:02 ` John Stoffel
2022-11-27 9:33 ` Wols Lists
2022-11-27 11:46 ` Reindl Harald
2022-11-27 11:52 ` Wols Lists
2022-11-27 12:06 ` Reindl Harald
2022-11-27 14:33 ` Wol
2022-11-27 18:08 ` Roman Mamedov
2022-11-27 19:21 ` Wol
2022-11-28 1:26 ` Reindl Harald
2022-11-27 18:23 ` Reindl Harald
2022-11-27 19:30 ` Wol
2022-11-27 19:51 ` Reindl Harald
2022-11-27 14:10 ` piergiorgio.sartor
2022-11-27 18:21 ` Reindl Harald
2022-11-27 19:37 ` Piergiorgio Sartor
2022-11-27 19:52 ` Reindl Harald
2022-11-27 22:05 ` Wol
2022-11-27 22:08 ` Reindl Harald
2022-11-27 22:11 ` Reindl Harald
2022-11-27 22:17 ` Roman Mamedov
2022-11-27 14:58 ` John Stoffel
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=20221125133050.GH19721@jpo \
--to=davidtg-robot@justpickone.org \
--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).