From 8f6c0b24d81a114c979525e0bd669baba7785ee4 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Thu, 25 Mar 2010 12:16:17 +0000 Subject: [PATCH] more diagnostics --- test/lvm-utils.sh | 2 +- test/t-mirror-vgreduce-removemissing.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/lvm-utils.sh b/test/lvm-utils.sh index de4e79eae..8c5382eba 100644 --- a/test/lvm-utils.sh +++ b/test/lvm-utils.sh @@ -161,7 +161,7 @@ vg_validate_pvlv_counts_() local num_lvs=$3 local num_snaps=$4 - lvs -a -odevices $local_vg + lvs -a -o+devices $local_vg check_vg_field_ $local_vg pv_count $num_pvs && check_vg_field_ $local_vg lv_count $num_lvs && diff --git a/test/t-mirror-vgreduce-removemissing.sh b/test/t-mirror-vgreduce-removemissing.sh index ad9d3b613..e7cc4877d 100755 --- a/test/t-mirror-vgreduce-removemissing.sh +++ b/test/t-mirror-vgreduce-removemissing.sh @@ -25,7 +25,7 @@ lv_is_on_ () rm -f out1 out2 echo $pvs | sed 's/ /\n/g' | sort | uniq > out1 - lvs -a -odevices --noheadings $lv + lvs -a -o+devices $lv lvs -a -odevices --noheadings $lv | \ sed 's/([^)]*)//g; s/[ ,]/\n/g' | sort | uniq > out2 @@ -48,7 +48,7 @@ mimages_are_on_ () sed 's/\[//g; s/\]//g') for i in $mimages; do echo "Checking $vg/$i" - lvs -a -odevices --noheadings $vg/$i + lvs -a -o+devices $vg/$i lvs -a -odevices --noheadings $vg/$i | \ sed 's/([^)]*)//g; s/ //g; s/,/ /g' | sort | uniq >> out2 done -- 2.43.5