mdadm - nie moge dodac dysku

lord_Niedzwiedz sir_Misiek w o2.pl
Pon, 22 Lut 2016, 10:54:44 CET


		Wymieniłem dysk w macierzy.
Niestety nie mogę go dodać  ;-/


-bash-4.3# lsof | grep sda
multipath  3426          root    4r      BLK                8,0
 0t0       6147 /dev/sda
multipath  3426 3428     root    4r      BLK                8,0
 0t0       6147 /dev/sda
multipath  3426 3430     root    4r      BLK                8,0
 0t0       6147 /dev/sda
multipath  3426 3431     root    4r      BLK                8,0
 0t0       6147 /dev/sda
multipath  3426 3440     root    4r      BLK                8,0
 0t0       6147 /dev/sda
multipath  3426 3441     root    4r      BLK                8,0
 0t0       6147 /dev/sda
multipath  3426 3442     root    4r      BLK                8,0
 0t0       6147 /dev/sda
-bash-4.3# mdadm --manage /dev/md1 --add /dev/sda1
mdadm: Cannot open /dev/sda1: Device or resource busy
-bash-4.3# /etc/init.d/multipathd stop
Zatrzymywanie usługi multipath
daemon............................................................................
[ ZROBIONE ]
-bash-4.3# lsof | grep sda
-bash-4.3# mdadm --manage /dev/md1 --add /dev/sda1
mdadm: Cannot open /dev/sda1: Device or resource busy


-bash-4.3# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4] [raid1]
md4 : active raid5 sdb4[1] sdc4[3]
      3265775616 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/2]
[_UU]

md3 : active raid5 sdb3[1] sdc3[3]
      2343751680 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/2]
[_UU]

md1 : active raid1 sdb1[1] sdc1[2]
      497856 blocks [3/2] [_UU]

md2 : active raid5 sdb2[1] sdc2[3]
      250000384 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/2]
[_UU]

unused devices: <none>


Więcej informacji o liście pld-users-pl