#18486: network raid 5 unstable in 3.14
----------------------+------------------------
 Reporter:  Culex     |      Owner:  developers
     Type:  defect    |     Status:  new
 Priority:  high      |  Milestone:
Component:  packages  |    Version:  Trunk
 Keywords:            |
----------------------+------------------------
 Within 5 minutes of mounting on r43457 on a WNDR3800

 md/raid:md0: Disk failure on loop3, disabling device.
  mdadm --manage /dev/md0 --re-add /dev/loop3
  mdadm: Cannot open /dev/loop3: Device or resource busy

  # losetup -d /dev/loop3

   # losetup -a
  /dev/loop1: 0 /media/live1/node1.img
  /dev/loop2: 0 /media/live2/node2.img
  /dev/loop3: 0 /media/live3/node3.img

  # lsof | grep "loop3"
  loop3      2577   root  cwd       DIR       0,15        0        160 /
  loop3      2577   root  rtd       DIR       0,15        0        160 /
  loop3      2577   root  txt   unknown
  /proc/2577/exe

  # ps | grep "2577"
   2577 root         0 SW<  [loop3]

  # reboot
  # mdadm --manage /dev/md0 --re-add /dev/loop3
  mdadm: re-added /dev/loop3
  root@OpenWrt:~# cat /proc/mdstat
  Personalities : [raid6] [raid5] [raid4]
  md0 : active raid5 loop3[3] loop1[0] loop2[1]
        3878157312 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/2]
 [UU_]
        [>....................]  recovery =  0.0% (2596/1939078656)
  finish=24783.6min speed=1298K/sec
        bitmap: 5/15 pages [20KB], 65536KB chunk

 Anytime the router reboots loop3 gets dropped, re-add it and it returns to
 0.0% which I thought bitmaps were supposed to prevent?

 I have reverted back to r43205 and loop3 isn't getting dropped anymore.

--
Ticket URL: <https://dev.openwrt.org/ticket/18486>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to