mdadm configuration
by helen314 from LinuxQuestions.org on (#4H7NY)
I have posted a request for assistance regarding how to enable mdadm to assemble / activate on boot.
I am sorry but I cannot find my original post.
I have received several answers but NONE of them helped me to set the mdadm to assemble or activate on boot.
I have no issues doing it manually.
Even after checking the mdadm man I have no idea how to instruct mdadm.conf to assemble on boot.
There is also something odd in the attached mdadm.conf - it shows only 1 spare.
I have added another "spares" and mdadm confirmed my additions.
Is there a manual way to "update" the mdamd.conf file ?
Quote:
I am sorry but I cannot find my original post.
I have received several answers but NONE of them helped me to set the mdadm to assemble or activate on boot.
I have no issues doing it manually.
Even after checking the mdadm man I have no idea how to instruct mdadm.conf to assemble on boot.
There is also something odd in the attached mdadm.conf - it shows only 1 spare.
I have added another "spares" and mdadm confirmed my additions.
Is there a manual way to "update" the mdamd.conf file ?
Quote:
# mdadm.conf # # Please refer to mdadm.conf(5) for information about this file. # # by default (built-in), scan all partitions (/proc/partitions) and all # containers for MD superblocks. alternatively, specify devices to scan, using # wildcards if desired. #DEVICE partitions containers # auto-create devices with Debian standard permissions CREATE owner=root group=disk mode=0660 auto=yes # automatically tag new arrays as belonging to the local system HOMEHOST <system> # instruct the monitoring daemon where to send mail alerts MAILADDR root # definitions of existing MD arrays ARRAY /dev/md/0 metadata=1.2 UUID=5afe531e:3c41ecd9:7057ae6e:98985049 name=jim-desktop:0 spares=1 # This file was auto-generated on Thu, 13 Jun 2019 20:34:37 -0500 # by mkconf $Id$ |