Raw devices problem

Hello, I made a model on Vmware ESX for testing Oracle RAC, so it's two Centos 5.10 machines with shared disks. I'm using raw devices for ocr, voting disks and data, and without ASMLib library.
After installing clusterware and Oracle (10gR2), everything was OK until now, when after reboot of one node, no more shared disks exist anymore. For every raw disk related comand I got an error:
#raw -qa
Cannot open raw device '/dev/rawctl' (No such file or directory)
#service rawdevices restart
Assigning raw devices:
/dev/raw/raw1 --> /dev/sdb1
Cannot open raw device '/dev/rawctl' (No such file or directory)
Didn't find anything related to this in /var/log's. Could be glad if someone could explain how to fix it.

Yes, but keep in mind that the device tree is not only rebuild after a system restart, but also the order of devices can be different, so for instance /dev/sdc1 may not be the same after a system restart if you attach or remove another device or plug in any USB. That's why UDEV should be configured to use the unique device identifier to map storage devices which require persistent device naming.
For instance you could use the following entry to map e.g. current /dev/sdc1 to /dev/vote1
KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id", RESULT=="361a98001686f6959614a453133524171", NAME="vote1", OWNER="oracle", GROUP="oinstall", MODE="0640"
Using raw devices is no longer necessary, not for Oracle, which uses the O_DIRECT flag when opening a device and it does not matter if it is a device or partition. But if you really want to map to raw device names, you could use the following:
ACTION=="add", KERNEL=="sd*", PROGRAM=="/sbin/scsi_id", RESULT=="361a98001686f6959614a453133524171", RUN+="/bin/raw /dev/raw/raw1 %N"

