Skip to main content
added 214 characters in body
Source Link
maxxvw
  • 399
  • 4
  • 9

You need to adjust dependencies in your .service's Unit section:

On centos:

Requires=mdmonitor.service local-fs.target
After=mdmonitor.service local-fs.target

On other distrib, it could be:

Requires=mdadm.service local-fs.target
After=mdadm.service local-fs.target

The raid service file should execute /sbin/mdadm --monitor --scan

source:http://www.freedesktop.org/software/systemd/man/systemd.unit.html

You need to adjust dependencies in your .service's Unit section:

Requires=mdadm.service local-fs.target
After=mdadm.service local-fs.target

source:http://www.freedesktop.org/software/systemd/man/systemd.unit.html

You need to adjust dependencies in your .service's Unit section:

On centos:

Requires=mdmonitor.service local-fs.target
After=mdmonitor.service local-fs.target

On other distrib, it could be:

Requires=mdadm.service local-fs.target
After=mdadm.service local-fs.target

The raid service file should execute /sbin/mdadm --monitor --scan

source:http://www.freedesktop.org/software/systemd/man/systemd.unit.html

added mount dependency
Source Link
maxxvw
  • 399
  • 4
  • 9

You need to adjust dependencies in your .service's Unit section:

Requires=mdadm.service local-fs.target
After=mdadm.service local-fs.target

source:http://www.freedesktop.org/software/systemd/man/systemd.unit.html

You need to adjust dependencies in your .service's Unit section:

Requires=mdadm.service
After=mdadm.service

source:http://www.freedesktop.org/software/systemd/man/systemd.unit.html

You need to adjust dependencies in your .service's Unit section:

Requires=mdadm.service local-fs.target
After=mdadm.service local-fs.target

source:http://www.freedesktop.org/software/systemd/man/systemd.unit.html

added manpage as ref
Source Link
maxxvw
  • 399
  • 4
  • 9

You need to adjust dependencies in your .service's Unit section:

Requires=mdadm.service
After=mdadm.service

source:http://www.freedesktop.org/software/systemd/man/systemd.unit.html

You need to adjust dependencies in your .service's Unit section:

Requires=mdadm.service
After=mdadm.service

You need to adjust dependencies in your .service's Unit section:

Requires=mdadm.service
After=mdadm.service

source:http://www.freedesktop.org/software/systemd/man/systemd.unit.html

Source Link
maxxvw
  • 399
  • 4
  • 9
Loading