Using KFOD to verify disks before installing Grid Infrastructure

The KFOD tool is an Oracle supplied command line tool for inspecting available disks.

Since many of the issues associated with failed RAC installs are caused by shared disk, using KFOD to ensure that ASMLib or UDEV has correctly presented disks with the correct permissions to all nodes, before launching the Grid installer can save a good deal of time and effort.

However, since it is the Grid installer that installs KFOD, this can be tricky.

In this post we show how to leverage KFOD before the Grid Infrastructure is installed:

The KFOD tool is installed with the Grid home, and is located in the install media under /grid/stage/ext/bin.

The tool is already compiled for use under Linux, but before we can use it, we have to set the LD_LIBRARY_PATH to point to the library objects for the Grid Infrastructure.

These are located in /grid/stage/ext/lib.

In the following example we have logged in as Oracle, mounted the Grid install media and changed the working directory to grid install:

[oracle@localhost grid]$ pwd

[oracle@localhost grid]$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./stage/ext/lib

We can now run the KFOD tool:

[oracle@localhost grid]$ ./stage/ext/bin/kfod disks=all op=disks

 Disk          Size Path                                     User     Group   
   1:       5119 Mb ORCL:DATA                                 



2 thoughts on “Using KFOD to verify disks before installing Grid Infrastructure

  1. Hi,

    You have been a great help for starters like me. Would like to request you to add a blog for adding a node to the 11gr2 2-Node RAC cluster.
    I have created 2-Node RAC by following your post and it is working COOL !!!. Your help is much appreciated.

    • Thanks Gaurav

      I am planning to add some new posts in the coming months, including one on building a Data Guard in VMware Workstation as that has been requested a few times. I will see about adding a third node too as that would be interesting to me as well.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s