Toad World® Forums

ASM Filter driver doesn't support Unbreakable Linux Kernel

I was in the process of configuring ASM Filter Driver (ASMFD) and it was failing with following errors.

-bash-3.2# $ORACLE_HOME/bin/asmcmd afd_configure
Connected to an idle instance.
AFD-620: AFD is not supported on this operating system version: ‘2.6.32-100.26.2.el5’
ASMCMD-9524: AFD configuration failed ‘ERROR: afdroot install failed’

When I googled, could not find a single match for this error.

I recalled a similar issue with ACFS as per Bug 10185375. As per the Bug description, ACFS is not supported on Unbreakable Enterprise Kernel and they did not mention a workaround too.

To verify, I have checked my OS release

-bash-3.2# uname -r

Yes, I am using UEK.

Now, me being an impatient person; was looking for an alternative option as I was too determined to explore ASMFD.

Here, what I did.

Rebooted my Linux, went to Grub Menu, booted the system with Red Hat Compatible Kernel.

-bash-3.2# uname -r

Guess what!! I was able to successfully install ASMFD with a Red Hat Compatible Kernal.

-bash-3.2# $ORACLE_HOME/bin/asmcmd afd_configure
Connected to an idle instance.
AFD-627: AFD distribution files found.
AFD-636: Installing requested AFD software.
AFD-637: Loading installed AFD drivers.
AFD-9321: Creating udev for AFD.
AFD-9323: Creating module dependencies - this may take some time.
AFD-9154: Loading ‘oracleafd.ko’ driver.
AFD-649: Verifying AFD devices.
AFD-9156: Detecting control device ‘/dev/oracleafd/admin’.
AFD-638: AFD installation correctness verified.
Modifying resource dependencies - this may take some time.
ASMCMD-9524: AFD configuration failed ‘ERROR: OHASD start failed’

I have ignored the error **ASMCMD-9524 **as it was not impacting the configuration.

-bash-3.2# $ORACLE_HOME/bin/asmcmd afd_state
Connected to an idle instance.
ASMCMD-9526: The AFD state is ‘LOADED’ and filtering is ‘DEFAULT’ on host '

Now, I shall log a SR with Oracle for this ASMFD error.

Could you please help us understand, how this question suits here in this forum?


This was my first article in Toad World. I was supposed to post it in Wiki. However, mistakenly got posted under this forum. You can find a duplicate post in Wiki too.

I could not find an option to rollback this thread.

Just as an FYI… it was not posted as a question rather as a discussion :slight_smile: