diff --git a/WHATS_NEW b/WHATS_NEW index 1f020cf1f..4276c5c1a 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.27 - ================================ + Add kernel and device-mapper targets versions report to lvmdump. Don't use index and rindex functions marked by SUSv3 as legacy. Fix vgsplit if splitting all PVs from VG. Fix lvmdiskscan volume reporting when run in the lvm shell diff --git a/scripts/lvm_dump.sh b/scripts/lvm_dump.sh index 067f58612..638348720 100755 --- a/scripts/lvm_dump.sh +++ b/scripts/lvm_dump.sh @@ -18,6 +18,7 @@ DD=dd CUT=cut DATE=date BASENAME=basename +UNAME=uname # user may override lvm and dmsetup location by setting LVM_BINARY # and DMSETUP_BINARY respectively @@ -131,6 +132,10 @@ echo "LVM VERSION:" > $dir/versions $LVM lvs --version >> $dir/versions 2>> $log echo "DEVICE MAPPER VERSION:" >> $dir/versions $DMSETUP --version >> $dir/versions 2>> $log +echo "KERNEL VERSION:" >> $dir/versions +$UNAME -a >> $dir/versions 2>> $log +echo "DM TARGETS VERSIONS:" >> $dir/versions +$DMSETUP targets >> $dir/versions 2>> $log myecho "Gathering dmsetup info..." log "$DMSETUP info -c > $dir/dmsetup_info 2>> $log"