Corrupt datablock of datafile reside on RAW devices

Hi,
I want to check BOLCKRECOVER for corrupt blocks on datafiles reside on RAW devices.
Is there any tool/command tp corrupt datablock of datafile reside on RAW devices?
Thanks,

Please check following forums discussions, hope it will help .
Re: command to list corrupted files before taking backup in rman
http://sysdba.wordpress.com/2006/04/05/how-to-check-for-and-repair-block-corruption-with-rman-in-oracle-9i-and-oracle-10g/
Re: Data block corrupted

Similar Messages

  • How can I copy datafile (from one Raw device) to another Raw device ???

    can anybody tell me how do i copy/move one datafile from one raw device to another raw device.... ?
    I am having AIX 5.3 with SAN.
    Pls. help me...
    regards,
    Star Nirav

    Hello Hans,
    Currently I am using via RMAN... Want to know which one help me....? Is there any size limitation via dd command ? Can I use iocopy instead of dd in AIX ?
    man dd

  • Extend datafile in raw device

    Hi All,
    need some help. our database resides in raw device. currently datafiles resides in different logical volume in HP UNIX server version 11.11. our database is Oracle9i.
    there is one datafile with size 4G, not auto extensible resides in logical volume with physical size 4G. if i extend the logical volume from 4G to 6G, can i just resize the datafile to 6G?
    or do i need to create a new datafile because current file size is big?

    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.

  • 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

  • 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

  • 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

  • DB Copy: raw devices - datafiles

    Hello,
    I searched the MaxDB documentation etc but I didn't find any answer yet.
    Is it possible to perform a system copy of a MaxDB instance on raw devices
    and recover it on the same HW architecture but with data files?
    And is it also possible to restore log backups from the raw-device instance
    on the datafile instance during this system copy?
    Regards,
    Mark

    Mark,
    the MaxDB data format of pages on raw devices and in files is identical, so it's no problem to restore a backup on the same machine with a different volume configuration. You can restore data and log backups independent of  the physical format of the original volumes.
    regards,
         Henrik

  • Raw device for oracle 8.1.7 on AIX 4.3.3

    Hi there,
    I am trying to use a raw device on AIX 4.3.3 for ORACLE 8.1.7.
    I have created a raw device /dev/or_system
    brw-rw---- 1 oracle dba 54, 1 Mar 04 10:44 or_system
    but it is not possible to create a datafile on it :
    SVRMGR> create database "GLM"
    maxinstances 8
    character set "WE8ISO8859P1"
    datafile '/dev/or_system' size 150M REUSE
    logfile
    GROUP 1 ('/oracle/GLM/redo/log1.ora') size 100M,
    GROUP 2 ('/oracle/GLM/redo/log2.ora') size 100M,
    GROUP 3 ('/oracle/GLM/redo/log3.ora') size 100M,
    GROUP 4 ('/oracle/GLM/redo/log4.ora') size 100M;
    create database "GLM"
    ORA-01501: CREATE DATABASE failed
    ORA-01519: error while processing file '?/rdbms/admin/sql.bsq' near line 407
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01119: error in creating database file '/dev/or_system'
    ORA-27038: skgfrcre: file exists
    SVRMGR>
    The ORA-27028 in exact this situation was reported as a bug in prior ORACLE Versions 8.0.4/ 8.0.5 and had
    the bug no. 690228.
    But we use as mentioned 8.1.7.
    What do I do wrong?
    Any suggestions are welcome.
    Thank you
    Gerhard

    Each raw device you create is used as a single data file.
    Eg mklv -y 'myfile' <vgname> <number of logical partitians>
    Will have two special files associated with them /dev/rmyfile and /dev/myfile. The number of logical partitians will be the size of your datafile subtract 1 meg for overhead.
    So, if you were addding the above raw volume to a tablespace, and the lp size was 32 meg, you would
    create tabelspace tsname datafile '/dev/rmyfile' size 31 m;
    Note the use of rmyfile not myfile.

  • 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

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

  • 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 database using File system, RAW devices or ASM?

    Hi there
    Is is possible to find out if the database is using File system, RAW devices or ASM for storage?
    I think for ASM, we can tell by querying the V$DATAFILE view if it has ' DATA ' or something like that (a name that has ' ' prefixed to it). Is this the only way? How about other sotrage types (RAW and Filesystem)?
    Thanks in advance!

    user12033597 wrote:
    I think for ASM, we can tell by querying the V$DATAFILE view if it has ' DATA ' or something like that (a name that has ' ' prefixed to it). Is this the only way? How about other sotrage types (RAW and Filesystem)?V$DATAFILE or DBA_DATA_FILE
    Raw depends on your OS - in *nix, likely something like /dev/sdc1
    ASM depends on ASM and will include + and will follow an ASM pattern, such as described http://docs.oracle.com/cd/B19306_01/server.102/b14200/clauses004.htm
    File depends on OS - in *nix, likely start with a '/' and NOT be in /dev or /proc.  In Winders start with C:\ or some other disk path.
    Nicely discussed in the docs in the Administrators Guide found at http://tahiti.oracle.com

  • 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

  • Question(s) related to ASM, Raw devices and performance

    Good morning,
    I was recently getting acquainted with ASM. Since I was doing this in "play" VM boxes, it was not possible to draw any conclusions about any performance improvements.
    I'd like to know what performance improvements forum members may have experienced after migrating a production environment from a non-ASM setup to an ASM setup.
    It would seem that since ASM is a "form" of raw device access that the increase in performance should be noticeable. Was that the case for those who migrated to it ? Was the performance improvement worth it or did it only make managing the database easier ?
    Thank you for your contributions on the subject,
    John.

    ASM uses disk groups to store datafiles; an ASM disk group is a collection of disks that ASM manages as a unit. Within a disk group, ASM exposes a file system interface for Oracle database files. The content of files that are stored in a disk group are evenly distributed, or striped, to eliminate hot spots and to provide uniform performance across the disks. The performance is comparable to the performance of raw devices.
    You can add or remove disks from a disk group while a database continues to access files from the disk group. When you add or remove disks from a disk group, ASM automatically redistributes the file contents and eliminates the need for downtime when redistributing the content.
    I hope the links below will helps you.
    refer the links:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b31107/asmcon.htm
    http://oracleinstance.blogspot.com/2009/12/rac-file-system-options-basic-concept.html
    http://www.dbasupport.com/oracle/ora10g/ASM01.shtml
    also you will get more information from book:
    Oracle Automatic Storage Management: Under-the-Hood & Practical Deployment Guide (Osborne ORACLE Press Series)
    Nitin Vengurlekar (Author), Murali Vallath (Author), Rich Long (Author)
    http://www.amazon.com/Oracle-Automatic-Storage-Management-Under/dp/0071496076

