Re: a new install - - - putting the system on raid

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

 



Le 23/06/2022 à 14:56, Wols Lists wrote :
On 23/06/2022 13:11, o1bigtenor wrote:

I am wanting to have all of /efi/boot, /, swap, /tmp, /var, /usr and
/usr/local on one raid-1 array and a second array for /home - - -
on a new install.

/efi/boot (a) must be fat32, and (b) must be a "top level" partition.

Right, the UEFI firmware would not be able to read an EFI partition inside a partitioned software RAID array, and even on most unpartitioned RAID arrays. The most you can do is create a RAID1 array with superblock 1.0 and use it all as an EFI partition but registering EFI boot entries for each EFI RAID member will be tricky.

swap - why mirror it?

For redundancy, of course.

If you set the fstab priorities to the same value, you get a striped raid-0 for free.

Without any redundancy. What is the point of setting up RAID1 for all the rest and see your system crash pitifully when a drive fails because half of the swap suddenly becomes unreachable ?

I have tried the following:

1. make large partition on each drive
2. set up raid array (2 separate arrays)
3. unable to place partitions on arrays

Should be able to

Yes, RAID arrays should be partitionable by default. But your installer may not support it. LVM over RAID may be more widely supported.

1. set up the same partitions on each set of drives
     (did allocate unused space between each partition)
2. was only allowed one partition from each drive for the array

That sounds sensible. A RAID array with several partitions on the same drive does not make much sense. You must create a RAID array for each partition set.



[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