summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2016-01-04 15:10:07 +0100
committerPeter Rajnoha <prajnoha@redhat.com>2016-01-04 15:12:25 +0100
commit4304a95dfdb4791e23dbd4b0280c667eba5cb664 (patch)
treebffc2f2b3108a65145f8b9ea6c0245bad2a71101
parent124b490fe671fc53aef989b384c4a5a87c9ff6d0 (diff)
downloadlvm2-4304a95dfdb4791e23dbd4b0280c667eba5cb664.tar.gz
lvmdump: also add lvm2-activation{-early,-net}.service systemd status for lvmdump -s
The lvm2-activation{-early,-net}.service systemd unit statuses were missing in dump gathered by lvmdump -s. These are quite important when debugging scenarios with systemd environment and where lvmetad is not used.
-rw-r--r--WHATS_NEW1
-rwxr-xr-xscripts/lvmdump.sh3
2 files changed, 4 insertions, 0 deletions
diff --git a/WHATS_NEW b/WHATS_NEW
index 19ac7379e..aa61f0a31 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
Version 2.02.139 -
=====================================
+ Also add lvm2-activation{-early,-net}.service systemd status for lvmdump -s.
Version 2.02.138 - 14th December 2015
=====================================
diff --git a/scripts/lvmdump.sh b/scripts/lvmdump.sh
index f88f31fcd..2e0ac13d0 100755
--- a/scripts/lvmdump.sh
+++ b/scripts/lvmdump.sh
@@ -262,6 +262,9 @@ if (( $sysreport )); then
lvm2-cluster-activation.service \
lvm2-clvmd.service \
lvm2-cmirrord.service \
+ lvm2-activation-early.service \
+ lvm2-activation.service \
+ lvm2-activation-net.service \
> \"$sysreport_dir/systemd_lvm2_services_status\" 2>> \"$log\""
log "$SYSTEMCTL list-units -l -a --no-legend --no-pager > \"$sysreport_dir/systemd_unit_list\" 2>> \"$log\""
for unit in $(cat $sysreport_dir/systemd_unit_list | grep lvm2-pvscan | cut -d " " -f 1); do