Re: Setup Recommendation on UEFI/GRUB/RAID1/LVM

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

 



On 04/14/2020 09:20 AM, Wols Lists wrote:
> That's true, but is it worth it? RAM is cheap, max out your motherboard,
> and try and avoid falling into swap at all. I have one swap partition
> per disk, but simply set them up as equal priority so the kernel does
> its own raid-0 stripe across them. Yes a disk failure would kill any
> apps swapped on to that disk, but my system rarely swaps...

That's a neat approach, I do it just the opposite and care RAID1 partitions
for swap (though I rarely swap as well). I've never had an issue restarting
after a failure (or me doing something dumb like hitting the wrong button on
the UPS)

So that I'm understanding, you simply create a swap partition on each disk not
part of an array, swapon both and let the kernel decide?


-- 
David C. Rankin, J.D.,P.E.



[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