On 11/07/17 08:47, Bjoern Voigt wrote:
Wols Lists wrote:
Doing software raid, I would mirror the system partition across all drives, and also install grub on all drives. That way, if a drive disappears, the system will still boot from the first available drive. Snag is, if anything changes boot-wise, you need to make sure it gets mirrored across all drives.
As far as I know the Grub2 version of openSUSE can boot from a /boot ext4 filesystem with RAID 1.
Grub2 can boot from any "standard" raid, namely 1 or 4/5/6. But you MUST tell linux to "domdadm", and also to load the raid drivers into grub. If you don't want to boot from a raid array, but instead want to boot from just one disk of a raid array, you can only use a v1.0 mirror - any other supported raid will fail.
But I am not sure, if the server continues to boot, if the first drive is available, but not working correctly (disk errors). Probably yes.
Be careful. By default, if a drive fails, assembling the array will fail and there will be no system partition to boot into. You can, however, tell the system to "assemble and run regardless" - an option specifically for this situation.
A RAID1 system partition is no problem.
Cheers, Wol -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org