public inbox for linux-raid@vger.kernel.org
 help / color / mirror / Atom feed
* What is the best way to set up RAID-1 on new Ubuntu install
@ 2025-09-03 21:04 Jeffery Small
  2025-09-03 21:32 ` Wol
  2025-09-04  7:41 ` Adam Niescierowicz
  0 siblings, 2 replies; 10+ messages in thread
From: Jeffery Small @ 2025-09-03 21:04 UTC (permalink / raw)
  To: linux-raid


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-09-06  2:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2025-09-04  9:22   ` Michael Reinelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox