Oracle on RHEL4 with ASM problem

Jack Challen jack_challen at ocsl.co.uk
Mon May 8 09:43:35 UTC 2006


Lunt, Nick wrote:
>>You have (presumably) set up the LUNs as raw devices (ie not 
>>block) to 
>>allow ASM to interact correctly with them - correct?
> 
> 
> No. I partitionied the LUNs as type Linux, so /dev/sdc became /dev/sdc1 when presented to the box for ASM.
> I did not put a filesystem on the LUNs however.
> I originally did not partition them but the DBA's told me ASM would not accept them when they tried to add them in.

You're confusing partitions with block (character) vs. raw devices.

According to this doc:
http://www.oracle.com/technology/products/database/asm/pdf/asm_10gr2_bptwp_sept05.pdf

ASM requires raw devices. Any device that's /dev/sd.. will be a 
block(ed) device. see "ls -l /dev/sdc*" and look at the "b".
You probably want to try raw devices, see "man raw".

NB: Switching to a raw device is /possibly/ (though not probably, IMHO) 
a destructive operation. One thing you really, really, _don't_ want to 
do is use both the block (/dev/sd..) and raw (/dev/raw/raw..) at the 
same time. Otherwise Bad Stuff will happen.


jack

-- 
Jack Challen
Technical Consultant, OCSL.
http://www.ocsl.co.uk/




More information about the redhat-list mailing list