Maybe you are looking for

  • Pr Premier monthly Cloud subscription open CS6 and CC at the same time with one subscription?

    I download both CS6 and CC version. I have a subscription for montly Premier Pro, but open just a CC version and not a CS6 WHY?? Do i need a second subscription for the same program??

  • How to use a loop for a object

    Hi, All I have a procedure that needs a collection to pass in. The pass_in collection has multiple records with multiple fields, so I guess I need a loop for each record. How to assign each record of multiple fields to each corresponding local variab

  • Can't get Airplay to work. Do not see icon

    Hello, I have updated FW on Airplay compatible receiver (Denon 2312), updated iPad 3 to ios6, opened the ports: TCP 443, TCP 5297 and UDP 5351 in NAT. MAC address authentication is disabled, I have WPA2 (mixed) password on wi-fi. Anyone has any tips

  • Automatic Colour settings problem for WAD Chart Column type

    Hi, In WAD (BI 7.0) Chart Creation i am having issues with colour settings for Chart item Column type with 3D. I have six key fig in query i am trying to show all KF in Chart. But it is showing only one colour for all keyfigs. atlast  I have manually

  • Health of battery in MacBook Pro

       Hello I bought a MacBook Pro just 5 months back 13' i5 pro [standard sonfig] well it works totally fine, the only thing is, there is an Click sound whenever it is lifted up or kept down [not thrown] well another is about the battery it was 98% few