aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/mdadm/files/mdadm.config
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2017-02-09 13:22:47 +0100
committerJo-Philipp Wich <jo@mein.io>2017-04-08 14:20:19 +0200
commit813efe57e434037fb58bd3e16ebd3a1cfd6ceb82 (patch)
tree1dd0c3ab66fc9d6d1747f64b7f602d01c92bd40b /package/utils/mdadm/files/mdadm.config
parent1449b52f021f1aa4fb9447035a7809dac43cacbe (diff)
downloadupstream-813efe57e434037fb58bd3e16ebd3a1cfd6ceb82.tar.gz
upstream-813efe57e434037fb58bd3e16ebd3a1cfd6ceb82.tar.bz2
upstream-813efe57e434037fb58bd3e16ebd3a1cfd6ceb82.zip
mdadm: extend uci config support
Extend the mdadm package to allow to explicitely configure arrays as well as device list entries. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'package/utils/mdadm/files/mdadm.config')
-rw-r--r--package/utils/mdadm/files/mdadm.config15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/utils/mdadm/files/mdadm.config b/package/utils/mdadm/files/mdadm.config
index 536228fae4..50afbc2ab6 100644
--- a/package/utils/mdadm/files/mdadm.config
+++ b/package/utils/mdadm/files/mdadm.config
@@ -1,3 +1,18 @@
config mdadm
option email root
+ # list devices /dev/hd*
+ # list devices /dev/sd*
+ # list devices partitions
+config array
+ option uuid 52c5c44a:d2162820:f75d3464:799750f8
+ option device /dev/md0
+ # option name raid:0
+ # option super_minor 0
+ # list devices /dev/sda1
+ # list devices /dev/sdb1
+ # option spares 0
+ # option spare_group spares
+ # option bitmap /bitmap.md
+ # option container 00000000:00000000:00000000:00000000
+ # option member 1