[lvm-devel] master - lvmdump: also list historical LVs in lvmdump

Peter Rajnoha prajnoha at fedoraproject.org
Thu Mar 3 13:20:39 UTC 2016


Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=b39473a537249b60e36f69e28155bfc6829763ab
Commit:        b39473a537249b60e36f69e28155bfc6829763ab
Parent:        8a601454e178c72b39be66365eaa153d69d4ed40
Author:        Peter Rajnoha <prajnoha at redhat.com>
AuthorDate:    Thu Mar 3 10:36:58 2016 +0100
Committer:     Peter Rajnoha <prajnoha at redhat.com>
CommitterDate: Thu Mar 3 13:50:59 2016 +0100

lvmdump: also list historical LVs in lvmdump

---
 scripts/lvmdump.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/lvmdump.sh b/scripts/lvmdump.sh
index bf72d65..1e91a9d 100755
--- a/scripts/lvmdump.sh
+++ b/scripts/lvmdump.sh
@@ -137,7 +137,7 @@ if (( $advanced )); then
 	log "\"$LVM\" pvscan -v >> \"$dir/pvscan\" 2>> \"$log\""
 
 	myecho "  lvs..."
-	log "\"$LVM\" lvs -a -o +devices >> \"$dir/lvs\" 2>> \"$log\""
+	log "\"$LVM\" lvs -a -H -o +devices >> \"$dir/lvs\" 2>> \"$log\""
 
 	myecho "  pvs..."
 	log "\"$LVM\" pvs -a -v >> \"$dir/pvs\" 2>> \"$log\""




More information about the lvm-devel mailing list