I need to install ASMLib on a freshly installed 64bit Oracle Linux R5U6 system. Per the installation instructions, I executed a "uname -rm" and I get 2.6.32-100.26.2.el5 x86_64. The link in Oracle Grid Infrastructure Installation Guide (E10812-02) (http://www.oracle.com/technology/tech/linux/asmlib/index.html) is broken, but I found (http://www.oracle.com/technetwork/topics/linux/asmlib/index-101839.html) which seems to list the available ASMLib drivers. However, there doesn't seem to be a compatible driver. The drivers all start with 2.6.18, not 2.6.32. Any ideas?
I don't think you can download the binary package if you don't have a ULN subscription: http://www.oracle.com/technetwork/server-storage/linux/uln-095759.html says:
Non-subscribers are free to use the similar package built for RHEL on their Enterprise Linux machines.
You can try to download the source code package and try to build it on your target system with OSS link.
After installing 75+ RAC clusters (Linux, Solaris etc), I have found ASMLib to be utterly redundant and unnecessary. Just connect your shared storage, give it the correct permissions and the correct "discovery path" and let ASM handle the rest.
What shared storage are you using?
Well I just thought the same. I tried to install 11g r2 grid withoud asmlib and got error "NOT an ASM disk" or something similar to that.
I was trying it on oel6u2 and now trying to setup rac on oel5
You will get that error if ASM thinks that it cannot create it's header on that device. Did you partition the device at all? I always have 2 partitions on my ASM devices. Partition 0 (size 1M) and Partition 1 (size disksize-1M). Then my disk discovery path is all of the Partition 1 devices.
To ensure all nodes can read/write the devices use: dd if=/dev/zero of=<device> bs=100 count =100. If you overwrite the disk partition table, you will get the error to which you referred.
ASMLib drivers are already included in UEK kernels (2.6.32). So you don't need to download and install the kernel driver. You just need to install the supporting packages oracleasm-support-2.1.7-1.el5.x86_64.rpm and oracleasmlib-2.0.4-1.el5.x86_64.rpm.