I saw this fix & installed it before your update went out.  I did it by
hand, so I didn't know about the dracut-core package or
enabling/starting the mdadm-shutdown.service.  Even without dracut-core,
it worked for me.

I did make some changes to 64-md-raid-assembly.rules.  I commented out
the ENV{ANACONDA}=="?*", GOTO="md_inc_end" line, because I didn't think
this applied to Ubuntu.  I also made the following change:

ACTION=="add|change", IMPORT{program}="/sbin/mdadm --incremental
--export $devnode --offroot $env{DEVLINKS}"

I saw this was updated on the linux-raid list:  
[PATCH 2/4] Use correct syntax for passing DEVLINKS to mdadm from udev

I also did 2 reboots & everything seems to be working correctly.  One
question:  Does this mean that Ubuntu 18.04 will use mdadm by default
during installation instead of dmraid?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1608495

Title:
  IMSM fakeraid handled by mdadm: unclean mounted volumes on
  shutdown/reboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1608495/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to