Using raw device

Good morning,
I would like to make some i/o test with a database version 10g, actually I have the redo log on standard zfs filesystem (cooked), I would like to
migrate this redo log on raw device without recreating the database, is this possible ?
Thanks for your help
Fabrice Chapuis

One more question, in case of node failure , redo on raw device are more critical for a recover than if they were on a filesystem ?More critical? Or more difficult?
Redo is critical, period. Does not matter whether you use a cooked file system or a raw device.
As for difficulty - that depends on what you are attempting to do. If you want to treat the raw device as a file system, that will be difficult as it it not a file system. (which kind of begs the question as to treat it like a file system when it is not?)
From a RMAN perspective - a device is a device. RMAN does not care.
From a DB perspective - that is why ASM exist. To remove the complexities of using raw devices, and eliminate the requirement of needing to use an external Volume Manager. And provide the DBA with a familiar SQL*Plus interface and SQL commands to administer ASM.
It may seem difficult at first - but anything that needs a learning curve to go through, tends to seem difficult in the beginning. All you need to do is learn the basics and grasp the concepts.. and that +"difficulty"+ disappears.

Similar Messages

  • Advantage of using RAW devices for storing database

    Hi,
    Marry Christmas to all.
    Oracle 10g version 10.2.0.1.0 (rac)
    OS : HP-UX 11i
    I am new to this enviornment. We are using raw devices for storig the database.
    Please tell what are the advantages for using raw devices for storing the database?
    Thanks.

    http://www.fors.com/orasupp/unix/37914_1.HTM
    The above link explains the raw devices and advantages.

  • Create tablespace using RAW device

    Hi,
    When you create the tablespace using RAW device, you no need to specify the size parameter in the sql. It works in Solaris but not in Linux.
    I dont know why, can anyone experience this issue before? please let me know
    Thanks
    Veera

    My advice for you would be to always include SIZE parameter when you create tablespace, redo log file on raw device.
    Best Regards
    Krystian Zieja / mob

  • Rename dafile while using RAW device.

    HI,
    How to rename a datafile in raw devices.
    Thanks

    Since 'data file = raw device' when using raw devices, it begs the question ... what are you trying to accomplish?
    There may be OS, OS Version and DB Version dependencies to think about. Please provide that info as well.

  • How can i use raw device in oracle 9.2.0.4

    can i use "create tablespace XXX datafile '/dev/raw1' ..." to use raw device for tablespace? Or i should use "ln -s /dev/raw1 /oradata/xxx.dbf"?
    does raw device as same as "xxx.dbf" is limited 4GB ?
    pool english.

    hi,
    as far as windows NT OS is concerned,,there's a utility (OCOPY) to store ur datafiles on to raw devices,,,but u cant directly access that datafiles for runtime databases,,its just for backup purposes..
    umar

  • 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.

  • 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.

  • 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.

  • Content Server 6.40 on Raw Devices

    Hi Folks!
    We'd like to install a Content Server 6.40 using raw devices (on Linux Suse SLES9).
    Do we need to install the MaxDB, if we use raw devices? At this point the InstGuide does not give a clear description of what to do. It looks we can use the raw devices directly without having a database instance. Is this right?
    Is there any disadvantage compared to using the access via file system and DB?
    Any hint is appreciated...
    Best regards
    Torsten

    Hi Torsten,
    As far as i know SAP Content Server use MaxDB or a File System, I have use it with MaxDB with good results, anyhow.... read the following for details,
    http://help.sap.com/saphelp_nw04s/helpdata/en/40/32104211625933e10000000a155106/content.htm
    Regards
    Juan
    Please reward with points if helpdul

  • Raw Device Validation Check for Name Failed..

    Hi all,
    I have installed Oracle Clusterware 10.2.0.4 and Oracle database software 10.2.0.4 on Solaris SPARC 10 and i using a NAS storage for the same
    And when i try to create a database using DBCA i got the following error.
    Raw Device Validation Check for Name /u03/oradata/spfile/spfile{SID}.ora failed. The specified file /u01/oradata/spfile/spfile{SID}.ora doesnot exit.Please a existing file.
    Note: i am not using ASM., i am using RAW device for Database
    Any help highly thankful
    -Arun

    Hi
    this is how i have mounted the NAS...
    10.0.0.0:/vol/prodt3_vol16/ora_dbfr_inn1s - /u07/DBFR/INS nfs - yes rw,bg,hard,nointr,rsize=32768,wsize=32768,proto=tcp,noac,forcedirectio,vers=3,suid
    how do i ensure that it is not being used....we should not use ASM its an client requinment ...
    Thanks

  • Create a physical standby for Rac on Windows and raw devices

    Hi buddies:
    I need to create a Physical standby database for a 2 node RAC cluster on Windows, that is using RAW devices.
    Can someone of you suggest me a note to follow in order to achive this, i can not find to much information about how to do this.
    I guess that the best option would be to use RMAN to do this, but as i said before i havent found too much information.
    I would really appreciate your help.
    Kind regards
    MQ

    In this case the standby should be created as a single instance on regular files.
    Do i have to specify something different in the duplicate rman command to specify that the standby database will be a single instance?
    Thanks for your help
    MQ

  • Configuring Storage for Clusterware on Raw devices

    My proposed system is:
    - Sun Solaris 10
    - Oracle 10G RAC
    - Oracle Clusterware
    - Raw devices for Clusterware files
    - ASM for database flies
    Assume I have appropriately sized LUNs assigned on my SAN for OCR and voting disks. My question is, how do I configure the raw devices required for these Clusterware files?
    I have read the Oracle RAC/Clusterware installation guide (Sun Solaris, SPARC), which goes as far as identifying the requirements but does not give the procedure. If I wish to use raw devices for ASM, it gives a procedure for creating partitions on the LUNs. Is anything like this required for the Clusterware files (OCR and voting disks)?

    As far as I know, Solaris follows the traditional raw device definition, which basically says that a raw device is a disk or a partition on a disk that does not contain a file system (yet). Given your question, this would mean that any device that you can find that does not contain a file system would be a raw device.
    Message edited here:
    However, you need to find the right link to this device in order to use it as a raw or character device. Otherwise, the device would be used as a block device, which means it will be buffered.
    On Solaris, those character devices should be listed under /dev/rdsk, while the block device would be listed under /dev/dsk. (Please, refer to: http://www.idevelopment.info/data/Unix/Solaris/SOLARIS_UnderstandingDiskDeviceFiles.shtml)
    End of update.
    Therefore, you have 2 options in your case. You can create LUNs in your storage that would be just suitable to host your Voting Disks and OCRs OR you can create a bigger LUN and put an OCR and a Voting Disk on this one, AFTER you have sliced the disk (LUN) using the format command.
    There is only one thing to remember: If you follow Oracle's recommendation to use multiple Votings and mirrored OCRs, it would obviously be better that those devices do not all share the same LUN (for availability reasons).
    Last but not least, you may want to have a look at the following forum for a similar discussion on using RAW devices under Solaris: http://forum.java.sun.com/thread.jspa?threadID=5073358&messageID=9267900
    Hope that helps. Thanks.
    Message was edited by:
    MarkusM

  • Raw Device in RAC

    Hi,
    I want to use Raw-Devide in RAC,
    Could you Say To me That How Can We see and work with Oracle Database Files when thay are in "unformated and without letter partitions(logic part.)" in Raw-Devide ?
    when Oracle begin to Format them?
    Thanks a lot

    If you are using raw devices, you don't see or manage files at the file system level-- you're bypassing the file system entirely. If you want to see and work with Oracle database files, you ought not be using raw devices.
    Are you planning on using Oracle clustered file system or the operating system's clustering functionality for your shared storage?
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • 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"

  • Raw device support in 11gr2

    We are currently running oracle 10.2.0.4 RAC using raw devices on the hpux itanium 64bit platform. We want to upgrade to 11.2.0.3 and I am wanting to know what parts of of database environment will still be able to utilize raw devices?
    Can my datafiles remain on raw devices or will we need to somehow convert over to using ASM? What about the ocr and voting device? Can they remain on raw devices or do we need to configure ASM for the ocr and voting disk?
    Thanks.

    923395 wrote:
    We are currently running oracle 10.2.0.4 RAC using raw devices on the hpux itanium 64bit platform. We want to upgrade to 11.2.0.3 and I am wanting to know what parts of of database environment will still be able to utilize raw devices?
    Can my datafiles remain on raw devices or will we need to somehow convert over to using ASM? What about the ocr and voting device? Can they remain on raw devices or do we need to configure ASM for the ocr and voting disk?
    Thanks.when all else fails, Read The Fine Manual
    http://docs.oracle.com/cd/E11882_01/install.112/e24169/storage.htm#sthref558

Maybe you are looking for