Anonim / 5 years, 7 months ago | Download | Plaintext | Odpowiedz |

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#

# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE partitions

# 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 email@ndomena.com

# definitions of existing MD arrays
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=f41f658a:49d30904:a4d2adc2:26fd5302
ARRAY /dev/md5 level=raid1 num-devices=2 UUID=cc9c7464:20c295a3:a4d2adc2:26fd5302

# This file was auto-generated on Fri, 08 Oct 2010 17:19:43 +0200
# by mkconf $Id$
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=eb35e183:b11f0bfe:a4d2adc2:26fd5302
ARRAY /dev/md2 level=raid1 num-devices=2 UUID=09160d9b:1528dd45:a4d2adc2:26fd5302
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=74331056:b76343d1:a4d2adc2:26fd5302

//------------------------------------------
$ cat /proc/mdstat 
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] [faulty] 
md1 : active raid1 sdb1[1] sda1[0]
      10485696 blocks [2/2] [UU]
      
md2 : active raid1 sdb2[1] sda2[0]
      67134400 blocks [2/2] [UU]
      
md0 : active raid1 sdc1[0] sdd1[1]
      1397261632 blocks [2/2] [UU]
      
unused devices: <none>