Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: raw device for voting disk RHEL5

Re: raw device for voting disk RHEL5

From: NetComrade <netcomradeNSPAM_at_bookexchange.net>
Date: Wed, 14 Nov 2007 19:59:29 GMT
Message-ID: <lqkmj35hh77cenctvkrcglbp8v5fdcfoka@4ax.com>


On Wed, 14 Nov 2007 10:49:42 -0800, Andreas Piesk <a.piesk_at_gmx.net> wrote:

>On 14 Nov., 10:07, NetComrade <netcomradeNS..._at_bookexchange.net>
>wrote:
>>
>> BTW, this is RHEL5, and there is no more 'chkconfig restart
>> rawservice" or whatever it used to be. Need raw for Std Edition RAC
>> 10gr2.
>
>you don't need raw (char) devices anymore.
>the raw interface is deprecated in RHEL4/5. just use the block
>devices.
>Oracle 10gR2 will open the devices with O_DIRECT bypassing the OS
>cache buffer.

Apparently not
http://download.oracle.com/docs/cd/B19306_01/license.102/b14199/options.htm#CJAHAGJE

>> [root_at_lsbcmdbp01 ~]# /bin/raw /dev/raw/raw10 /dev/sdi1
>> /dev/raw/raw10: bound to major 8, minor 129
>> [root_at_lsbcmdbp01 ~]# dd if=/dev/zero of=/dev/raw/raw10 bs=512 count=20
>> dd: opening `/dev/raw/raw10': Device or resource busy
>> [root_at_lsbcmdbp01 ~]# dd if=/dev/zero of=/dev/sdi1 bs=512 count=20
>> 20+0 records in
>> 20+0 records out
>> 10240 bytes (10 kB) copied, 0.00076 seconds, 13.5 MB/s
>>
>> permissions (played with)
>> [root_at_lsbcmdbp01 ~]# ls -ltrh /dev/raw/raw10
>> crw-rw-rw- 1 root root 162, 10 Nov 14 03:31 /dev/raw/raw10
>
>on my laptop running RHEL5 it works.
>
>maybe you've problem with udev. check it with udevmonitor, you should
>see events like this:
>
>UEVENT[1195066033.126148] add@/class/raw/raw10
>UDEV [1195066033.126148] add@/class/raw/raw10
>UEVENT[1195066042.355995] remove@/class/raw/raw10
>UDEV [1195066042.355995] remove@/class/raw/raw10

Thanks for the udevmonitor tip.. I do remember dealing with it when I tried to get Xen working.

.......
We run Oracle 9iR2,10gR1/2 on RH4/RH3 and Solaris 10 (Sparc) remove NSPAM to email Received on Wed Nov 14 2007 - 13:59:29 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US