Joachim Schrod <jschrod@acm.org> írta:
On 11/11/13 01:22, Istvan Gabor wrote:
Hello:
I have several mdraid RAID1 arrays. At boot /etc/init.d/boot.md script runs and activates the arrays.
It seems that it activates all the arrays it finds, even if they are not in the /etc/mdadm.conf file.
How can I set openSUSE to activate only those arrays which are mentioned in /etc/mdadm.conf, and leave alone the remaining ones?
man mdadm.conf
Check the explanation of the AUTO line. You have to deny auto-assembly of the metadata types that you are using. (Or deny them all.)
First I found it strange since I don't have any AUTO line in mu mdadm.conf. After having read the whole man file I found the culprit: "If no DEVICE line is present, then "DEVICE partitions containers" is assumed." As I have no device line either the above is applied and all recognized arrays are assembled. Adding AUTO -all line to mdamd.conf prevents automatic assembling. (I added it before my ARRAY definitions, but I guess it does not matter, any position is OK.) Thanks for your help. Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org