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

Similar Messages

  • 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

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

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

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

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

  • REPLICAT CREATE TABLESPACE USING GG

    Hi All,
    We have GG setup for 2 schema`s between the databases.
    I have extract parameter for the both the schema as
    DDL include mapped objname schema1.* &
    include mapped objname schema2.* &
    And we use to create tablespace frequently on this database as sysdba.I want that to be replicate to DR as well..
    i tried
    include mapped objtype TABLESPACE objowner SYS and it is erroring..
    Can someone provide correct parameter to include only create tablespace of sys

    Hi,
    Hopefully the below information will help you
    Non-supported objects and operations in Oracle DDL :
    These statements apply to integrated and classic capture modes.
    Oracle-reserved schemas :
    The following schema names are considered Oracle-reserved and must be excluded from the Oracle GoldenGate DDL configuration. Oracle GoldenGate will ignore these schemas.
    ● ANONYMOUS
    ● AURORA
    ● $JIS
    ● $UTILITY
    ● $AURORA
    ● $ORB
    ● $UNAUTHENTICATED
    ● CTXSYS
    ● DBSNMP
    ● DMSYS
    ● DSSYS
    ● EXFSYS
    ● MDSYS
    ● ODM
    ● ODM_MTR
    ● OLAPSYS
    ● ORDPLUGINS
    ● ORDSYS
    ● OSE$HTTP$ADMIN
    ● OUTLN
    ● PERFSTAT
    ● PUBLIC
    ● REPADMIN
    ● SYS
    ● SYSMAN
    ● SYSTEM
    ● TRACESVR
    ● WKPROXY
    ● WKSYS
    ● WMSYS
    ● XDB

  • Raw devices files

    Hi,
    I already created raw devices on database 10g R2. How can make those raw devices available to oracle user?
    Best Regards
    Yassin
    Message was edited by:
    Yassin

    Yes, the os is Sun Solaris and my question how can
    create tablespaces on raw devices.create tablespace abcd datafile '/dev/rdsk/c0t0d0s4/abcd.dbf' size ...
    This is an example only, adapt it to your needs! Never fill up the rawdevice completely, leave some space for emergency situations. A different question: why are you using raw devices? What's the output of uname -a? Beginning with Solaris 8 (don't know the maintenance level), you can mount filesystems with the direct io option which gives you almost raw device performance with all advantages of a file system.
    Thank you.
    Yassin
    Message was edited by:
    Yassin

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

  • 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

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

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

  • 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

Maybe you are looking for

  • How do I create this texture?

    I need to create this texture for the background of something I am working on.  I am making a business logo for a woman, and she very specifically asked for this texture.  I would have copied it directly from the picture she provided me, but it's ver

  • OSP Recipt Transaction Doesn't Always Perform The Move/Complete Process

    Random occurrences. Have OSP Deliver transactions that move the work order quantity to the To Move operation step but doesn't complete the work order. The work orders have completion subinventories. They are typically not over completion transactions

  • Webservice to JDBC to SAP System to webservice using BPM

    Hi Frnz My requirement is i need to get data from webservice....... and i need to push that data to some Database... and the response from the Database to SAP system......and from that SAP system  the respone should come to the Webservie which is the

  • Container Elements - Inherited elements may not be deleted

    Hi, I have created a Adhoc Agent container element and when I tried to delete this, it gives the message "Inherited elements may not be deleted" and does not allow me to delete. Could anybody please shed some light on this. I have tried all possible

  • No matter what I do, get "Connot connect. Call in progress." in box with i symbol.

    I even tried turning it all the way off and waiting. I'm new to this so if you think you can help, please use simply (newbie) language. Oh, and this started after the handset was in my purse, so perhaps a random button got pushed by accident? Thanks