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.

Similar Messages

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

  • 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

  • Installing VISA USB device under Linux

        Well, well, well... I've never though that such a time will come, but...
    Linux. The question is about it.
    It so happend that i need to install a custom made usb device under that OS. I've created the driver using NI-VISA driver development wizard and my device works fine under windows. But i don't know how to create a driver for Linux and how to install it there.  Any ideas? Any???
    www.xinstruments.com
    Custom Software for Industrial Automation
    www.hdrconverter.com
    Picture processing made easy

    Shawn B. wrote:
    > It looks like you are running Mandriva 2006 (as opposed to 10.0).&nbsp;
    > The version of NI-KAL that shipped with NI-VISA 3.4 does not support
    > Mandriva 2006.&nbsp; The good news is you can download a newer version
    > of NI-KAL that will install on Mandriva 2006 from:
    >
    > <a href="ftp://ftp.ni.com/support/kal/1.2/"
    > target="_blank">ftp://ftp.ni.com/support/kal/1.2/</a>
    >
    > Install NI-KAL then run updateNIDrivers.
    >
    > Shawn B.
    > National Instruments
    This is not exactly an enlightening answer for a typical Linux user. I too
    am having difficulty installing this under Debian Etch.
    Linux distributions are made of components, the name on the label is a
    little meaningless (in my years of experience with Linux, I am yet to find
    a single program that will compile with one distro but not another, given
    the same tools). So what components exactly does this driver depend upon ?
    What am I missing here ? Is it my custom kernel (this is a Debian Etch
    system) or some bug in the supplied drivers ?
    The installer identified the following :
    Checking required install tools...
    Checking installer tool versions...
    rpm 4.4.1 can be used with a default installation path
    tar 1.15.1
    Checking dependencies...
    glibc 2.3.5
    X /usr/X11R6/bin/X
    Terminal /usr/X11R6/bin/xterm
    Unpacking install files to /tmp/ni4882.install...
    My error messages :
    The following components, totalling 28444KB, have been selected
    for installation:
    LabVIEW 7.0 Run-Time Engine
    NI-PAL
    NI-KAL
    NI-488.2 Help
    NI-488.2 Utilities
    NI-488.2 Driver
    Continue? [Ynq] Y
    * NI-KAL 1.0.0f0 for Linux/x86
    This installer will install the NI software using the targz.
    This software is covered by the included license file (LICENSE.txt).
    By installing this software you are acknowledging acceptance of the
    terms of the license.
    The installation location for NI-KAL is /usr/local. A natinst/nikal
    subdirectory will be created at the specified location.
    Installing:
    NI-KAL => /usr/local/natinst/nikal
    Extracting /tmp/ni4882.install/kal/nikali-1.0.0-f0.tar.gz to /usr/local/...
    Checking required tools...
    Configuring for linux kernel version 2.6.14.3-raja.
    ********************************* NOTE *********************************
    Using kernel headers found in /lib/modules/2.6.14.3-raja/source.
    If this does not correspond to the location of the 2.6.14.3-raja headers,
    then define KERNELHEADERS in your environment to point to the location
    of the kernel headers, define KERNELTARGET as the version of the
    kernel for which to compile, and then rerun ./configure.
    ********************************* NOTE *********************************
    Kernel has reparent_to_init(): yes
    Number of arguments for do_munmap(): 3
    pte_offset function: pte_offset_kernel()
    Number of arguments for remap_page_range(): 4
    Kernel has get_user_pages(): yes
    Kernel exports get_user_pages(): yes
    USB altsetting name: cur_altsetting
    Kernel has usb_get_intf(): yes
    Kernel has intf_cache member in usb_host_config: yes
    Kernel exports usb_set_configuration(): no
    Kernel has usb_endpoint_running(): no
    Storing configuration in Makefile.in
    If the values stored are incorrect they can be changed before running make.
    Installing Kernel module...
    /bin/cp nikal.c objects/nikal.c
    /bin/cp nikal.h objects/nikal.h
    make -C /lib/modules/2.6.14.3-raja/source
    SUBDIRS=/usr/local/natinst/nikal/src/objects modules
    make[1]: Entering directory `/usr/src/linux-2.6.14.3'
    CC [M] /usr/local/natinst/nikal/src/objects/nikal.o
    In file included from /usr/local/natinst/nikal/src/objects/nikal.c:86:
    /usr/local/natinst/nikal/src/objects/nikal.h:172: warning: 'packed'
    attribute ignored
    /usr/local/natinst/nikal/src/objects/nikal.c: In function
    'nNIKAL100_vmaClose':
    /usr/local/natinst/nikal/src/objects/nikal.c:196: sorry, unimplemen

  • VISA do not find RAW device in linux??

    Hy. I have usb device with product ID and vendor ID. My operational system is Linux Fedora. Linux system find my device,but Labview (VISA) do not find this device.Can somebody tell my, where is the problem??

    Hello qwqwqw,
    Dennis is correct, and that is the document you want to reference.  Specifically, Part 4 is about USB on Linux and Mac.  Officially though, National Instruments does not offer email or phone support for Linux Fedora.
    Good luck with your application!
    Meghan
    Applications Engineer

  • How to use DAQ as a soundcard under linux

    Hi,
    My goal is to use a pci-4461 as a high accuracy replacement for a soundcard in a linux environment. The programming language should be C.
    I have already looked at the examples that come with the linux driver but my problem is how to exchange the audio data with other applications in real time.
    My other application is a softphone for IP-telephony that normally uses the /dev/dsp device under linux to exchange sound with the soundcard. (This can be changed to another device from within the softphone). Now, I want the softphone to read from and write to the DAQ instead of the soundcard. So the DAQ should be configured for continous analog input and output and give the data to the softphone in real time.
    Do you have any ideas how to do that with the nidaq-C-functions?
    Thank you for your help
    Fabian

    This example might help:
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=EE91CE2098BB42C1E0340003BA230ECF&p_...

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

  • 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

  • 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

  • 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

  • ASM Spfile on shared raw device

    Hi,
    I am building two nodes Cluster on Linux 4 update 5. I have successfully created the CRS. Now I am trying to create the ASM instance using the ./dbca. When I select both nodes to manage diskgroup, during the instance creation, and after I enter the SPFILE file location, I am receiving this message
    {The /dev/raw/raw10/spfile.asm.ora location is not valid. The directory "[/dev/raw/raw10/] is not a shared system partition across nodes1 and 2.}
    The Oracle:dba has the ownership and read/write permission on this partition.
    Your help highly appreciated.
    Majid

    1) Check to make sure that the partition /dev/raw/raw10 is a shared raw device between the nodes (you can do this by using: dd if=/dev/zero of=/dev/raw/raw10 bs=1M count=x from both the nodes while logged in oracle).
    2) Since /dev/raw/raw10 is a raw device, you can not specify /dev/raw/raw10/spfile.asm.ora as an SPFILE location. Alternatively, under $ORACLE_HOME/dbs create a link to /dev/raw/raw10 with the name spfile$ORACLE_SID.ora from both the nodes.
    ln -s /dev/raw/raw10 $ORACLE_HOME/dbs/spfile$ORACLE_SID.ora (both the nodes)
    HTH
    Thanks
    Chandra

  • Raw device based database

    Have anyone tried to use raw devase base database?
    I tried all teh documentation available but could not find
    anything about this
    If I tell Orecle to create a database on a raw device (like
    /dev/sda6), it tries to erase the file. However it should accept
    it I suppose. Mounting the device /dev/sda6 under a directory
    doesn't help either. Is it normal behaviour and I am missing
    something or raw device database structure is not implemented
    under Linux yet?
    Thanks in advance
    null

    Nicholas Tufar (guest) wrote:
    : Have anyone tried to use raw devase base database?
    : I tried all teh documentation available but could not find
    : anything about this
    : If I tell Orecle to create a database on a raw device (like
    : /dev/sda6), it tries to erase the file. However it should
    accept
    : it I suppose. Mounting the device /dev/sda6 under a directory
    : doesn't help either. Is it normal behaviour and I am missing
    : something or raw device database structure is not implemented
    : under Linux yet?
    : Thanks in advance
    Linux dosn't support raw devices. Oracle requires symbol
    device but in Linux you have only block devices. Also access to
    this devices is cached by OS.
    null

Maybe you are looking for

  • I just downloaded the latest version of FF and now I can't send messages via hotmail.

    On April 6th, 2011 I downloaded the latest version of FF and shortly thereafter I found that I could not send mail from my hotmail account. I can receive, edit, read etc. I can do most everything EXCEPT send. I can, however, send mail from IE so it i

  • Ipod turns off when in unlock position

    Hi!, I have an iPod nano and it only turns on when in the locked position and plugged in to computer or power outlet then shuts-off when switched to unlocked position...what gives! I have restored with itunes no luck. I bought new in 2009, maybe its

  • Is it possible make a RAC WITH WINDOWS XP?

    is it possible make a RAC WITH WINDOWS XP? i saw this link.. http://download-uk.oracle.com/docs/html/B10766_08/prewin.htm and watch this information: Operating System RAC for Windows 32-bit is supported on the following operating systems: - Windows 2

  • Leopard / iPhoto 08 / Lexmark X4550 - iphoto crashes every time i print!

    Clean install of Leopard, then installed iLife 08, then installed Lexmark printer drivers, etc. Printer seems to work fine on other programmes but every time I try to print a photo in iPhoto 08, the programme crashes....Aargh!! Any ideas?

  • Filter Infotypes based on Company Code for the Message Type HRMD_A

    Hi, I have a requirement to send different infotypes for different Company codes using the same distribution model for the message type HRMD_A. Example : For the BUKRS 2500 I need to send infotype 0000 ,0002,0006 For the BUKRS 2600 I need to send inf