Skip to content

Instantly share code, notes, and snippets.

@chusiang
Created September 10, 2014 09:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chusiang/6ddce341a6b8ddfdd458 to your computer and use it in GitHub Desktop.
Save chusiang/6ddce341a6b8ddfdd458 to your computer and use it in GitHub Desktop.
# 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
DEVICE /dev/sdb1 /dev/sdc1 /dev/sdd1
# 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>
HOMEHOST kvm1
# instruct the monitoring daemon where to send mail alerts
MAILADDR root
# definitions of existing MD arrays
#ARRAY /dev/md/0 metadata=1.2 UUID=d53e0a8e:0c29aa78:044f2994:624759c3 name=idsbg-fs:0
ARRAY /dev/md0 metadata=1.2 name=kvm1:0 UUID=329c3fb3:f4b3ff44:f5769517:937d9de7 devices=/dev/sdb1,/dev/sdc1,/dev/sdd1
# This file was auto-generated on Tue, 14 Jan 2014 10:35:43 +0800
# by mkconf 3.2.5-5
@chusiang
Copy link
Author

在 Debian 7 裡使用 mdadm 建置 soft RAID 5 時,在 #38 Software RAID 5 in Ubuntu/Debian with mdadm 一文中有提到需編寫 /etc/mdadm/mdadm.conf 一檔,此為凍仁在 kvm server 上的設定。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment