Monday, March 21, 2011

How to increase ASM disk space on Linux with iSCSI using udev instead of ASMLib.

Today I'd like to explain how to add more disk space on an existing Oracle ASM diskgroup on Linux using udev(7) instead of ASMLib

There has been a few threads about ASM, AMSLib and udev on the oracle-l mailing list (see OCR / VD external vs. normal redundancy using NFS and High Availability Options for instance). I prefer using udev. So in this example, I will be using udev in order to add two new LUNs to the existing +FRA ASM diskgroup. 
This particular ASM setup has three diskgroups: +CRS, +DATA and +FRA. The +CRS diskgroup is used for the Grid Infrastructure (GI) files (i.e. OCR and ASM spfile), the +DATA is used for the database (RDBMS) data files while the +FRA one is the Fast Recovery Area. That's the one we need to increase.

What to look out for when changing old servers.

Last week I replied to a post from Marko Sutic on the oracle-l mailing list (Here's the thread on the mailing list archives). Apperently it was worth it as he wrote back saying « I'm astonished with the quality of your reply! » (thanks Marco, it's a good ego booster! :)

He suggested that this post should be shared because it can be useful to many people. And not just as an Oracle specific issue. He also asked if he could post it on his blogNot a bad idea, I thought. So here it is. But first, let's see Marco's original question: