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

Joey Boggs jboggs at redhat.com
Wed Mar 24 15:14:03 UTC 2010


On 03/24/2010 08:32 AM, Mike Burns wrote:
> 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
>    
ACK




More information about the ovirt-devel mailing list