Whamcloud - gitweb
LU-8384 scripts: Add scripts to systemd for EL7 03/34503/2
authorDmitry Eremin <dmitry.eremin@intel.com>
Fri, 8 Jul 2016 21:15:37 +0000 (00:15 +0300)
committerOleg Drokin <green@whamcloud.com>
Mon, 1 Apr 2019 06:20:32 +0000 (06:20 +0000)
commit420d8c09887ff178508be0434373f74b5ef7ae6e
treec2b06bc25d3bc4fb3a2533f073c4e6f81d21b348
parentc13b2601e2c437f06a71b208f7e103b3a22c3e1a
LU-8384 scripts: Add scripts to systemd for EL7

When rebooting a lustre client where Lustre filesystem is still
mounted, the shutdown hangs. This patch create a systemd service
that unmount the Lustre filesystems and unload the Lustre modules
when system is shutdown.

Test-Parameters: trivial

Lustre-change: https://review.whamcloud.com/21457
Lustre-commit: 495deddfbb43f247b2fa9dd2da5743abc89cd862

Change-Id: I1cfe84684e23b8861743241dfbc4d6e320ace4a6
Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Signed-off-by: Gregoire Pichon <gregoire.pichon@atos.net>
Signed-off-by: Nathaniel Clark <nclark@whamcloud.com>
Reviewed-by: Gu Zheng <gzheng@ddn.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/34503
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre.spec.in
lustre/scripts/Makefile.am
lustre/scripts/lustre
lustre/scripts/systemd/Makefile.am
lustre/scripts/systemd/lustre.service.in [new file with mode: 0644]