[Ovirt-devel] [PATCH node] Fix blkid.conf to scan devices for findfs calls.

Mike Burns mburns at redhat.com
Wed Mar 24 12:32:25 UTC 2010


findfs in F12 finds partitions on /dev/sdX devices instead of
/dev/mapper/<wwid> devices.  This sets an option that forces
findfs to scan instead.

Signed-off-by: Mike Burns <mburns at redhat.com>
---
 recipe/common-post.ks |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/recipe/common-post.ks b/recipe/common-post.ks
index 9243751..0a2e180 100644
--- a/recipe/common-post.ks
+++ b/recipe/common-post.ks
@@ -192,3 +192,7 @@ patch -d /etc/init.d/ -p0 <<\EOF
     /(loopfs|autofs|nfs|cifs|smbfs|ncpfs|sysfs|^none|^\/dev\/ram|^\/dev\/root$)/ {next}
    {print $2}' /proc/mounts \
 EOF
+
+# Need this for F12 findfs calls
+# Otherwise, findfs returns /dev/sdX instead of /dev/mapper/<wwid>
+echo "EVALUATE=scan" > /etc/blkid.conf
-- 
1.6.6.1




More information about the ovirt-devel mailing list