Linux RAW devices

Hello all,
Is there a way to bind /dev/raw/raw? to /dev/sd? device? The reason I ask is that after a server reboot, my disk name (/dev/sd?) changes so when I initially bind for example: raw /dev/raw/raw1 /dev/sdb5, it became /dev/sde5 after a reboot. If I use RAW for OCR disk and voting disk, this prevents me from starting CRS. Any help is appreciated.
thanks,

Thanks Paul. I had that entry but the problem I have is that /dev/sdb5 is no longer the same disk after a reboot. To explain better, let say /dev/sdb5 is an OCR disk and /dev/sdc5 is my ASM disk. After a reboot, the two devices switched so now, /dev/raw/raw1 is bound to /dev/sdb5 which is now an ASM disk and not OCR anymore so my cluster does not come up.
Thanks.

Similar Messages

  • Asmlib or Linux Raw device

    I have to manage a new ASM environment
    What is the easiest way to find out if Asmlib OR Linux raw files are used in the ASM filesystem ?

    if you wish to do this even without opening an ASM instance you can use kfed. Here is the steps for ASMLIB (You can use a similat one for raw devices):
    1. List the disks labeled by ASMLIB
    [root@consolidaterac2 ~]# /etc/init.d/oracleasm listdisks
    DISK01
    DISK02
    DISK03
    DISK04
    2.Read those files with kfed and grep the diskgroup name:
    consolidaterac2@oracle $ kfed read /dev/oracleasm/disks/DISK03 |grep grpname
    kfdhdb.grpname: DATA ; 0x048: length=4
    3. Check the header status whether the disk is still a member of the diskgroup or just a FORMER member of the group ( seeing a proper diskgropname doesn't always means disk is still a member)
    if it is a member then
    consolidaterac2@oracle $ kfed read /dev/oracleasm/disks/DISK03 |grep hdrsts
    kfdhdb.hdrsts: 3 ; 0x027: KFDHDR_MEMBER
    if not
    consolidaterac2@oracle $ kfed read /dev/oracleasm/disks/DISK04 |grep hdrsts
    kfdhdb.hdrsts: 4 ; 0x027: KFDHDR_FORMER
    Regards,
    HS

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

  • CREATING RAW DEVICE IN LINUX

    HI ALL,
    in redhat linux 5 how to format the disk(ex: /opt,/u01,.....) and make it as raw device for ASM installation

    DSP_863977 wrote:
    HI ALL,
    in redhat linux 5 how to format the disk(ex: /opt,/u01,.....) and make it as raw device for ASM installationit is not possible to change a mount /opt or /u01 for ASM storage.
    for learning purpose you can learn with vmware server to create a raw device to configure/install ASM.
    Refer the link:- shared storage part for linux5/rhel5
    http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html
    for more information refer the link:-
    http://download.oracle.com/docs/cd/B28359_01/server.111/b31107/asmprepare.htm

  • Checking Raw devices on Linux box

    How i can check raw device configured on Linux box?
    Like System admin configured dev/raw/raw1 and dev/raw/raw2
    how i can check this? With df command i am not seeing this...

    Is it Ok for RAC or not
    [oracle@test1 ~]$ sudo raw -qa
    /dev/raw/raw1: bound to major 8, minor 1
    /dev/raw/raw2: bound to major 8, minor 2
    /dev/raw/raw3: bound to major 8, minor 3
    [oracle@test2 ~]$ sudo raw -qa
    /dev/raw/raw1: bound to major 8, minor 49
    /dev/raw/raw2: bound to major 8, minor 50
    /dev/raw/raw3: bound to major 8, minor 51

  • Raw devices under Linux 2.4.x

    Hi.
    Does Oracle 8.1.7 support raw devices under linux 2.4.x? Is there some documentation? What advantages/disadvantages? Is it worth moving from ext2 to raw?

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Andrij Korud ([email protected]):
    Hi.
    Does Oracle 8.1.7 support raw devices under linux 2.4.x? Is there some documentation? What advantages/disadvantages? Is it worth moving from ext2 to raw?<HR></BLOCKQUOTE>
    Oracle does fully support raw devices. For a mini cookbook, search on "raw device". I've put up a mini story on how to make raw redologs.

  • Create the raw devices under Linux

    Hi,
    Hoe can I create the raw devices under Linux?

    Hi,
    I just have created two raw devices,
    1, /etc/sysconfig/rawdevices
    /dev/raw/raw1 /dev/hda2
    /dev/raw/raw2 /dev/hda3
    2, chown oracle:dba /dev/raw/rawN and chmod 660 /dev/raw/rawN
    3, after restart the machine, start I runInstaller again.
    But Oracle can still not find the candidate disks, even after give the path /dev/raw
    Why?

  • Linux RedHat 4 update 4: how to unbind  raw devices used by ASM diskgroups?

    How to unbind raw devices used by ASM diskgroup?
    I created ASM diskgroup using /dev/raw/rawn, after done my testing, I need to toss the raw devices to start a new testing. Here is the procedure:
    1. shutdown MYTEST database
    2. in ASM instance, remove disks from diskgroup 'rawtest'
    3. in ASM instance, "drop diskgroup rawtest including contents"
    4. in OS, issue: "raw /dev/raw/raw1 0 0"
    I got the following error:
    # raw /dev/raw/raw1 0 0
    Error setting raw device (Device or resource busy)
    But if I shutdown ASM instance, the above commmand will be successful.
    My question, how can I unbind raw devices without shutting down ASM instance(could be used by other databases at the same time)?
    Thanks,
    Jenny

    The installation guild will probably be were you will want to start.
    2.11 Preparing Disk Groups for an Automatic Storage Management Installation
    http://download.oracle.com/docs/cd/B19306_01/install.102/b15660/pre_install.htm#sthref457
    Specifically
    2.12 Configuring Raw Partitions or Raw Logical Volumes
    http://download.oracle.com/docs/cd/B19306_01/install.102/b15660/pre_install.htm#sthref591

  • How to setup the raw devices  permissions permanantly in 11gr2  on RHEL 5.

    Hi All,
    Succesfully installed 11gr2 RAC and working fine , but in next boot raw devices permissions revert back to root .
    Please advice me to how to setup permissions permanantly as the oracle user.
    Regards
    San
    .

    you find the lib on this page:
    http://www.oracle.com/technetwork/topics/linux/downloads/rhel5-084877.html
    in the AMD64 / Intel em64t Architecture table
    this is the direct link
    http://oss.oracle.com/projects/oracleasm/dist/files/RPMS/rhel5/amd64/2.0.5/2.6.18-194.el5/oracleasm-2.6.18-194.el5xen-2.0.5-1.el5.x86_64.rpm
    hth
    p.s. don't forget to mark question as helpful/correct and close the question.

  • 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

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

  • Oracle 9.2 RAC installation error on raw devices

    During Oracle 9.2 RAC installation on Linux Red Hat 7.3 on raw devices
    Database Configuration Assistant
    returned the error message:
    "Raw device validation check for Data File
    "/dev/raw/clustdb_raw_cwmlite_100m" failed, No such file or directory".
    Really this file exists, this is a link to a raw device.
    How does Oracle validate the raw file?
    What does this error mean?
    Igor.

    During Oracle 9.2 RAC installation on Linux Red Hat 7.3 on raw devices
    Database Configuration Assistant
    returned the error message:
    "Raw device validation check for Data File
    "/dev/raw/clustdb_raw_cwmlite_100m" failed, No such file or directory".
    Really this file exists, this is a link to a raw device.OK, so you are saying that /dev/raw/clustdb_raw_cwmlite_100m is link to /dev/raw/raw<x> (x some number)??
    If not - there is your error.
    How does Oracle validate the raw file?File MUST exists (or link) AND it must be a RAW device.
    You can check it by raw -qa (it should display all raw devices, with theirs major-minor pairs)
    What does this error mean?
    Igor. Hrvoje

  • SPARC 64bit Clusterware 10.2.0.4 - shared raw device

    Dear group,
    I have been asked to install RAC 10.2.0.4 SE on Solaris 10 (SPARC). I am not a Solaris admin altough I have done many RAC installations on RHEL4/5.
    Does anyone have suggestions/pointers to documentation (apart from the docs on OTN which I already consulted) on how to place OCR and vorting disk on shared raw devices? The setup is unlikely to use any multipathing but will rely on a low end SAN for shared storage. I am especially interested in the proper use of the "format" tool (I know for instance that I need to start from cyliner 1 for ASM slices).
    So far all I found were documents explaining SFRAC, Sun Cluster etc which I either don't have at my disposal or can't use due to license restrictions.
    On a comparable single-pathing Linux setup, we'd simply use fdisk to create partitions on the shared disk(s) which then are made available as raw devices thanks to udev.
    Thanks and regards,
    Martin

    Hi Martin,
    Take a look on this doc http://download.oracle.com/docs/cd/B19306_01/install.102/b14205/storage.htm#sthref675
    Regards,
    Rodrigo Mufalani
    http://mufalani.blogspot.com

  • Oracle rac raw device as shared storage

    Hi,
    i m new to oracle rac,
    and i wish to instlall 11g r1 RAC on my laptop having linux 4 as platform (on vmware) ,
    for that i prepare 4 partition for that (on node1)
    /dev/sdb1 - for ocr
    /dev/sdb2 - for voting disk
    /dev/sdb3 - for asmdisk group
    /dev/sda5 - fro asmdisk group
    by assuming external redundacy for ocr and voting disk i kept only one disk
    and i configured following in /etc/sysconfig/rawdevices
    /dev/raw/raw1 /dev/sdb1 -- ocr
    /dev/raw/raw2 /dev/sdb2 -- voting disk
    /dev/raw/raw3 /dev/sdb3 -- asmdisk group
    /dev/raw/raw4 /dev/sdb5 -- asmdisk group
    and my question is how node2 can understat these raw device as shared storage?
    thanks for any support

    hi thanks for your suggestion ,
    this may be ok for VMware , but what about for non-VMWare environment?
    how can i make raw device as shared storage?
    one more, all the docs that i followed on net , configured node1 partitions as shared storage.
    please help me in this regards

  • 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

Maybe you are looking for

  • GPU Panic on Macbook Pro (Retina, Mid 2012) OS Yosemite 10.10 (14A389)

    At the most uncomfortable moments I randomly get a black screen. Sometimes a forced reboot helps but mostly a smack does the job. I have done this in front of many audiences who just love it!! Apple support in South Africa do not find anything faulty

  • Can i install samsung 850 pro 1 tb solid state drive in my "macbook pro 2012 mid".

    Hi, anyone know. can i install samsung 850 pro 1 tb solid state drive in my "macbook pro 2012 mid". any compatibility issues?

  • Adobe flash player not working- need help urgently

    Hi I hope somebody would help me I have windows vista home premium, where few months back when I was using the computer it came for a message requesting me to upgrade my adobe flash player to version 10. which I did and its the biggest mistake Eversi

  • Re: High Level Complaints contact number?

    Hi, 2 engineer appointments missed by BT, 2 days off work sitting on my **bleep** for 6 hours waiting for them, thousands of endless phone calls through my mobile as I have been without a phoneline or broadband or tv for nearly 2 months now. They can

  • Ciclo de Vida Oracle Linux 5.9 x64.

    Por favor, alguém saberia dizer-me qual é o ciclo de vida de suporte para o Oracle Linux 5.9 x64. Estou fazendo uma documentação e preciso explicitar para o cliente até quando eles poderão ter suporte desta versão do Oracle Linux. Obrigado.