Re: kdump and lvm ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Also reported this to bugzilla.redhat.com, and think I found
the problem:

	https://bugzilla.redhat.com/show_bug.cgi?id=360111

Proposed fix to mkdumprd:

--------------------------------------------------------------------
--- /root/sbin-mkdumprd.original	2007-10-31 13:54:01.000000000 +0100
+++ mkdumprd	2007-10-31 13:55:40.000000000 +0100
@@ -1409,7 +1409,7 @@
     emit "DM_NUM=0"
     emit "for i in \`lvm lvs | awk '{ if (NR > 1) print \$1}'\`"
     emit "do"
-    emit "   VGRP=\`lvm lvs | grep \$i | cut -d\" \" -f4\`"
+    emit "   VGRP=\`lvm lvs | grep \$i | awk '{ print \$2 }'\`"
     emit "   mkdir -p /dev/\$VGRP"
     emit "   if [ ! -e /dev/\$VGRP/\$i ]"
     emit "   then" 
--------------------------------------------------------------------



  -jf

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility

[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux