Doubt with raw partition ASM

Hi Gurus,
Have a doubt regarding the raw partitions being used in ASM.
1.Is raw partition being used  only applicable to linux platform , or can it be done on other plaform as well
2.Is it correct if I say if a diskgroup is created with single  raw disk with external  redundancy , we are saying the oracle need not do the redundancy and we have set up redundancy for the raw partition at lus/os level.
3.what in general is better asmlib/raw partition for management of ASM.
Thanks
Atul

Hi,
1.Is raw partition being used  only applicable to linux platform , or can it be done on other plaform as well.
==>> Raw partition is not supported 11G onwards .
     On linux ASM support both types of devices ,block and character.
  For other unix version,ASM supports character devices.
2.Is it correct if I say if a diskgroup is created with single  raw disk with external  redundancy ,
we are saying the oracle need not do the redundancy and we have set up redundancy for the raw partition at lus/os level.
==>> Yes,in case of external redundancy ASM does not do mirroring .So,it depends upon OS level redundancy.
     if you use normal redundancy ,ASM will do mirroring alongwith stripping at ASM level.
3.what in general is better asmlib/raw partition for management of ASM.
===>> ASMlib devices are created upon partitioned device .
      And ASM will use ASMlib API to access those devices and do IOs.
   For Raw partition ASM will use system calls directly to access those devices.
  Advantages of ASMlib,
  + ASMlib will keep device persistency across reboot
  + Use ASMlib API for processing IOs in batches
  -- This give slightly better performance .
  If you use UDEV rules ,then it will give device persistency across reboot ,but use
  system calls for IOs directly.
  For raw partitions ,you need to maintain rawservices also.
  and it limits you to have 256 devices .
  But ASM can use upto first 10000 disks and maximum size can be of 2Tb in non-exadata.
  With these limitation and advantages,it is better to use ,
  Udev rules and ASMlib compared to raw ...
    while comparing ASMlib with Udev ,they are almost same,with ASMlib have slight advantage.
Regards,
Aritra

Similar Messages

  • RAC with RAW partition

    Hi all,
    1. There are 3 servers. Server1 and Server2 are in cluster. There is a RAW partition on Server3. I want to use that RAW partition for using ASM to implement RAC. can it be possible ?
    2. Can we create the OCR and voting disk in the local harddisks of the cluster nodes to install CRS ?
    Rgrds,
    Nitesh.

    Yes the disks /raw partitions are on shared storage then it should be possible. Please check the Oracle installation guides for step by step help with the configuration.
    http://www.oracle.com/pls/db102/homepage?remark=tahiti

  • How to share raw partitions on Mac OS X Server ?

    Hello,
    I'm trying to build a RAC Database with 3 nodes. I have created 2 raw partitions for the OCR and CRS Voting Disk on the local hard drive of node 1.
    I read the documentation concerning how to install a RAC Database on Mac OS X Server, but I don't know how to share the 2 raws partitions between my nodes.
    Anyone could explain me how to share those raw partitions accross all nodes ?
    Regards,
    Bob

    Good morning Bob,
    I guess you refer the the linux firewire solution for rac. It would surprize me if that works for the mac since on linux they created special kernel modules for it to be able to run. When connecting 3 servers you would need a firewire switch. From what I have seen sofar, the mac mounts the firewire drives exclusively and the (linux)kernel modifictions change that to shared allowing multiple servers to connect.
    For storage I would definately go for ASM. It makes you choice for storage hardware a bit less critical. Let oracle do what otherwise a highend SAN solution would do. Why are you building the RAC ? If it has a serious goal, get a xserve-RAID. I don't think you can get a better price/performance ratio. What other storage hardware do you have available ? (netapp would be fine ;-))
    regards,
    Ronald
    http://ronr.nl/unix-dba

  • How to create raw partition in a local zone?

    I tried to search for an answer for my question, but I spent a week and still no luck.
    What I am trying to do is to create raw partitions for Sybase in a local zone. I tried to add device and set match to the block and raw device.
    However, when I tried to do "format", I got core dumped. When I did zpool create, I got permission denied. Any advice?
    zonecfg:z001> info
    zonename: z001
    zonepath: /export/ZONE/z001
    autoboot: true
    pool:
    limitpriv:
    fs:
    dir: /shared/tmp
    special: /tmp
    raw not specified
    type: lofs
    options: []
    net:
    address: 10.110.1.2
    physical: e1000g1
    device
    match: /dev/rdsk/c6t60060160DF2413003E2F0C2DF945DC11d0
    device
    match: /dev/dsk/c6t60060160DF2413003E2F0C2DF945DC11d0

    You can't manipulate pools directly in a non-global zone. I'm not sure if you can run 'format'. You can use at least a limited amount of globbing. You might want to put a '*' at the end of your matched device name.
    You can hand off a raw partition via 'match' and put it under UFS control, or with recent versions of Solaris Express, you can delegate a portion of a ZFS filesystem to the zone.
    See the ZFS administration guide:
    http://www.opensolaris.org/os/community/zfs/docs/zfsadmin.pdf
    Especially the section on using ZFS in a zone (page 171). Note the guide is for the most recent version of ZFS in OpenSolaris. Versions available in Solaris 10 may not have all the same features.
    Darren

  • How to change permissions on a raw partition in ZFS file to write in zone

    I created ZFS file system and create a raw partition( size 100m) in it like below.
    // fnzone0 - name of zpool
    global# zfs create -V 100m fnzone0/data0
    global# zfs set reservatiion=100m fnzone0/data0
    zonecfg:zone1>add device
    zonecfg:zone1:device> set match=/dev/zvol/rdsk/fnzone0/data0
    zonecfg:zone1:device>end
    I would like to write to '/dev/zvol/rdsk/fnzone0/data0' from the local zone.
    What permission should I change in the global zone and local zone?
    Additional question:
    Can I export zpool 'fnzone0' to a local zone and create a raw partition like above without createing filesystems?
    Thank you.
    -Yong

    It was not a problem. The raw partition with the soft partition or ZFS filesystem works fine in the local zone.
    Thank you for your help.
    -Yong

  • Raw partition creation on RHEL5 for OCR and Voting disk

    Hi all,
    I want to create MAp raw device for block device to use for installing OCR and Voting disk. As i see fro mmetalonk note 465001.1 we can creaet rules to do that but when i follow the steps given in that note, nothing is changed see bellow:
    [root@cdr-analysis01 ~]# /sbin/scsi_id -g -s /block/sdae/sdae1
    360014380024d178600005000006c0000
    [root@cdr-analysis01 ~]# /sbin/scsi_id -g -s /block/sdaf/sdaf1
    360014380024d178600005000006f0000
    Create udev naming rule file /etc/udev/rules.d/55-oracle-naming.rules
    # Configure persistent, user-defined Oracle Clusterware device file names
    KERNEL=="/dev/sdae1", BUS=="scsi", PROGRAM=="/sbin/scsi_id", RESULT=="360014380024d178600005000006c0000", NAME="ocr1", OWNER="root", GROUP="oinstall", MODE="0640"
    KERNEL=="/dev/sdaf1", BUS=="scsi", PROGRAM=="/sbin/scsi_id", RESULT=="360014380024d178600005000006f0000", NAME="vote1", OWNER="oracle", GROUP="oinstall", MODE="0640"
    [root@cdr-analysis01 ~]# udevtest /block/sdae/sdae1
    main: looking at device '/block/sdae/sdae1' from subsystem 'block'
    udev_rules_get_name: add symlink 'disk/by-id/scsi-360014380024d178600005000006c0000-part1'
    udev_rules_get_name: add symlink 'disk/by-path/pci-0000:10:00.1-fc-0x50014380025ae47d:0x0007000000000000-part1'
    run_program: '/lib/udev/vol_id --export /dev/.tmp-65-225'
    run_program: '/lib/udev/vol_id' returned with status 4
    run_program: '/sbin/scsi_id'
    run_program: '/sbin/scsi_id' returned with status 1
    udev_rules_get_name: no node name set, will use kernel name 'sdae1'
    udev_device_event: device '/block/sdae/sdae1' already in database, validate currently present symlinks
    udev_node_add: creating device node '/dev/sdae1', major = '65', minor = '225', mode = '0640', uid = '0', gid = '6'
    udev_node_add: creating symlink '/dev/disk/by-id/scsi-360014380024d178600005000006c0000-part1' to '../../sdae1'
    udev_node_add: creating symlink '/dev/disk/by-path/pci-0000:10:00.1-fc-0x50014380025ae47d:0x0007000000000000-part1' to '../../sdae1'
    main: run: 'socket:/org/kernel/udev/monitor'
    main: run: '/lib/udev/udev_run_devd'
    main: run: 'socket:/org/freedesktop/hal/udev_event'
    main: run: '/sbin/pam_console_apply /dev/sdae1 /dev/disk/by-id/scsi-360014380024d178600005000006c0000-part1 /dev/disk/by-path/pci-0000:10:00.1-fc-0x50014380025ae47d:0x0007000000000000-part1'
    The name is not changed and the raw partition is not created
    Could you help
    Please
    Raitsarevo

    raitsarevo wrote:
    I want to create MAp raw device for block device to use for installing OCR and Voting disk. Why not define it as a raw devices (despite raw devices being deprecated in the current Linux kernel, it is still available for backwards compatibility)? Quite easy to configure.
    Do the install and then when done, rename the disks from block devices back to character devices - there's a Metalink note that covers how to do that. Sorry - not in the office and do not have the Metalink note at hand. However, have used this approach successfully with 3 RAC installation (RHEL4 and RHEL5) in recent months.

  • Checking disk with sccli and asm

    Hi all,
    I'm a newbie with sccli. I'be been checking what disks, logical volume, physcial volume, lun, partition in the sccli have been used for the asm and what is disk is still available in the OS level.
    Will you please advice on the command and steps to check this.
    and any document links.
    thanks
    andrew

    [oracle@localhost init.d]$ oracleasm listdisks
    VOL1
    VOL2
    [oracle@localhost init.d]$
    Well for this you can use oracleasm querydisk.Using this you can identify which device as marked for asm or not. for example you can see this below example.
    [oracle@localhost init.d]$ sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Jun 3 11:52:12 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> select path from v$asm_disk;
    PATH
    /dev/oracleasm/disks/VOL2
    /dev/oracleasm/disks/VOL1
    SQL> exit;
    [oracle@localhost init.d]$ su
    Password:
    [root@localhost init.d]# /sbin/fdisk -l
    Disk /dev/sda: 80.0 GB, 80000000000 bytes
    255 heads, 63 sectors/track, 9726 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1        1305    10482381   83  Linux
    /dev/sda2            1306        9401    65031120   83  Linux
    /dev/sda3            9402        9662     2096482+  82  Linux swap / Solaris
    /dev/sda4            9663        9726      514080    5  Extended
    /dev/sda5            9663        9726      514048+  83  Linux
    Disk /dev/sdb: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1               1        4859    39029886   83  Linux
    /dev/sdb2            4860        9729    39118275   83  Linux
    [root@localhost init.d]# ./oracleasm querydisk /dev/sdb1
    Device "/dev/sdb1" is marked an ASM disk with the label "VOL1"
    [root@localhost init.d]# ./oracleasm querydisk /dev/sdb2
    Device "/dev/sdb2" is marked an ASM disk with the label "VOL2"
    [root@localhost init.d]# ./oracleasm querydisk /dev/sda1
    Device "/dev/sda1" is not marked as an ASM disk
    [root@localhost init.d]#
    Also in windows :
    C:\Documents and Settings\comp>asmtool -list
    NTFS                             \Device\Harddisk0\Partition1           140655M
    ORCLDISKDATA1                    \Device\Harddisk0\Partition2             4102M
    ORCLDISKDATA2                    \Device\Harddisk0\Partition3             4102M
    NTFS                             \Device\Harddisk0\Partition4           152617M
    C:\Documents and Settings\comp>
    answered by Chinarsource:-how to identify which rawdevice Disk Is named as VOL1 IN ASM from os level
    how to identify which rawdevice Disk Is named as VOL1 IN ASM from os level

  • Multiplex on Windows raw partition layout

    Good day,
    I'm looking for some tips or pointers regarding a new 2 node multiplex configuration con  MS Windows 2008 R2 and IQ 16 SP03:
    1) Is it mandatory  to use RAW partitions for IQ shared stores IQ_SYSTEM_MAIN, IQ_SHARED_TEMP, IQ_MAIN (user dbspaces). This means we should specify partitions on Windows in this way :
    \\\\.\\PhysicalDrive1
    \\\\.\\PhysicalDrive2
    \\\\.\\PhysicalDrive3
    Created with Disk administrator
    or we can use regular NTFS filles ? ( my understanding is no)
    If any can supply an example with the steps it'll be great
    Thank you
    Regards
    Jose-Miguel

    RAW in 2000 will not give you any real increase in speed. Most tests show it to be the same speed. So I would just use a nice cooked file system for NT. If you do not like NTFS their are others.

  • Adding datafile on RAW partition

    hi masters,
    facing a problem regarding adding datafile to a raw partition. we are using Linux and oracle 10 g R2.
    whenever we create a raw partition a datafile(.dbf) is created with the partition.
    now we want oracle to use that datafile as an online datafile.
    we cant delete that file as one monitoring file is created with every raw partition and datafile.
    is there any command in oracle that will instruct oracle to use that created datafile and make it online???
    what is the standard procedure in this kind of scenario??
    we also have created symbolic link for all datafiles.
    any suggestions???
    thanks and regards
    VD

    Hi Vikrant,
    Assuming you have done something like this to create the sym link
    ln -s /dev/raw/disk1 /oracle/links/datafile01.dbf
    then
    alter tablespace xxxx add datafile '/oracle/links/datafile01.dbf' size xxxM;
    should work fine.
    I've not got access to any raw devices to check this though....
    Have you got another system with some free devices where you can create a new tablespace and add a file to it to check? Are the other files for the tablespace using sym links also?
    Regards,
    Harry

  • RAW Partition setup issue:::HELP PLS

    HI
    Setup raw partition in following way
    crw-rw-rw- 1 oracle sysdba 162, 1 Mar 20 2002 raw1
    raw /dev/raw/raw1 /dev/rd/c0d1p3
    /dev/raw/raw1: bound to major 48, minor 11
    Now while trying to create datafile i hit the error
    Then i wanted to check in OS level so
    dd if=example.lst of=/dev/raw/raw1
    No such device or address
    0+1 records in
    0+0 records out
    All the notes and documents have been referred but nothing seem to be working.... can someone guide pls (Is it a bug with AS 2.1??)
    Thanks

    What is the data type in DB2 and Oracle for 'columnB'?

  • Working with RAW files in PSE9:  Doable or better to use PSE12?

    I have PSE 9 and will soon get a camera with RAW capability.  I notice that Adobe no longer supports PSE 9.  Am I in for trouble if I don't upgrade to PSE 12 since I don't know how to work with RAW files?  It sounds as if I will need something to convert RAW files?  Where do I get it?  Is it a big deal for a beginner with no software skills?

    You can download a free DNG Converter from Adobe and then convert your RAWs to DNGs which can be used in PSE9.
    You don't need PSE12, but if you want to purchase PSE 12, you get the most current features in the Raw processor (which in my opinion is a huge improvement over what is available in PSE9), and you don't need the extra step of converting to DNG.

  • Doubt with creation of Model in the application Webdynpro Java

    Good Morning,
    I have the following doubts with the fields when i am creating a models in WebDynpro Java
    Model Package
    Source Fólder
    Default logical system name for model instances
    Default logical system name for RFC metadata
    Logical Dictionary
    Dictionary Type Package.
    Can Help me?
    Kind Regards

    Hi,
        Please check this link:
    [https://wiki.sdn.sap.com/wiki/display/WDJava/FAQ%20-%20Models%20-%20Adaptive%20Web%20Service]
    Thanks and Regards

  • Livecache recovery from cold backup  with raw devspaces

    We are recovering the Livecache database from code backup to  a database with raw devspaces. We gave the following raw parameters to DATA and LOG devspaces:
    DATA Devspace: /dev/vx/rdsk/azdevdg/lvlzddisk1
    LOG Devspace: /dev/vx/rdsk/azdevdg/lvlzddisk3
    We are getting the following errors during initialization:
    2005-04-29 09:13:14    68 ERR 11000 devio    read error (fd = 24): No such devic
    e or address
    2005-04-29 09:13:14    68 ERR    15 IOMan    Unknown Data volume 1: Could not re
    ad
    Any Ideas ?

    Hi,
    as for all liveCache issues, I'd have to ask you too to open an OSS message on queue BC-DB-LVC.
    A thing you could try:
    try to read using 'dd' from your devices. If 'dd' can't read from the devspaces, then you've got a misconfiguration somewhere, i.e. an operating system issue and not a liveCache issue. In that case, we (BC-DB-LVC) wouldn't be responsible for the error.
    The 'dd' command could look like:
    dd if=/dev/vx/rdsk/azdevdg/lvlzddisk1 of=<filename> <blocksize>
    Regards,
    Roland

  • I have a computer with a "partitioned" hard drive.  The "C" does not have enough space to backup and upgrade my iPhone 4.  How can I backup to my "E" drive instead of my "C"?

    I have a computer with a Partitioned hard drive... the "C" drive, where everything defaults, is almost full and will not allow me to back up and update my iphone 4... can you tell me how to back up to my "E" drive?

    Format the HDD in Disk Utility>Erase to Mac OS Extended (Journaled) and the open System Preferences>Time Machine and set up the external disk as the Time Machine HDD.  Then look at the Options, and exclude what you do not want backed up.
    Ciao.

  • Lion 10.7.4 on an external drive with 2 partitions

    I have an external drive with 2 partitions one of which is used for Time Machine Backups. The other is 300 gigs and I want to install lion on it for study but the installer will not let me do that. It might be because of the larger partition that I use for Time machine but I don't see why as it is a separate volume on the same drive. I keep getting the not able to install the recovery HD message. I also made sure to erase and reformat the drive (journaled extended). Any ideas why I can't do this?

    Hey Kap
    Tried to shrink the volume by 2 gigs but I get a partition failed error: This operation requires a newer version of Mac OS X for this disk. I am running 10.6.8 on my cpu and the partition is empty as I erased it. also it is extended (journaled). I don't understand this message. wierd.

Maybe you are looking for

  • Single-Sign-On (SSO) configuration on JAVA Stack through HTTP Header method

    Hello SDN community, in the context of a Proof of Concept, we are testing the integration of Microsoft Sharepoint Portal with SAP Backend (addin) systems. As the architecture impose use an external scenario (access from the internet), we couldn't use

  • Document Flags not showing on Web Excel

    We are using BW3.5 SEM4.0. Documents are added to cells in planning layouts. Documents flags are showing up on web and BEx reports. They are also showing up on non-Excel web planning layouts, and Excel Gui layouts. The flags are, however, not showing

  • DW New Feature Request

    Hi all. I'm not sure if this is the right place to post this so please point me onwards if it is not. I'd like the next version of DW to allow "Put" and "Check In"  to be options when you right-click the tab for the file you are currently working on.

  • Photoshop Elements 11 Making a custom Photo Collage..

    after i insert Photos onto background and make smaller, i am losing my picture quality so when I go to print the entire collage in 8 X 10 my pictures are blurry and pixelated...What am i doing wrong?????

  • Auto eMailer - USB - Where/Who/What

    I'm a web developer, but admit that I'm having troubles thinking/finding the best way to achieve a project that was requested by an advertisement firm. Any ideas? Request: This ad agency wants to give out USB Drives with a file or executable (or simi