0
:

 

 

/dev/md127

mdadm mint 17.2
  
: 0
Linux , . , , . . zst

3.
, .
Mint 17.2 raid1.

LM17 ~ # cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md100 : active raid1 sdc1[1] sdb1[0]
976761472 blocks [2/2] [UU]
[================>....] resync = 82.7% (808169600/976761472) finish=58.4min speed=48040K/sec
unused devices: <none>

LM17 ~ # cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md100 : active raid1 sdc1[1] sdb1[0]
976761472 blocks [2/2] [UU]
unused devices: <none>

, . ...

LM17 ~ # mdadm --detail --scan --verbose
ARRAY /dev/md100 level=raid1 num-devices=2 metadata=0.90 UUID=0b7100b0:76070271:0d1411c6:c13b397e
devices=/dev/sdb1,/dev/sdc1
LM17 ~ #

/etc/mdadm/mdadm.conf

ARRAY /dev/md100 level=raid1 num-devices=2 metadata=0.90 UUID=0b7100b0:76070271:0d1411c6:c13b397e
devices=/dev/sdb1,/dev/sdc1


# CREATE owner=root group=disk mode=0660 auto=yes
...

.....
/dev/md100 /dev/md127

LM17 ~ # cat /proc/mdstat
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md127 : active (auto-read-only) raid1 sdc1[1] sdb1[0]
976761472 blocks [2/2] [UU]

unused devices: <none>

.... cry
P.S. md0, md100 .
: 1 (: 23 2015 20:55)
: 0
, .

md127


/etc/mdadm/mdadm.conf
#
DEVICE /dev/sdb1 /dev/sdc1
#
CREATE owner=root group=disk mode=0660 auto=yes
# LM17
HOMEHOST LM17
# mdadm --detail --scan
ARRAY /dev/md0 UUID=b07243ad:58ae7263:5dff7d61:e7509919
.


mdadm -S /dev/md127
mdadm -As
/dev/md0


update-initramfs -u
/dev/md0

!! laugh
 
|
:
, .