mdadm/systemd
Pawel Baldysiak 2167de78aa mdmon@.service: Change type of process start-up to 'forking'.
Mdadm does not wait enough time when mdmon is started by systemd.
It causes various problems with behaviour of a RAID volume with external metadata.
For example: mdmon does not update a value of checkpoint during migration
and second RAID5 volume is read-only after reboot done during
container reshape (both problems occur with IMSM matadata).
If a type of process start-up is changed to 'forking', systemctl will
wait until mdmon (parent) process exits after calling fork.
This way mdmon will always be fully initialized after start_mdmon
and these problems will not occur.
In this case it is recommended to add a path to PIDFile, so that systemd
does not have to guess a PID of the mdmon process.

Signed-off-by: Pawel Baldysiak <pawel.baldysiak@intel.com>
Reviewed-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Reviewed-by: Lukasz Dorau <lukasz.dorau@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
2014-03-11 14:42:57 +11:00
..
SUSE-mdadm_env.sh Add mdmonitor.service systemd unit file. 2013-12-11 10:47:54 +11:00
mdadm-last-resort@.service Systemd integration for starting newly-degraded arrays. 2013-12-02 16:08:04 +11:00
mdadm-last-resort@.timer mdamd-last-resort: add a Conflicts line to stop the timer. 2013-12-12 13:20:32 +11:00
mdmon@.service mdmon@.service: Change type of process start-up to 'forking'. 2014-03-11 14:42:57 +11:00
mdmonitor.service Add mdmonitor.service systemd unit file. 2013-12-11 10:47:54 +11:00