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

Similar Messages

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

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

  • Lightroom Controls Added to Camera Raw?

    I noticed this in the information provided for Camera Raw 4.5:
    "However, at this time Camera Raw 4.5 is unable to support further adjustments to the following settings or tools:
    Clone/Heal Opacity
    Post Crop Vignette
    Graduated Filter Adjustment
    Local Adjustment Brush"
    Will these Lightroom settings and tools eventually (soon, I hope) be added to Camera Raw? Or will those who want the full Lightroom-style tools need to migrate to Lightroom?

    > ... what was hilarious to me is your telling TK and his team in public, in effect, that a huge chunk of their efforts was in effect wasted because all you need is Photoshop Elements. That's why I laughed.
    Keep laughing -- I'm confident the Adobe team got my point while you obviously did not ... which was:
    > I imagine that might not be true depending on what the image requires. (post#20)
    ... which implies that a full version, or the current version of ACR is not always required.
    Regarding:
    > In other words, Michael, the better the image, the more refined and subtle you want the adjustments and manipulation to be. The more tools you have, the better you can achieve this.
    True enough, but your previous statement:
    > In the case of a klutz who comes back with poor images all the time, why bother with anything over PsElements?
    would imply
    it's the software that makes the photographer
    , and we all know that simply isn't true.
    my CA$0.02 :)

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

  • 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

  • Why RAW partitions are visible only on one node in RAC?

    I am having 2 node RAC on Windows 2003 Server.
    Can anybody tell me why the RAW partitions are visible on RAC-2 but not on RAC-1.
    I Shutted down RAC-2, and I thought all the RAW devices will appear in RAC-1, but it didn't work, it is displaying only LOCAL DRIVE.
    Why???

    I am using Microsoft Virtual Server and I have configured SCSI type shared disks.
    I executed the given command
    C:\oracle\product\10.2.0\crs\bin>cluvfy comp ssa -n rac-1,rac-2
    Result : Shared storage check was successful on both the nodes..
    Both the nodes are working properly but I want to know the reason 'why the shared disks are not visible on node1'?
    Thanks
    Sushil

  • 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

  • Create new DataFile in another partition??

    Hi,
    I used database oracle10g, and I set (oradata) in partition (C) and i want to load large data on database but i haven't enough space in this partition .
    Can I create new DataFile in another partition like partition (D) ???
    And if yes, will it effect in the Performance the Database ???
    Thank For Replay

    user12254348 wrote:
    Hi,
    I used database oracle10g, and I set (oradata) in partition (C) and i want to load large data on database but i haven't enough space in this partition .
    Can I create new DataFile in another partition like partition (D) ???
    And if yes, will it effect in the Performance the Database ???
    Thank For ReplayDepends on a lot of things:
    1- D and C are physically separated disks OR there are part of the same physical disk but logically separated ?
    2- Where are located your system datafiles, controlfile, logfile, indexes?
    3- Are you using ASM?
    It depends a lot of your storage and database design.
    I suggest you test and compare the performance using AWR reports and view Oracle statistics via the Windows Performance Monitor (perfmon)..

  • When will Nikon D5500 be added to Camera Raw or Lightroom

    When will Nikon D5500 be added to Camera Raw or Lightroom

    The camera raw updater is only for updating the plug-ins that Photoshop uses.  If you want to work with your D5500 in Lightroom you need to download and install the DNG Converter 8.8, and create DNGs from your NEFs, one folder at a time, and then those DNGs will open in the older LR version.
    For LR to open the D5500 NEFs, directly, it would need to be LR 5.8 or LR 6.0 and we don’t have either of those, and I expect we’re not going to get LR 5.8, because that would delay LR 6.  My thinking is that ACR 8.8 and the DNGC 8.8 were stop-gap updates to give people a path forward for new cameras while everyone waits for LR 6 and ACR 9.

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

  • Script for adding datafile to tablespace

    Hi
    Does anyone have a template alter tablespace add datafile script handy?
    Basically, we need to, in the event of a tablespace alert, do two things:
    query that tablespace to see how much space is remaining.
    ascertain the size of the datafiles added to that tablespace already (to clarify what size we should make the additional datafile)
    finally, the command itself for adding the extra datafile.
    Thanks.
    10.0.2.0

    SELECT Total.tablespace_name "TSPACE_NAME",
    round(nvl(TOTAL_SPACE,0),2) Tot_space,
    round(nvl(USED_Space,0),2) Used_space,
    round(nvl(TOTAL_SPACE - USED_Space,0),2) Free_space,
    round(nvl(round(nvl((TOTAL_SPACE - USED_Space)*100,0),2)/(Total_space),0),2) "USED%"
    FROM
    (select tablespace_name, sum(bytes/1024/1024) TOTAL_SPACE
    from sys.dba_data_files
    group by tablespace_name
    ) Total,
    (select tablespace_name, sum(bytes/1024/1024) USED_Space
    from sys.dba_segments
    group by tablespace_name
    ) USED
    WHERE Total.Tablespace_name(+) = USED.tablespace_name and
    round(nvl(round(nvl((TOTAL_SPACE - USED_Space)*100,0),2)/(Total_space),0),2)< 20;
    the above query will display tablespaces which are having freespace below 20%
    select file_name,autoextensible,sum(bytes)/1024/1024,sum(maxbytes)/1024/1024
    from dba_data_files
    where tablespace_name='TBS_NAME'
    group by file_name,autoextensible;
    the above query will give details of datafiles like autoextensible or not etc.
    SELECT SUBSTR (df.NAME, 1, 40) file_name,dfs.tablespace_name, df.bytes / 1024 / 1024 allocated_mb,
    ((df.bytes / 1024 / 1024) - NVL (SUM (dfs.bytes) / 1024 / 1024, 0))
    used_mb,
    NVL (SUM (dfs.bytes) / 1024 / 1024, 0) free_space_mb
    FROM v$datafile df, dba_free_space dfs
    WHERE df.file# = dfs.file_id(+)
    GROUP BY dfs.file_id, df.NAME, df.file#, df.bytes,dfs.tablespace_name
    ORDER BY file_name;
    the above query will show how much freespace is left in each datafile.

Maybe you are looking for

  • Remote for advancing slides in Keynote

    I'm posting this as a suggestion for Apple. I use a remote to advance slides for presentations. I would really like to be able to do that with the iPad. Bluetooth would be just fine. None of my Bluetooth mice will pair with the iPad so that won't wor

  • Apple Mobile Device service is not started error 1067

    Apple Mobile Device service is not started error 1067 in Windows 7.

  • Picture on Apple TV too big for screen

    I'm a new user of Apple TV.  Can get picture but no sound.  I'm trying to turn off the Dolby Digital but the writing goes off the screen so I can't tell when it is off.  Any ideas?

  • Help needed to open up my FTP

    I've done it all: forwarded port 21 to my Mac and in Sharing enabled FTP Access. So how do I access my documents from the Internet?

  • Re: BT Broadband Desktop Help problem

    I am new to this FORUM and as yet have not been able to find how to open a THREAD so I have taken this facility to post my query or should it be queries. According to the BT.Com website the Broadband Desktop Help program functions with XP, Vista and