Similar Messages

  • Tablespace creation problem in RAC using raw device.

    Hi ,
    If i created a tablespace with the .dbf extension i am able to create the tablespace. on other hand if i use .dbf extension it;s failing..
    can anyone help me out why it is happening??
    here is the code...
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
    With the Partitioning, Real Application Clusters, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    SYS at terac >
    SYS at terac >CREATE TABLESPACE FLOW_1 DATAFILE
    2 '\\.\FLOW_1' SIZE 10304 K REUSE AUTOEXTEND OFF
    3 EXTENT MANAGEMENT LOCAL AUTOALLOCATE SEGMENT SPACE MANAGEMENT AUTO
    4
    SYS at terac >/
    Tablespace created.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    CREATE TABLESPACE TEST2 DATAFILE '\\.\FLOW_1.DBF' SIZE 10304 K
    REUSE AUTOEXTEND OFF EXTENT MANAGEMENT LOCAL AUTOALLOCATE SEGMENT
    SPACE MANAGEMENT AUTO
    SYS at TERAC >/
    CREATE TABLESPACE TEST2 DATAFILE '\\.\FLOW_1.DBF' SIZE 10304 K
    ERROR at line 1:
    ORA-01119: error in creating database file '\\.\FLOW_1.DBF'
    ORA-27040: skgfrcre: create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    thanks
    james.

    I'm by no means a windows expert so I might be totally wrong here, but here goes.
    You have to refer to the raw device by its name in the datafile clause. If you use a different name then the o/s can't find the device. Simple as that.

  • Is this a bug in APEX 3.0.1 Installation  RAC database with RAW device???

    Hello,
    I am getting the following error when I try to complete approval process.
    ORA-20001: Unable to create tablespace. ORA-01
    119: error in creating database file '//./FLOW_1.dbf' ORA-27040: skgfrcre: creat
    e error, unable to create file OSD-04002: unable to open file O/S-Error: (OS 2)
    The system cannot find the file specified.
    I checked the alert log for error here is the error in the alert log file.
    ORA-1119 signalled during: CREATE TABLESPACE FLOW_1 DATAFILE '//./FLOW_1.dbf'..
    and i found the syntax for create tablespace was wrong.
    To create a tablespace in RAC with RAW device environment under windows.
    it should have forward black slash instead of backward slash "/" without .dbf extension.
    so, I changed the syntax i was able to create tablespace through sqlplus.
    When APEX tool try to create this tablespace it throws this error..
    Old: CREATE TABLESPACE FLOW_1 DATAFILE
    '\\.\FLOW_1.dbf' SIZE 10304 K REUSE AUTOEXTEND OFF
    EXTENT MANAGEMENT LOCAL AUTOALLOCATE SEGMENT SPACE MANAGEMENT AUTO
    error : ORA-01119: error in creating database file '\\.\FLOW_1.dbf'
    New:
    CREATE TABLESPACE FLOW_1 DATAFILE
    '\\.\FLOW_1' SIZE 10304 K REUSE AUTOEXTEND OFF
    EXTENT MANAGEMENT LOCAL AUTOALLOCATE SEGMENT SPACE MANAGEMENT AUTO
    Tablespace created.
    Is it a bug in APEX 3.0.1.??
    Is anyone installed APEX in RAC ??
    James

    Hi,
    One observation, Apex is switching the Session ID after one got killed ? I was working on Apex page with browse Item to test open cursor count,
    after killing the SID (227) on which the open cursor count was getting increase, it APEX automatically switches to new SID(149) for that session.
    Now the problem is even if I have two SID's and one hits the maximum open cursor count, It is not switching to other SID instead the whole application becomes unavailable.
    STATNAME SID VALUE USER
    opened cursors current 20 14 APEX_PUBLIC_USER
    opened cursors current 149 74 APEX_PUBLIC_USER
    opened cursors current 194 71 APEX_PUBLIC_USER
    opened cursors current 211 5 APEX_PUBLIC_USER
    opened cursors current 227 325 APEX_PUBLIC_USER Killed
    opened cursors current 244 15 APEX_PUBLIC_USER
    opened cursors current 20 14 APEX_PUBLIC_USER
    opened cursors current 149 76 APEX_PUBLIC_USER
    opened cursors current 194 71 APEX_PUBLIC_USER
    opened cursors current 211 5 APEX_PUBLIC_USER
    opened cursors current 244 15 APEX_PUBLIC_USER
    Please kindly help in this.
    Thanks in Advance
    Thanks & Regards
    Sanjay
    Edited by: user11204334 on Dec 8, 2010 1:02 AM

  • 10g ASM on Logical Volumes vs. Raw devices and SAN Virtualization

    We are looking at setting up our standards for Oracle 10g non-rac systems. We are looking at the value of Oracle ASM in our environment.
    As per the official Oracle documentation, raw devices are preferred to using Logical Volumes when using ASM.
    From here: http://download.oracle.com/docs/cd/B19306_01/server.102/b15658/appa_aix.htm#sthr
    ef723
    "Note: Do not add logical volumes to Automatic Storage Management disk groups. Automatic Storage Management works best when you add raw disk devices to disk groups. If you are using Automatic Storage Management, then do not use LVM for striping. Automatic Storage Management implements striping and mirroring."
    Also, as per Metalink note 452924.1:
    "10) Avoid using a Logical Volume Manager (LVM) because an LVM would be redundant."
    The issue is: if we use raw disk devices presented to ASM, the disks don't show up as used in the unix/AIX system tools (i.e. smit, lspv, etc.). Hence, when looking for raw devices on the system to add to filesystems/volume groups/etc., it's highly possible that a UNIX admin will grab a raw device that is already in use by Oracle ASM.
    Additionally, we are using a an IBM DS8300 SAN with IBM SAN Volume Controller (SVC) in front of it. Hence, we already have storage virtualization and I/O balancing at the SAN/hardware level.
    I'm looking for a little clarification to the following questions, as my understanding of their responses seem to confict:
    QUESTION #1: Can anyone clarify/provide additional detail as to why Logical volumes are not preferred when using Oracle ASM? Does the argument still hold in a SAN Virtualized environment?
    QUESTION #2: Does virtualization at the software level (ASM) make sense in our environment? As we already have I/O balancing provided at the hardware level via our SVC, what do we gain by adding yet another level of I/O balancing at the ASM level? Or as in the
    arguments the Oracle documentation makes against using Lvm, is this an unnecessary redundant striping (double-striped or in our case triple-striped/plaid)?
    QUESTION #3: So does SAN Virtualization conflict or compliment the virtualization provided by ASM?

    After more research/discussions/SR's, I've come to the following conclusion.
    Basically, in an intelligent storage environment (i.e. SVC), you're not getting a 100% bang for the buck by using ASM. Which is the cat's meow in a commodity hardware/unintelligent storage environment.
    Using ASM in a SVC environment potentially wastes CPU cycles having ASM balance i/o that is already balanced on the backend (sure if you shuffle a deck of cards that are already shuffled you're not doing any harm, but if they're already shuffled - then why are you shuffling them again??).
    That being said, there may still be some value for using ASM from the standpoint of storage management for multiple instances on a server. For example, one could better minimize space wastage by being able to share a "pool" of storage between mulitiple instances, rather than having to manage space on an instance-by-instance (or filesystem by filesystem) level.
    Also, in the case of having a unfriendly OS where one is unable to dynamically grow a filesystem (i.e. database outage required), there would be a definite benefit provided by ASM in being able to dynamically allocate disks to the "pool". Of course, with most higher-end end systems, dynamic filesystem growth is pretty much a given.
    In the case of RAC, regardless of the backend, ASM with raw is a no-brainer.
    In the case of a standalone instance, it's a judgement call. My vote in the case of intelligent storage where one could dynamically grow filesystems, would be to keep ASM out of the picture.
    Your vote may be different....just make sure you're putting in a solution to a problem and not a solution that's looking for a problem(s).
    And there's the whole culture of IT thing as well (i.e. do your storage guys know what you're doing and vice versa).....which can destroy any technological solution, regardless of how great it is.

  • How to create DIR/File on a raw device in RAC environment.

    Hi all,
    I use a shell script to create DIR and File on a raw device also it creates schema and tablespaces.
    I am facing problem in creating DIR and Files on raw device.
    One more thing, can multiple tablespaces be created on a raw device.
    Thanks & regards,
    Sanjeev

    Thanks for the response. Please help me further.
    About the Script - It asks for the path for creating DIR and uses shell command to create DIR. Later same path and DIR name is used to create Oracle DIR. Now in place of absolute path raw device name is passed. The same script is also used for creating tablespaces and schema.
    There is second script that is .sql script that creates external table in the newly created schema. All this has been working fine on single instance Oracle server. we have tested many times but fails in RAC environment when we use raw device.
    Question is - If I use filesystem will the external table's flat files and Directories be accessible to all the instances.
    I have one application written in java that would be clustered and running on these oracle servers. This application would be accessing those external tables and their flat files. Will there be a problem accessing these flat files accross the instances.
    Regards,
    Sanjeev.

  • 10.1.0.3 on RH4(Centos) + Raw devices + ASM + RAC

    Hi,
    I'm just wondering if anyone here tried installing a single node RAC on 2 instance using ASM on Oracle 10g (10.1.0.3)?
    I am using RH4(CENTOS 4.1), Oracle 10.1.0.3 + CRS 10.1.0.3 on fake raw devices in Linux.
    I have been able to install the CRS and Oracle database software successfully.
    All CRS services and listener are up and running.
    crs_stat command return successful results.
    srvctl status nodeapps -n <node_name> also returns successful results.
    However, when I attempt to startup the ASM instance, I keep encountering these errors:
    ORA-00603:ORACLE server session terminated by fatal error
    ORA-27504:IPC error creating OSD context
    The ORA-00603 error message will appear immediately in the SQLPLUS prompt when I try to startup ASM instance.
    Both errors will be logged in alert.log and trace files, no other useful error messages besides these errors.
    When I attempt to create a normal database instance using datafiles on the same machine, these errors also appear again!
    So, I figure its got nothing to do with the raw devices since my OCR location and Voting devices are using the same raw devices on Linux.
    Anyone did the same thing like me and faced similar problems.... please help.
    Cheers

    You can use dbca to create ASM instance to get rid of the manual copy business.
    In realease 1, you can invoke dbca, choose database instance and walk through still you reach storage clause and choose asm and DBA will create ASM instance on both nodes.
    Ensure that you choose cluster install option and all the nodes at the initial stages.

  • Cold backup of controlfile raw device

    We have Oracle 9.2.0.4 on AIX 5L on node 1 and node3 with controlfile as raw device. These two nodes are connected through LAN. I shutdown the database DB on node1 and take the backp of controlfile in /ora/backup on node1 usind dd command. I mput this file in binary mode on node3 over ftp. On node3 when I tried to mount the database using this controlfile it gave error
    "ora-0201- controlfile version incompatible with oracle version."
    In alert log it showed the message
    Corrupt block relative dba: 0x00000001 (file 0, block 1)
    Fractured block found during control file header read
    Data in bad block -
    type: 0 format: 0 rdba: 0x00000000
    last change scn: 0x0000.00000000 seq: 0x0 flg: 0x00
    consistency value in tail: 0x00000000
    check value in block header: 0x0, block checksum disabled
    spare1: 0x0, spare2: 0x0, spare3: 0x0
    What can be the exact problem?? Any hlep.

    Why are you mounting or doing this ? I think databases on node1 and node3 are not the same. Controlfile of a database cannot be used to mount a different database.
    fyi,
    ORA-00201 controlfile version string incompatible with ORACLE version string
    Cause: The control file was created by incompatible software.
    Action: Either restart with a compatible software release or use CREATE CONTROLFILE to create a new control file that is compatible with this release.

  • Database in Raw device recover in time tablespace

    How recover database in raw device using clone database
    (Recovery Manager) ?
    The problem is follow:
    When RMAN begin then recover proces he need create the clone
    database. @ How create this database ? @ In file system or raw
    device ? if he create it in raw device @ Then device necessary
    must be created before ?
    @ How many devices ? @ What is your size ?
    Thanks ...
    null

    With raw devices alternative cost of performance is typical management difficulties like this, but after 10g ASM is a big shift - http://www.dbazine.com/olc/olc-articles/still5
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/storeman.htm#i1021337
    Best regards.

  • Convert Raw Device to file system based file systems for datafiles [HP-UX]

    Hello experts,
    Once again in seek of guidance..
    I am in the process of migrating my database (Oracle 7.2.3 on HP-UX 10.20 to Oracle 8.1.7 64-bits on HP-UX 11).
    Amongst one of our steps is to convert our RAW Device datafiles to File System based files within the same server and version - Oracle 7.2.3 on HP-UX 10.20.
    E.g. /dev/vg00/rlvol1 to become /d01/oradata/cmtdb/tbs1.dbf
    Is this something possible?
    Can i just do the following:
    a. Shutdown database (normal)
    b. dd if=/dev/vg00/rlvol1 of=/d01/oradata/cmtdb/tbs1.dbf bs=20k
    c. chown oracle7:dba /d01/oradata/cmtdb/tbs1.dbf
    d. svrmgrl> startup mount
    e. alter database rename file '/dev/vg00/rlvol1' to '/d01/oradata/cmtdb/tbs1.dbf'
    f. alter database open.
    Thanks very much for your replies.
    Please tell me about possible problems that i can anticipate.
    Best Regards
    Yogeeraj

    Hello experts,
    Once again in seek of guidance..
    I am in the process of migrating my database (Oracle 7.2.3 on HP-UX 10.20 to Oracle 8.1.7 64-bits on HP-UX 11).
    Amongst one of our steps is to convert our RAW Device datafiles to File System based files within the same server and version - Oracle 7.2.3 on HP-UX 10.20.
    E.g. /dev/vg00/rlvol1 to become /d01/oradata/cmtdb/tbs1.dbf
    Is this something possible?
    Can i just do the following:
    a. Shutdown database (normal)
    b. dd if=/dev/vg00/rlvol1 of=/d01/oradata/cmtdb/tbs1.dbf bs=20k
    c. chown oracle7:dba /d01/oradata/cmtdb/tbs1.dbf
    d. svrmgrl> startup mount
    e. alter database rename file '/dev/vg00/rlvol1' to '/d01/oradata/cmtdb/tbs1.dbf'
    f. alter database open.
    Thanks very much for your replies.
    Please tell me about possible problems that i can anticipate.
    Best Regards
    Yogeeraj

  • Root.sh failed:Raw devices for OEL 5.3 and 10.2.0.4 RAC

    Hi
    We have OEL 5.3 and Oracle RAC 10.2.0.4
    While installing clusterware and running root.sh we are getting the error
    Failed to upgrade the cluster registry.
    Further the ocrconfig.log are as below:
    ocrconfig_20527.log
    Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle. All rights reserved.
    2009-08-04 04:38:41.540: [ OCRCONF][286303376]ocrconfig starts...
    2009-08-04 04:38:41.540: [ OCRCONF][286303376]Upgrading OCR data
    2009-08-04 04:38:41.615: [  OCRRAW][286303376]propriogid:1: INVALID FORMAT
    2009-08-04 04:38:41.616: [  OCRRAW][286303376]ibctx:1:ERROR: INVALID FORMAT
    2009-08-04 04:38:41.616: [  OCRRAW][286303376]proprinit:problem reading the bootblock or superbloc 22
    2009-08-04 04:38:41.616: [ default][286303376]a_init:7!: Backend init unsuccessful : [22]
    2009-08-04 04:38:41.616: [ OCRCONF][286303376]Exporting OCR data to [OCRUPGRADEFILE]
    2009-08-04 04:38:41.616: [  OCRAPI][286303376]a_init:7!: Backend init unsuccessful : [33]
    2009-08-04 04:38:41.616: [ OCRCONF][286303376]There was no previous version of OCR. error:[PROC-33: Oracle Cluster Registry is not configured]
    2009-08-04 04:38:41.619: [  OCRRAW][286303376]propriogid:1: INVALID FORMAT
    2009-08-04 04:38:41.619: [  OCRRAW][286303376]ibctx:1:ERROR: INVALID FORMAT
    2009-08-04 04:38:41.619: [  OCRRAW][286303376]proprinit:problem reading the bootblock or superbloc 22
    2009-08-04 04:38:41.619: [ default][286303376]a_init:7!: Backend init unsuccessful : [22]
    2009-08-04 04:38:41.623: [  OCRRAW][286303376]propriogid:1: INVALID FORMAT
    2009-08-04 04:38:41.623: [  OCRRAW][286303376]ibctx:1:ERROR: INVALID FORMAT
    2009-08-04 04:38:41.623: [  OCRRAW][286303376]proprinit:problem reading the bootblock or superbloc 22
    2009-08-04 04:38:41.626: [  OCRRAW][286303376]propriogid:1: INVALID FORMAT
    2009-08-04 04:38:41.641: [  OCRRAW][286303376]propriowv: Vote information on disk 0 [dev/raw/raw1] is adjusted from [0/0] to [2/2]
    2009-08-04 04:38:41.646: [  OCRRAW][286303376]propriniconfig:No 92 configuration
    2009-08-04 04:38:41.646: [  OCRAPI][286303376]a_init:6a: Backend init successful
    2009-08-04 04:38:41.663: [ OCRCONF][286303376]Initialized DATABASE keys in OCR
    2009-08-04 04:38:41.677: [ OCRCONF][286303376]csetskgfrblock0: clsfmt returned with error [4].
    2009-08-04 04:38:41.677: [ OCRCONF][286303376]Failure in setting block0 [-1]
    2009-08-04 04:38:41.677: [ OCRCONF][286303376]OCR block 0 is not set !
    2009-08-04 04:38:41.678: [ OCRCONF][286303376]Exiting [status=failed]...
    Any solution please?
    Supriya Sh

    There are a couple of errors that doesn't make the clusterware look fine.
    There was no previous version of OCR. error:PROC-33: Oracle Cluster Registry is not configured
    proprinit:problem reading the bootblock or superbloc 22
    This could mean either your cluster registry file is corrupt or you don't have access to the raw devices. Check the access to the shared storage raw device is valid. If this is not true, then make sure you have all your backup files ready.
    ~ Madrid
    http://hrivera99.blogspot.com

  • Deleting raw device content

    Hello,
    After one installation of cluster software (with problem) I try to install one more time, but the last installation of cluster software leaves some data on my raw devices (for OCR and Voting Disk I use direct raw devices without OCFS, for data files ASM on raw devices).
    How can I really delete the content of raw devices? When I delete partitions and create new, it does not delete the content.
    Thanx,
    Jacek

    I don't know your OS, this is for Linux:
    dd if=/dev/zero of=<raw_device>
    This command writes binary 0's to the destination.
    Be careful when specifying the 'of' argument, this command is used also to clean a whole harddisk (when you plan to sell it).
    Werner

  • Reinstall DB and ASM using existing RAW devices in RAC

    Hi,
    We have two Database servers in Cluster environment DB1 and DB2 using CX300(SAN) as Storage device.Recently we had upgraded the OS kernel on DB1 from RHEL 3 to RHEL 4 and DB2 is still running on RHEL 3. Due to some application problems we wanted the DB1 to be rollbacked to RHEL 3
    DB1-has ASM1 instance and DB2 has ASM2 instance running.Similary SID1 and SID2 on both of them.
    Since we want to roll back to RHEL 3 it is a clean install on DB1. So my problem is I had never done this kind of reinstallation of DB and ASM using existing raw devices.
    Can Someone sent me out some instructions and steps on how to do the reinstall without disturbing RAC,DB2 and Data on RAW/CX300(SAN) device.
    I am basically a system admin not a complete Oracle DBA.I will be grateful for your help.
    Thanks,
    Shiva

    It means, before proceeding a proper database backup must be taken, then it has to be started from scratch. RHEL3 is certified with 10gR1 and 10gR2, you should be aware of the patchsets available for the oracle version.
    I suggest you to read the Clusterware and RDBMS installation guides:
    Oracle® Database Release Notes
    10g Release 2 (10.2) for Linux x86
    B15659-03
    Oracle® Database Oracle Clusterware and Oracle Real Application Clusters Installation Guide
    10g Release 2 (10.2) for Linux
    Part Number B14203-08
    Installing Oracle RAC 10g Release 2 on Linux x86
    ~ Madrid

  • How use raw device in linux?

    Hi all.
    scene:
    oracle 8.1.6.1
    Linux red hat 6.1
    I'm trying to create a database with raw device.
    In HPux the raw device is /dev/rdsk but I found no documentation for linux raw device.
    thanks for any help.
    null

    Prove it: try to create file large than 2Gb on 8.1.6 under Linux (under NT it works) and try to use raw partitions. About Pmon ORA-601 simply check Metalink.
    I know Oracle, it is my work. I like Oracle database. I think, Linux is the best OS. But i want Oracle to solve current bugs more quickly, for a customers could not say "Oracle on Linux - it ***** ". Because, customers must to know about problems to avoid it. It is a more biger problem, when database is crashed.

  • SAPINST : Error CJS-00091 with raw devices on AIX 5.2

    Dear all,
    I am trying to install a Web Application Server Java 6.40 SR1 on AIX/Oracle but get the following error due to the fact that I opted for a raw-device installation.
    > CJS-00091 Unable to create the tablespaces.
    > DIAGNOSIS: There is not enough free disk space:
    >
    > Mount point | space required | space available | SAPDATA directories
    > /oracle/DEP | 2805 | 933.887 | 1,2,4
    >
    > SOLUTION: Make more disk space available.
    You will probably tell me that an OSS note exists and that I should adapt the 'control.xml' within the installation directory but that's not the point. This problem was probably present in older releases but is now corrected with the Support Release 1 (SR1) of Netweaver '04
    In fact, I don't understand why SAPINST still tries to work with the classical "SAPDATA" structure as it should now work with the "SAPRAW" directory only (See OSS Note 145654). This "SAPRAW" directory is only containing links refering to the raw devices SAPINST should use.
    Here's what I've got :
    > ls -la sapra*
    >
    > drwxr-xr-x 2 oradep dba 256 15 Feb 11:29 cntrl
    > lrwxrwxrwx 1 oradep dba 18 15 Feb 11:28 depdb_1 -> /dev/rdepddb010013
    > lrwxrwxrwx 1 oradep dba 18 15 Feb 11:28 depdb_2 -> /dev/rdepddb010014
    > lrwxrwxrwx 1 oradep dba 18 15 Feb 11:28 depdb_3 -> /dev/rdepddb010015
    > lrwxrwxrwx 1 oradep dba 18 15 Feb 11:28 roll_1 -> /dev/rdepddb010011
    > lrwxrwxrwx 1 oradep dba 18 15 Feb 11:28 system_1 -> /dev/rdepddb010009
    > lrwxrwxrwx 1 oradep dba 18 15 Feb 11:28 temp_1 -> /dev/rdepddb010010
    > lrwxrwxrwx 1 oradep dba 18 15 Feb 11:28 undo_1 -> /dev/rdepddb010012
    And here's the "SAPDATA" structure SAPINST wrongly created
    > ls -la sapda*
    >
    > sapdata1:
    > drwxr-xr-x 2 oradep dba 256 15 Feb 11:28 system_1
    >
    > sapdata2:
    > drwxr-xr-x 2 oradep dba 256 15 Feb 11:28 roll_1
    > drwxr-xr-x 2 oradep dba 256 15 Feb 11:28 temp_1
    >
    > sapdata4:
    > drwxr-xr-x 2 oradep dba 256 15 Feb 11:28 depdb_1
    Any idea, what the problem is?
    I presume the installation script contains some bugs when working with raw devices but would like to know whether someone already experienced this...
    Many thanks for your help,
    Xavier Vermaut
    SAP BC Administrator
    Unisys Belgium

    Hello Arun,
    Maybe I am wrong but I think you did not understand what was the problem...
    When using 'raw devices', SAPINST shouldn't use the classical SAPDATA directory structure but should only create links into the 'SAPRAW' directory.
    So, SAPDATA directories should not exist! Only links (refering to the raw devices to be used) within the SAPRAW directory should be present!
    In the meantime, I got this problem solved by SAP. They temporarily modified my 'keydb.xml' file to get this fixed but they should release an appropriate correction within a few days. This way of doing (I mean modifying the 'keydb.xml') is only applicable to my system...
    Cheers,
    Xavier

  • Raw devices versus Cluster File Systems in RAC 10gR2

    Hi,
    Does anyone using cluster file systems in a RAC 10gR2 installation, specifically IBM’s GPFS?
    I’ve visited a company that is running RAC 10gR2 in AIX over raw devices. Why someone would choose to use raw devices , with all the problems to administer , when all the modern file systems are so powerful? Is there any issues when using cluster file systems + RAC? Is there considerable performance benefits when using raw devices with RAC ?
    I´ve always used Oracle stand alone instances over file systems (since version 7) , and performance was always very good. I´ve tested raw devices almost 10 years ago , and even in that time (the hardware today is much better - SAN , 15K rpm disks , huge caches - and the file systems software today is much better) the cost to administer it does not compensate the benefits (only 5% more faster than file systems in Oracle 7).
    So , besides any limitations imposed by RAC , why use raw devices nowadays ?
    Regards,
    Antonio Belloni

    Hi,
    spontaneously, my question would be: How did you eliminate the influence of the Linux File System Cache on ext3? OCFS2 is accessed with the o_direct flag - there will be no caching. The same holds true for RAW devices. This could have an influence on your test and I did not see a configuration step to avoid it.
    What I saw, though, is "counter test": "I have tried comparing simple file copies from an OS level and the speed differences are not apparent - so the issue only manifests itself when the data is read via an oracle db." and I have no good answer to that one.
    Maybe this paper has: http://www.oracle.com/technology/tech/linux/pdf/Linux-FS-Performance-Comparison.pdf - it's a bit older, but explains some of the interdependencies.
    Last question: While you spent a lot of effort on proving that this one query is slower on OCFS2 or RAW than on ext3 for the initial read (that's why you flushed the buffer cache before each run), how realistic is this scenario when this system goes into production? I mean, how many times will this query be read completely from disk as opposed to use some block from the buffer? If you consider that, what impact does the "IO read time from disk" have on the overall performance of the system? If you do not isolate the test to just a read, how do writes compare?
    Just some questions. Thanks.

Maybe you are looking for