@xnox,

 I checked the mdadm source code, in systemd it has provided
mdadm.shutdown to stop raid service, should we use the mdadm.finalrd
now? From the changelog I couldn't find any history, just 'Ship finalrd
hook' in each release, :D. Could you give me some background about the
mdadm.finalrd? Our customer have a strong request to dismiss these error
messages, if we disable finalrd.service, is there any risk? Thanks a
lot!

$ cat mdadm.finalrd
mdmon --all --takeover
mdadm -vv --wait-clean --scan
mdadm -vv --stop --scan


$ cat systemd/mdadm.shutdown 
#!/bin/sh
# We need to ensure all md arrays with external metadata
# (e.g. IMSM, DDF) are clean before completing the shutdown.
BINDIR/mdadm --wait-clean --scan

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

Title:
  It will prompt "Failed to unmount /oldroot" when shutdown or reboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1940514/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to