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: Andreas Piesk <a.piesk_at_gmx.net>
Date: Wed, 14 Nov 2007 10:49:42 -0800
Message-ID: <1195066182.671816.253290@57g2000hsv.googlegroups.com>


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.

> [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


regards,
-ap Received on Wed Nov 14 2007 - 12:49:42 CST

Original text of this message

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