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.

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.

  • Raw device and Oracle

    Hi,
    did anybody successfully test Stephen Tweedy3s raw device against
    Oracle? I testet also against Sybase but could not get it to run.
    Stephen checked straces and stuff but there seems to be no error!
    Look at ftp.uk.linux.org/pub/linux/sct/fs
    This patch is against Linux 2.2.9.
    Please people, test it and tell me if it works for you
    Cheers
    Marcus
    null

    Marcus Ruehmann (guest) wrote:
    : Hi,
    : did anybody successfully test Stephen Tweedy3s raw device
    against
    : Oracle? I testet also against Sybase but could not get it to
    run.
    : Stephen checked straces and stuff but there seems to be no
    error!
    : Look at ftp.uk.linux.org/pub/linux/sct/fs
    : This patch is against Linux 2.2.9.
    : Please people, test it and tell me if it works for you
    : Cheers
    : Marcus
    Hi Marcis,
    I tested raw device with Oracle but in AIX with Oracle 7.3 and
    it worked perfectly. While I'm waiting for Oracle8i on Linux and
    would test it with raw device, I don't think there would be too
    much different.
    Brdgs,
    Quoc Trung
    null

  • 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

  • Create raw devices for OCR & Voting Disk for Oracle 10g R2 RACLinux 64 bit)

    Hi Friends,
    Please let me know the Document to cretae RAW Disk for OCR and Voting Disks (like rpm's required,process tio cretae raw disks) in Oracle 10g R2 on Linux (64 bit)
    Regards,
    DB

    http://docs.oracle.com/cd/B19306_01/install.102/b14203/storage.htm#BABFFBBA
    and
    Configuring raw devices (singlepath) for Oracle Clusterware 10g Release 2 (10.2.0) on RHEL5/OEL5 [ID 465001.1]
    Configuring raw devices (multipath) for Oracle Clusterware 10g Release 2 (10.2.0) on RHEL5/OEL5 [ID 564580.1]

  • RAW disks for Oracle 10R2 RAC NO SUN CLUSTER

    Yes you read it correctly....no Sun cluster. Then why am I on the Forum right? Well we have one Sun Cluster and another that is RAC only for testing. Between Oracle and Sun, neither accept any fault for problems with their perfectly honed products. Currently, I have multipathed fiber hba's to a Storedge 3510, and I've tried to get Oracle to use a raw lun for the ocr and voting disks. It doesn't see the disk. I've made sure they are stamped for oracle:dba, and tried oracle:oinstall. When presenting /dev/rdsk/C7t<long number>d0s6 for the ocr, I get a "can not find disk path." Does Oracle raw mean SVM raw? Should I create metadisks?

    "Between Oracle and Sun, neither accept any fault for problems with their perfectly honed products"...more specific:
    Not that the word "fault" is characterization of any liability, but a technical characterization of acting like a responsible stakeholder when you sell your product to a corporation. I've been working on the same project for a year, as an engineer. Not withstanding a huge expanse of management issues over the project, when technical gray areas have been reached, whereas our team has tried to get information to solve the issue. The area has become a big bouncing hot potato. Specifically, when Oracle has a problem reading a storage device, according to Oracle, that is a Sun issue. According to Sun, they didn't certify the software on that piece of equipment, so go talk to Oracle. In the sun cluster arena, if starting the database creates a node eviction from the cluster, good luck getting any specific team to say, that's our problem. Sun will say that Oracle writes crappy cluster verify scripts, and Oracle will say that Sun has not properly certified the device for use with their product. Man, I've seen it. The first time I said O.K. how do we avoid this in the future, the second time I said how did I let this happen again, and after more issues, money spent, hours lost, and customers, pissed --do the math.   I've even went as far as say, find me a plug and play production model for this specific environment, but good luck getting two companies to sign the specs for it...neither wants to stamp their name on the product due to the liability.  Yes your right, I should beat the account team, but as an engineer, man that's not my area, and I have other problems that I was hired to deal with.  I could go on.  What really is a slap in face is no one wants to work on these projects, if given the choice with doing a Windows deployment, because they can pop out mind bending amounts of builds why we plop along figuring out why clusterware doesn't like slice 6 of a /device/scsi_vhci/ .  Try finding good documentation on that.  ~You can deploy faster, but you can't pay more!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Raw device for red hat

    Hi,
    I tried to install raw device on red hat 4.2.I posted the mount point of that machine
    ]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
    145G 9.6G 128G 7% /
    /dev/sda1 99M 13M 82M 14% /boot
    none 2.0G 0 2.0G 0% /dev/shm
    /dev/sdb1 459G 350G 86G 81% */ydev*
    is it possible to use /ydev for the RAW mount point *.If it's,is it afffect any existing applications at dev?*
    please help me out that

    All that is required from a system level are partitioned disks. Oracle will handle the configuration of the filesystem. Here are my steps to configure raw devices using LUNs:
    --- PARTITION THE RAW VOLUMES ---
    fdisk /dev/<disk>
    Command (m for help): n
    Command action
    e extended
    p primary partition (1-4)
    p
    Partition number (1-4): 1
    First cylinder (1-512, default 1):<enter>
    Using default value 1
    Last cylinder or size or sizeM or +sizeK (1-512, default 512): >
    Using default value 512
    Command (m for help): w
    The partition table has been altered!
    Calling ioctl() to re-read partition table.
    Syncing disks.
    --- BIND PARTITIONS TO RAW DEVICES ---
    Edit /etc/udev/rules.d/60-raw.rules and add:
    # Define mapping of SCSI hard disks for Oracle Raw Devices
    ACTION=="add", KERNEL=="sdg1", RUN+="/bin/raw /dev/raw/raw1 %N"
    ACTION=="add", KERNEL=="sdj1", RUN+="/bin/raw /dev/raw/raw2 %N"
    ACTION=="add", KERNEL=="sdk1", RUN+="/bin/raw /dev/raw/raw3 %N"
    # Define persistent raw device permissions
    ACTION=="add", KERNEL=="raw*", OWNER=="oracle", GROUP=="dba", MODE=="0660"
    --- CREATE THE RAW DEVICES ---
    /sbin/start_udev
    --- VERIFY RAW DEVICES ---
    raw -qa
    2.     Update permissions of new devices
    chown -R oracle:dba /dev/<disks>
    3.     Create links to device on /dev/oracle
    # DETERMINE SCSI LINKS TO DEVICES
    clear ; ls -la /dev/disk/by-id/ | grep sd[f-v]1 | awk '{print $11,$9}'| sort
    # CREATE VOLUME MEMBER SYMBOLIC LINKS. DONE!

  • 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

  • How to use RAW partition for Oracle for placing data?

    Dear all,
    I have installed Oracle on a SUN machine and use database mount point /oracle which is a UFS system.
    But now I would like to use RAW partition instead of a UFS system to place Oracle database data...
    The installation guide mentions that database mount points have to be prepared before installation, could I just use /dev/rdsk/c0t0d0s5 as database mount points after partitioning c0t0d0s5?
    I am attempting to create a tablespace in the above partition... Could any experts tell me if the above works?
    Thanks a lot!

    kwan,
    Raw partion is used to store Oracle data files and not Oracle software. Oracle home is going be in regular file system. More than one file can not share the same raw device.
    You create the raw device at the OS level using the OS command. Then create tablespace on Oracle and use the clause DATAFILE 'Raw file Name'
    Hope this helps
    Best,
    G

  • Raw devices for 11g rac

    hi,
    whether 11gr2 rac supports raw devices in ibm aix 6.1 with power ha?
    regards
    sridhar

    Hi;
    Pelase see:
    Raw Devices and Cluster Filesystems With Real Application Clusters (RAC) [ID 183408.1]
    For your future RAC related issue I suggest close your issue here as answered than move your issue Forum Home » High Availability » RAC, ASM & Clusterware Installation which is RAC dedicated forum site.
    Regard
    Helios

  • How to Install Multipath Raw Device for Voting/OCR IN RHEL5 U1

    Dear all,
    Setup
    Two Node RAC Cluster with IBM disk Array DS4700
    OS- RHEL 5 Update1 (2.6.18-53.el5)
    Oracle- 10.2.0.1
    Failover Driver- RDAC Driver (Linux MPP Driver Version: 09.02.C5.16)
    I am trying to follow Metalink Note-564580.1
    But when i am configuring Multipathing and Verify Multipath Devices.
    I am not getting any output when i am issuing the following command
    #multipath -ll
    I checked the service mulipath
    [root@db1 dev]# service multipathd status
    multipathd (pid 3845) is running...
    [root@db1 dev]#
    Please let me know, if you have solution.
    Rgds
    Sumit
    Bangalore,India

    [root@wmcdb2 ~]# service multipathd restart
    Stopping multipathd daemon: [  OK  ]
    Starting multipathd daemon: [  OK  ]
    [root@wmcdb2 ~]#
    ==========================================================
    ==========================================================
    [root@wmcdb2 ~]# fdisk -l
    Disk /dev/sda: 146.5 GB, 146578341888 bytes
    255 heads, 63 sectors/track, 17820 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 131 1052226 83 Linux
    /dev/sda2 132 7143 56323890 83 Linux
    /dev/sda3 7144 8187 8385930 82 Linux swap / Solaris
    /dev/sda4 8188 17820 77377072+ 5 Extended
    /dev/sda5 8188 17820 77377041 83 Linux
    Disk /dev/sdb: 2147 MB, 2147483648 bytes
    67 heads, 62 sectors/track, 1009 cylinders
    Units = cylinders of 4154 * 512 = 2126848 bytes
    Device Boot Start End Blocks Id System
    /dev/sdb1 1 1009 2095662 83 Linux
    Disk /dev/sdc: 1073 MB, 1073741824 bytes
    34 heads, 61 sectors/track, 1011 cylinders
    Units = cylinders of 2074 * 512 = 1061888 bytes
    Device Boot Start End Blocks Id System
    /dev/sdc1 1 1011 1048376+ 83 Linux
    Disk /dev/sdd: 107.3 GB, 107374182400 bytes
    255 heads, 63 sectors/track, 13054 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk /dev/sdd doesn't contain a valid partition table
    Disk /dev/sde: 108.0 GB, 108005425152 bytes
    255 heads, 63 sectors/track, 13130 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk /dev/sde doesn't contain a valid partition table
    Disk /dev/sdf: 48.3 GB, 48318382080 bytes
    64 heads, 32 sectors/track, 46080 cylinders
    Units = cylinders of 2048 * 512 = 1048576 bytes
    Disk /dev/sdf doesn't contain a valid partition table
    Disk /dev/sdg: 24.5 GB, 24551358464 bytes
    64 heads, 32 sectors/track, 23414 cylinders
    Units = cylinders of 2048 * 512 = 1048576 bytes
    Disk /dev/sdg doesn't contain a valid partition table
    ===============================================
    ===============================================
    [root@wmcdb2 ~]# multipath -ll
    mpath2 (3600a0b80002ab33400000893489f7c76) dm-2 IBM,VirtualDisk
    [size=100G][features=0][hwhandler=0]
    \_ round-robin 0 [prio=0][active]
    \_ 5:0:0:3 sdd 8:48 [active][ready]
    mpath1 (3600a0b8000501e1600000897489f7f52) dm-1 IBM,VirtualDisk
    [size=1.0G][features=0][hwhandler=0]
    \_ round-robin 0 [prio=0][active]
    \_ 5:0:0:2 sdc 8:32 [active][ready]
    mpath0 (3600a0b80002ab33400000890489f7c34) dm-0 IBM,VirtualDisk
    [size=2.0G][features=0][hwhandler=0]
    \_ round-robin 0 [prio=0][active]
    \_ 5:0:0:1 sdb 8:16 [active][ready]
    mpath5 (3600a0b8000501e160000089b489f7fd2) dm-5 IBM,VirtualDisk
    [size=23G][features=0][hwhandler=0]
    \_ round-robin 0 [prio=0][active]
    \_ 5:0:0:6 sdg 8:96 [active][ready]
    mpath4 (3600a0b80002ab33400000895489f7cb9) dm-4 IBM,VirtualDisk
    [size=45G][features=0][hwhandler=0]
    \_ round-robin 0 [prio=0][active]
    \_ 5:0:0:5 sdf 8:80 [active][ready]
    mpath3 (3600a0b8000501e1600000899489f7f7f) dm-3 IBM,VirtualDisk
    [size=101G][features=0][hwhandler=0]
    \_ round-robin 0 [prio=0][active]
    \_ 5:0:0:4 sde 8:64 [active][ready]
    [root@wmcdb2 ~]#
    =====================================================
    =====================================================
    [root@wmcdb2 ~]# cat /proc/partitions
    major minor #blocks name
    8 0 143142912 sda
    8 1 1052226 sda1
    8 2 56323890 sda2
    8 3 8385930 sda3
    8 4 1 sda4
    8 5 77377041 sda5
    8 16 2097152 sdb
    8 17 2095662 sdb1
    8 32 1048576 sdc
    8 33 1048376 sdc1
    8 48 104857600 sdd
    8 64 105474048 sde
    8 80 47185920 sdf
    8 96 23975936 sdg
    =============================================
    ============================================
    [root@wmcdb2 ~]# cat /etc/multipath.conf
    defaults {
    user_friendly_names yes
    defaults {
    udev_dir /dev
    polling_interval 10
    selector "round-robin 0"
    path_grouping_policy failover
    getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
    prio_callout /bin/true
    path_checker readsector0
    rr_min_io 100
    rr_weight priorities
    failback immediate
    # no_path_retry fail
    user_friendly_name yes
    devnode_blacklist {
    &n sp; devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
    d vnode "^hd[a-z]"
    devnode "^sda"
    nbsp; devnode "^cciss!c[0-9]d[0-9]*"
    multipaths {
    nbsp; multipath {
    & bsp; wwid 3600a0b80002ab33400000890489f7c34
    alias ocr1
    multipath {
    wwid 3600a0b8000501e1600000897489f7f52
    alias voting1
    [root@wmcdb2 ~]#
    ===================================================

  • OCFS2 , ASM and Raw Device for Voting Disk and OCR

    Dear all ,
    My manager assigned me to establish a 11gRAC , 3 node on OEL. He likes to locate ASM with datafiles , at the same time, 2 OCR vol on OCFS2 and RawDevice respectively , 2 voting disks on OCFS2 and RawDevice respectively also.
    This really annoys me .
    Oh all experts, could anybody give me some advices ? Can those stuff be co-existed ?

    Billy  Verreynne  wrote:
    MccLok wrote:
    My manager assigned me to establish a 11gRAC , 3 node on OEL. He likes to locate ASM with datafiles , at the same time, 2 OCR vol on OCFS2 and RawDevice respectively , 2 voting disks on OCFS2 and RawDevice respectively also. Not a great idea to introduce additional s/w layers between the CRS software and its OCR and voting disks. If ocfs2 is for example used as a shared file system for these devices (files), then the ocfs2 cluster s/w needs to be up and running, the shared devices mounted, before CRS can successfully start. Thus any problem with the ocfs2 stack, will impact on CRS. Why? What does ocfs2 buy you in this regard? What are the benefits that justifies the increased complexity and the dependency of CRS on another s/w layer?
    Fewer moving parts means less complexity, less stuff that needs to be configured and can go wrong.In fact, some users had perception that " Pay mroe so that Get more".

  • How to find the raw devices for crs and voting disk

    Hi,
    How can I know where and what partitions that the crs and voting disk are installed ?
    Please point me to any documentation or any pointers.
    tia
    Pk

    For OCR: ocrcheck
    For Voting: crsctl query css votedisk
    HTH
    Thanks
    -Chandra Pabba

  • Can you please advice on RAW device file permission change to crw-r-----

    Currently we have Oracle9i (9.2.0.5) RAC on IBM AIX 5.2 system with 2 node cluster.
    We use the RAW device for Oracle data file default file permission for raw device is crw-rw---- can we change to crw-r-----(remove write permission from group).
    Can you please advice.
    Thanks & Regards

    Hi,
    What is your intention behind this? If protection, there can ve other ways possible.
    Regards,
    Ankit

  • 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

Maybe you are looking for