Re: What is the best way to set up RAID-1 on new Ubuntu install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Donnerstag, dem 04.09.2025 um 09:41 +0200 schrieb Adam Niescierowicz:
> 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.

Depending on the user’s knowledge and experience, I’d vote for keeping simple setups simple:

Don’t use RAID-10 with far: it can make reshaping/growth complicated or impossible and mainly helps
long sequential reads. Just go for "classic" RAID-1.

Don’t add LVM unless there’s a clear benefit (multiple volumes, snapshots, thin provisioning).
Otherwise it’s just more moving parts.

Use Ext4 unless there’s a strong reason for XFS. Ext4 supports online grow; XFS cannot be shrunk.

regards, Michael

-- 
Michael Reinelt <michael@xxxxxxxxxxxxx>
Ringsiedlung 75
A-8111 Gratwein-Straßengel
+43 676 3079941





[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux