Mike Burns
2010-Mar-24 12:32 UTC
[Ovirt-devel] [PATCH node] Fix blkid.conf to scan devices for findfs calls.
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
Joey Boggs
2010-Mar-24 15:14 UTC
[Ovirt-devel] [PATCH node] Fix blkid.conf to scan devices for findfs calls.
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
Apparently Analagous Threads
- [Fwd: [PATCH node] fix halt patch]
- Adding handling for Multipath storage devices
- [PATCH node] Handle space in storage wwid
- [PATCH node][REPOST 1/2] Fix uninstall to detect and cleanup correct partitions
- [PATCH node][RFC] Remove dependencies on /dev/disk/by-label entries