public inbox for linux-raid@vger.kernel.org
 help / color / mirror / Atom feed
From: Adam Niescierowicz <adam.niescierowicz@justnet.pl>
To: Jeffery Small <jeff@cjsa.com>, linux-raid@vger.kernel.org
Subject: Re: What is the best way to set up RAID-1 on new Ubuntu install
Date: Thu, 4 Sep 2025 09:41:38 +0200	[thread overview]
Message-ID: <5cfd2066-7ddc-44b5-92ef-28c3a2d2c12a@justnet.pl> (raw)
In-Reply-To: <109aahg$34jlp$1@dymaxion.cjsa2.com>


[-- Attachment #1.1: Type: text/plain, Size: 1544 bytes --]

W dniu 3.09.2025 o 23:04, Jeffery Small pisze:
> I will be installing Xubuntu 24.04.3 on a newly built system having two
> 4TB Samsung M.2 SSDs which will be mirrored using RAID-1.  My question is
> what is the better way to set up the mirror.  I'll have 128GB of RAM and
> will be using a swapfile after installation.
>
> Method #1: After the UEFI partition is created on both disks, create GPT
>             /boot, / and /home partitions on each SSD and then create
> 	   three separate mirrors:
>
> 	   md0: /boot
>
> 	   md1: /
>
> 	   md2: /home
>
> Method #2: After the UEFI partition is created on both disks, mirror md0
> 	   using the rest of the free space.  Then create GPT partitions
> 	   directly on the mirror:
>
> 	   md0p1: /boot
>
> 	   md0p2: /
>
> 	   md0p3: /home
>
> This will be a straightforward desktop workstation, with no encryption or
> support for multiple OS installs.  Are there advantages or possible pitfalls
> with either approach?
>
> I'm also considering eliminating the boot and home partitions and just
> using a single root partition which feels strange after using UNIX for over
> 40 years. From a raid perspective does this also have advantages/pitfalls?
>
> Thanks.
> --
> Jeffery Small

What about:

sda1 and sdb1 for EFI no raid sda2 and sdb2 RAID-10 with -f2 option 
(diffrent offset that gives double speed of read and single speed of write)

md0: LVM and on top of LVM you can create partitions with XFS 
filesystem. XFS allows you to realtime grow partitons.

-- 
---
Thanks
Adam Nieścierowicz

[-- Attachment #1.2: Type: text/html, Size: 2139 bytes --]

[-- Attachment #2: adam_niescierowicz.vcf --]
[-- Type: text/vcard, Size: 195 bytes --]

begin:vcard
fn;quoted-printable:Adam Nie=C5=9Bcierowicz
n;quoted-printable:Nie=C5=9Bcierowicz;Adam
email;internet:adam.niescierowicz@justnet.pl
x-mozilla-html:TRUE
version:2.1
end:vcard


  parent reply	other threads:[~2025-09-04  8:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-03 21:04 What is the best way to set up RAID-1 on new Ubuntu install Jeffery Small
2025-09-03 21:32 ` Wol
2025-09-04  4:54   ` Jeffery Small
2025-09-04 22:55     ` Wol
2025-09-05  3:12       ` Reindl Harald
2025-09-05  4:40         ` Jeffery Small
2025-09-06  2:16         ` Dragan Milivojević
2025-09-05  6:03       ` Pascal Hambourg
2025-09-04  7:41 ` Adam Niescierowicz [this message]
2025-09-04  9:22   ` Michael Reinelt

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=5cfd2066-7ddc-44b5-92ef-28c3a2d2c12a@justnet.pl \
    --to=adam.niescierowicz@justnet.pl \
    --cc=jeff@cjsa.com \
    --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