master - lvmdump: add lvm dumpconfig --type diff/missing
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=ce78cb58eb84c24c4ba31167f7b7fc03301b454b Commit: ce78cb58eb84c24c4ba31167f7b7fc03301b454b Parent: 0738f0ad7289cca4121aace1540e479648a1abe2 Author: Peter Rajnoha <[email protected]> AuthorDate: Tue Mar 25 13:06:59 2014 +0100 Committer: Peter Rajnoha <[email protected]> CommitterDate: Tue Mar 25 13:06:59 2014 +0100
lvmdump: add lvm dumpconfig --type diff/missing
For a quick overview of config when debugging and to quickly check which values are different from defaults and which are not defined in the config and for which defaults are used.
--- WHATS_NEW | 1 + scripts/lvmdump.sh | 2 ++ 2 files changed, 3 insertions(+), 0 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.106 - ==================================== + Include 'lvm dumpconfig --type missing' and '--type diff' output to lvmdump. Return failure when specifying negative size for pvresize. Fix memory corruption in cmd context refresh if clvmd leaks opened device. Reinitialise lvmcache properly on fork to fix premature polldaemon exit.
scripts/lvmdump.sh +2 -0
@@ -206,6 +206,8 @@ log "$TAIL -n 75 /var/log/messages >> \"$dir/messages\" 2>> \"$log\"" myecho "Gathering /etc/lvm info..." log "$LS -laR /etc/lvm >> \"$dir/etc_lvm_listing\" 2>> \"$log\"" log "$CP -RL --preserve=all /etc/lvm \"$dir/lvm\" 2>> \"$log\"" +log "$LVM dumpconfig --type diff --file \"$dir/config_diff\" 2>> \"$log\"" +log "$LVM dumpconfig --type missing --file \"$dir/config_missing\" 2>> \"$log\"" myecho "Gathering /dev listing..." log "$LS -laR /dev >> \"$dir/dev_listing\" 2>> \"$log\""