On 01/12/2017 03:03 AM, Istvan Gabor wrote:
If the intram/initrd requires to have the mdadm arrays it also means that I have to recreate initram when I set up a new array or remove an array. Doesn't sound good.
It's not that bad. When you add an array to the system, you a enable the mdadm hook in /etc/sysconfig and make sure you have your arrays defined in /etc/mdadm.conf. Once that hook is in place, you only need to rebuild the initramfs once, then whatever is now SuSEconfig, should automatically add that to the rebuild of any future kernel. When you remove the arrays, it's no big deal if the hook is left in place (as long as you change /etc/mdadm.conf and /etc/fstab to reflect the removal). It doesn't hurt to have mdadm check if there are arrays that need to be assembled even if there are none. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org