From 326902f0c7ae6ab632b3cb626831b8618b29e52d Mon Sep 17 00:00:00 2001 From: Milan Broz Date: Tue, 6 Jan 2009 18:02:57 +0000 Subject: [PATCH] Fix lvmdump /sys listing to include virtual devices directory. --- WHATS_NEW | 1 + scripts/lvm_dump.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/WHATS_NEW b/WHATS_NEW index e8733b613..fb62d5b3b 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.44 - ==================================== + Fix lvmdump /sys listing to include virtual devices directory. Add "--refresh" functionality to vgchange and vgmknodes. Check for maximal LV size when wiping device. Calculate mirror log size instead of using 1 extent. diff --git a/scripts/lvm_dump.sh b/scripts/lvm_dump.sh index f13f648c7..6f2b331d3 100755 --- a/scripts/lvm_dump.sh +++ b/scripts/lvm_dump.sh @@ -197,7 +197,8 @@ myecho "Gathering /dev listing..." log "$LS -laR /dev > \"$dir/dev_listing\" 2>> \"$log\"" myecho "Gathering /sys/block listing..." -log "$LS -laR /sys/block > \"$dir/sysblock_listing\"" +log "$LS -laR /sys/block > \"$dir/sysblock_listing\" 2>> \"$log\"" +log "$LS -laR /sys/devices/virtual/block >> \"$dir/sysblock_listing\" 2>> \"$log\"" if (( $metadata )); then myecho "Gathering LVM metadata from Physical Volumes..."