Skip to content

Instantly share code, notes, and snippets.

@Mausy5043
Last active March 25, 2019 15:40
Show Gist options
  • Save Mausy5043/8fe0b415e8825e6a6641 to your computer and use it in GitHub Desktop.
Save Mausy5043/8fe0b415e8825e6a6641 to your computer and use it in GitHub Desktop.
mdadm.conf
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
#.....
# MHE: 20190325
CREATE owner=root group=disk mode=0660 auto=yes
# MHE: 20190323
# automatically tag new arrays as belonging to the local system
HOMEHOST <system>
# When used in --follow (aka --monitor) mode, mdadm needs a
# mail address and/or a program. To start mdadm's monitor mode, enable
# mdadm.service in systemd.
#
# If the lines are not found, mdadm will exit quietly
#MAILADDR root@mydomain.tld
#PROGRAM /usr/sbin/handle-mdadm-events
# MHE: 20190323
PROGRAM /usr/local/bin/mdadm_msg.sh
# MHE: 20190323 (copied from boson config 20140308)
ARRAY /dev/md0 metadata=1.2 name=boson:0 UUID=8c574785:ef0e8e36:b159bc37:e4d2c588
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment