Adding datafile to ASM file system tablespace

Hi
Can some one plz help in writing a script to add a datafile to the system tablespace on ASM filesystems.
below is the result of the query ..
select file_name, bytes, autoextensible, maxbytes from dba_data_files where tablespace_name='SYSTEM';
FILE_NAME BYTES AUT MAXBYTES
+DATA1/cir_p/datafile/system.260.6037360 5892997120 NO 0
Thanks

790072 wrote:
Hi
Can some one plz help in writing a script to add a datafile to the system tablespace on ASM filesystems.
below is the result of the query ..
select file_name, bytes, autoextensible, maxbytes from dba_data_files where tablespace_name='SYSTEM';
FILE_NAME BYTES AUT MAXBYTES
+DATA1/cir_p/datafile/system.260.6037360 5892997120 NO 0
Thanks
You can use
ALTER TABLESPACE "SYSTEM" ADD DATAFILE '+DATA1' SIZE 1024M
Cheers

Similar Messages

  • Moving spfile from non-asm to asm file system

    Hi All
    We are migrating non-asm file system to asm file system, we are held up in moving the spfile from non-asm file system to asm file system ...
    we tried the below method
    Recreate SPFILE on ASM diskgroup
    SQL> create pfile='c:\initTEST.ora' from spfile;
    File created.
    SQL> create spfile='+DGRP2/spfileTEST.ora' from pfile='c:\initTEST.ora';
    File created.
    after this we started both the running instance and asm instance
    but after starting the instance TEST we saw the instance still using spfile of non-asm file system
    what is the correct way of moving the spfile from non-asm to asm file system..
    Regards
    Hariharan.T

    You need to perform this first:
    First rename the $ORACLE_HOME/dbs/spfileTEST.ora to spfileTEST.ora_old
    create initTEST.ora in dbs location with below contents:
    Also i recommend you to recreate the spfile in ASM as it might not be in good shape.
    When ever you start the oracle instance there is a specific order to find the oracle pfile/spfile
    1. O_H/dbs/spfile<SID>.ora
    2. O_H/dbs/init<SID>.ora
    3. O_H/dbs/spfile.ora
    4. O_H/dbs/init.ora
    in your case instance always finds spfileTEST.ora in dbs location (non -ASM) and will stop looking further. If you remove it our of the way it will find initTEST.ora which will redirect to spfile present in ASM.
    NOTE: As per your earlier update you created spfile in ASM after puttin spfile='+DG...' in the initTEST.ora..
    If you start the instance with this SPFILE you will be getting "maxmimum cursors limit exceeded" error.
    -Ravi.M

  • DB_UNIQUE_NAME vs DB_NAME in standby databases of ASM file systems

    Question : Do we need to have the db_unique_name paramter set differently in standby database compared to db_name in standby .
    Problem we are facing :
    Here is the little background
    Primary Server     : SERVER1
    db_name          : VENKAT
    db_unique_name     : VENKAT
    Standby server     : SERVER2
    db_name          : VENKAT
    db_unique_name     : VENKAT_stb
    Sever          : Linux
    Database Version: 11.20.3
    File system type: ASM ( 11.2.0.3)
    stanby type     : Physical
    Disk group names: Identical on both primary and standby servers
    Data          : +DATA_OP01027_128
    FRA          : +FRA_VENKAT_128
    How datafiles are layed out on primary server:
    sample datafile name location : +DATA_VENKAT_128/VENKAT/datafile/venkat.277.789579565
    How standby was build : using Active duplicte command
    Once we have the standby database build we have the datafiles created under this location
    Sample datafile name location on standby server : +DATA_VENKAT_128/VENKAT_stb/datafile/venkat.280.789579597
    with this we have learnt that the directory VENKAT_stb is getting created in standby ASM off the db_unique_name that
    was given in the database , we have not seen this issue in the normal file system even we are using db_unique_name different that
    the db_name in standby database .
    Can you please help us how we can prevent this situation of having datafiles getting created under differnt direction in standby compared to prod.
    Can you also let us know what impacts we might be having if we don't specify the db_unique_name different than db_name in standby database.
    Hope this explains the problem what we are facing currently .
    What steps i follwed to fix this issues :
    I have db_unique_name set to the same name as db_name and when i did the restore all datafiles are in the identical location to prod standby server .
    Note : We do fully understand the need for having the db_unique_name set different to db_name in standby db in standby and primary db's are residing on the same physical server .
    Thanks
    Venkat

    first of all, this is not an issue or problem
    works as intended
    Question : Do we need to have the db_unique_name paramter set differently in standby database compared to db_name in standby .yes
    Sample datafile name location on standby server : +DATA_VENKAT_128/VENKAT_stb/datafile/venkat.280.789579597
    with this we have learnt that the directory VENKAT_stb is getting created in standby ASM off the db_unique_name that
    was given in the database , we have not seen this issue in the normal file system even we are using db_unique_name different that
    the db_name in standby database .
    Can you please help us how we can prevent this situation of having datafiles getting created under differnt direction in standby compared to prod.well, dont use OMF then
    OMF format for datafiles in ASM is: +DISKGROUP/DB_UNIQUE_NAME/DATAFILE/TABLESPACE_NAME.FILE.INCARNATION
    datafiles will be created this way no matter what you do
    the difference is, that if you dont use OMF, there will be an alias created referencing the file, with the path you gave
    for example:
    OMF:
    create tablespace test size 10M;
    a datafile is created: +DATA_VENKAT_128/VENKAT/DATAFILE/test.280.789581212 (i wrote some random numbers here)
    non-OMF:
    create tablespace test datafile '+DATA_VENKAT_128/dummy/test01.dbf' size 10M;
    what actually happens:
    a datafile is created: +DATA_VENKAT_128/VENKAT/DATAFILE/test.280.789581212 (i wrote some random numbers here)
    and an ASM alias is created: +DATA_VENKAT_128/dummy/test01.dbf
    and this alias is used by the database
    while OMF files have their specified path format, and their path (db_unique_name) and even name (numbers at the end) will change when duplicated, aliases dont necessarily do this
    however this is just extra work and administration, OMF is your friend

  • How to converrt files on RAW devices in ASM to non ASM file system.

    Hi all,
    I have on  problem .
    Is that possible to migrate ASM  raw files system to non ASM file .
    If possible plzz describe them.
    If not also please tell y not?
    Thanks in addvance
    Regards
    Krishna

    Hi,
    I totally agree with Mahir. And I just want to share one thing:
    Use %U to generate guaranteed unique names :
    For backupsets, %U means: %u_%p_%c
    For an image copy of a datafile, %U means: data-D-%d_id-%I_TS-%N_FNO-%f_%u
    For an image copy of an archived redolog, %U means: arch-D_%d-id-%I_S-%e_T-%h_A-%a_%u
    For an image copy of a control file, %U means: cf-D_%d-id-%I_%u
    Thank you

  • Local file system for archive destination in RAC with ASM

    hi Gurus .
    I need an info.
    I have ASM file system in 2 node RAC.
    The client does not want to use flash recovery area.
    Can we use the archive destination as local file system rather than ASM.
    like /xyzlog1 for archvies coming from node 1 and /xyzlog2 for archive logs coming from node 2.
    Imortant thing is these two destinations are anot shared with each nodes.
    OS is solaris sparc 10.
    version is 10.2.0.2

    There is huge space in the storage.
    Pls tell me in general ho wdo you do this.
    Do we take and one disk from the storage and format it with local file system and share it among the 2 nodes?
    If so then that mount point will have same mount point name if we see it from other node... ..ryt
    In this scenario if one instance is down then from the same shared mount point which is on the same node(down) can apply archves?Here, Earlier you are using any ASM shared location for ARCHIVES ?
    if so you can add a CANDIDATE disk to your existing ARHCIVE disk group(shared).
    if not from LUN's after format, I.e. candidates based on that you can create a new DISK group(shared) according to your space requirements. THen you can assign to log_archive_dest_1 for both the nodes to single shared location(disk group)

  • ASM or Regular File System?

    I have read few threads regarding ASM/non-ASM file system. I am thinking ASM is easy to maintain when configured, but hard to maintain when move of database to non-ASM etc. can you suggest?
    Thanks.

    I dont think so.. The question of chosing ASM or not dosn't depend how hard or easy it is, the main thing to know id what is the actual requirement. If you use ASM then it means its raw devices managed by oracle and definitely in order to deal with the ASM files you have to through oracle interface (RMAN) and that disks cannot be seen from OS.
    There are plenty of docs available online to move database from ASM to non-ASM and vice versa, if you are good in RMAN then it shouldn't be a problem plus how many time are you gonna move your database?
    Daljit Singh

  • Moving datafile to ASM

    Hello,
    By mistake I created one data file in the local file system instead of ASM diskgroup. Initially I created the data file with 100MB, autoextensible to 100M,maxsize 2G, but then I stopped autoexntensible, so that less data file size would be better to move to ASM.
    My concern is that now I am thinking if the datafile is full then I will move it to ASM diskgroup (script to move to ASM is already ready). I want to be sure if the data file is full, so that I move it peacefully to ASM, because otherwise datafile is not accessible if it is currently being written and moving to ASM. I dont want that stop of data written to data file, or the data file is full already and there is no risk that data fill be written to it or it will be inaccessible.
    Please have a look and suggest how can I check that the data file is full actually and safe to move to ASM.
    DB=11.2.0.2 EE, OS=RHL
    SQL> select file_id,tablespace_name,bytes/1024/1024 "Bytes in MB",status,autoextensible,maxbytes/1024/1024 "Maxbytes in MB",user_bytes/1024/1024 from dba_data_files where file_id=62;
       FILE_ID TABLESPACE_NAME            Bytes in MB STATUS                       AUTOEXTENSIB Maxbytes in MB USER_BYTES/1024/1024
         62   KKJ                      300 AVAILABLE                   NO                    0               299Thank you.
    Regards,

    How to move a datafile from a file system to ASM [ID 390274.1]
    >
    In order to move a datafile on a running active database the tablespace where the datafile resides must be placed offline.
    >
    SQL> create tablespace test01
      2  datafile 'c:\test01.dbf' size 2g;
    Tablespace created.
    SQL>
    select file#, name from v$ddatafile
    36      C:\TEST01.DBF
    rman target /
    sql "ALTER DATABASE DATAFILE 36 OFFLINE";
    backup as copy datafile 36 format '+DATA';
    switch datafile 36 to copy;
    recover datafile 36;
    sql "alter database datafile 36 ONLINE";
    exit;
    -- fails with datafile as media recovery needs to be enabled
    RMAN> sql "ALTER DATABASE DATAFILE 36 OFFLINE";
    using target database control file instead of recovery catalog
    sql statement: ALTER DATABASE DATAFILE 36 OFFLINE
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of sql command on default channel at 05/10/2012 12:18:46
    RMAN-11003: failure during parse/execution of SQL statement: ALTER DATABASE DATAFILE 36 OF
    ORA-01145: offline immediate disallowed unless media recovery enabled-- try again with tablespace, ran in seconds. but thats not the point. tablespace needed to be offline
    RMAN> sql "ALTER TABLESPACE TEST01 OFFLINE";
    using target database control file instead of recovery catalog
    sql statement: ALTER TABLESPACE TEST01 OFFLINE
    RMAN> backup as copy datafile 36 format '+DATA';
    Starting backup at 10-MAY-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=82 instance=dprd1 device type=DISK
    channel ORA_DISK_1: starting datafile copy
    input datafile file number=00036 name=C:\TEST01.DBF
    output file name=+DATA/dprd/datafile/test01.331.782914827 tag=TAG20120510T122026 RECID=1 S
    channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:26
    Finished backup at 10-MAY-12
    Starting Control File and SPFILE Autobackup at 10-MAY-12
    piece handle=+FLASH/dprd/autobackup/2012_05_10/s_782914852.270.782914853 comment=NONE
    Finished Control File and SPFILE Autobackup at 10-MAY-12
    RMAN> switch datafile 36 to copy;
    datafile 36 switched to datafile copy "+DATA/dprd/datafile/test01.331.782914827"
    RMAN> recover datafile 36;
    Starting recover at 10-MAY-12
    using channel ORA_DISK_1
    starting media recovery
    media recovery complete, elapsed time: 00:00:00
    Finished recover at 10-MAY-12
    RMAN> sql "ALTER TABLESPACE TEST01 ONLINE";
    sql statement: ALTER TABLESPACE TEST01 ONLINE
    RMAN>

  • Block Corruption in SYSTEM Tablespace

    Hi,
    well it´s just a test database without a backup, but i would like to repair it anyway :-)
    Here are the facts:
    Errors in file c:\oracle\admin\o10g\bdump\o10g_smon_1404.trc:
    ORA-01578: ORACLE data block corrupted (file # 1, block # 50187)
    ORA-01110: data file 1: 'C:\ORACLE\ORADATA\O10G\SYSTEM01.DBF'
    1. I found the object: It´s a Cluster named SYS.C_TOID_VERSION#
    containing a lot of table stuff (type$,parameter$, ...)
    i tried to repair it with dbms_repair:
    BEGIN SYS.DBMS_REPAIR.SKIP_CORRUPT_BLOCKS (
    SCHEMA_NAME => 'SYS',
    OBJECT_NAME => 'C_TOID_VERSION#',
    OBJECT_TYPE => dbms_repair.cluster_object,
    FLAGS => dbms_repair.skip_flag);
    END;
    No error, but the same block corruption message in the alert.log 1 minute later.
    i can select the tables in the cluster.
    Has anyboby another trick to repair a cluster?
    Thanks
    Marco

    Hi,
    if you have rman backup then this problem become resolved by only one command.
    BLOCKRECOVER DATAFILE 1 BLOCK 3 DATAFILE 50187;
    otherwise restore system tablespace from backup and recover it.
    and one more thing
    **Don't fix the block in system tablespace it may create problem if that block contain some useful information of oracle(internal information).
    Thanks
    Kuljeet Pal Singh

  • System tablespace Vs User Tablespace

    I'm running oracle 8i at Win2000 Server.
    I have a database which have two SYSTEM tablepspaces and One User tablespace. Both SYSTEM Tablepspaces are near to FULL. Right now , The database performance is very poor. I can't understand why my SYSTEM tablespaces are growing fastly instead of User Tablepspace.

    You cannot have multiple SYSTEM tablespaces... Do you mean that you have multiple datafiles associated with your SYSTEM tablespace?
    Unless you assign users a default tablespace, objects that they create without specifying a tablespace will be placed in the SYSTEM tablespace, which is a bad thing. You probably have user objects in your SYSTEM tablespace.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • RMAN duplicate target database for standby from active fails to create newname for system tablespace/datafile

    When executing 'duplicate target database for standby from active'  the system tablespace/datafile (datafile 1)  is not cloned.  All other datafiles clone successfully.  The RMAN process aborts with the following errors while attempting to clone the system tablespace/datafile.
    ORA-19558: error de-allocating device
    ORA-19557: device error, device type: DISK, device name:
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-03135: connection lost contact
    Here are the details:
    Primary is 11.2.0.2 RAC database  on an Exadata platform
    Standby is 11.2.0.2 Single Instance database (same patch level as primary) on a Red Hat Linux box
    This is an ASM to ASM duplication.
    This is not unique to this database.  We tried another database and go the same behavior - all datafiles clone successfully with the exception of the system tablespace/datafile.
    We have traced the RMAN execution and it seems to fail when it is trying to assign a NEWNAME to the system tablespace/datafile.
    We even issued an explicit SET NEWNAME command but RMAN ignored it.
    We also shutdown the primary and started is up in mount mode thinking that something had ahold of the System Tablespace/datafile.
    We also opened up the network firewall to allow permit any,any traffic.
    We increased the max_server_processes
    and added TCP.NODELAY=yes to the sqlnet.ora file.
    There seems to be some artifact present in our Primary System tablespace/data file that is preventing it form being cloned.
    checked all alert files grid, asm,  and dbhome - no abnormal messages.
    We are in the process of restoring the database from a backup but we would prefer to get this working using the 'Active Database' methodology

    I successfully created the standby database using RMAN backup and recovery.
    I started the managed recovery.  Archive logs are being sent from the primary to the standby ( I can see them in ASM), but the standby is not applying them.
    I get the following messages in the standby alert log...
    Fetching gap sequence in thread 2, gap sequence 154158-154257
    Tue Nov 26 16:19:58 2013
    Using STANDBY_ARCHIVE_DEST parameter default value as USE_DB_RECOVERY_FILE_DEST
    Using STANDBY_ARCHIVE_DEST parameter default value as USE_DB_RECOVERY_FILE_DEST
    Tue Nov 26 16:20:01 2013
    Fetching gap sequence in thread 2, gap sequence 154158-154257
    Tue Nov 26 16:20:11 2013
    Fetching gap sequence in thread 2, gap sequence 154158-154257
    Tue Nov 26 16:20:22 2013
    Fetching gap sequence in thread 2, gap sequence 154158-154257
    Tue Nov 26 16:20:32 2013
    Fetching gap sequence in thread 2, gap sequence 154158-154257
    I don't see any MRP processes:
    select process,
    status,
        thread#,
        sequence#,
       block#,
      blocks
      7     from v$managed_standby;
    PROCESS   STATUS          THREAD#  SEQUENCE#     BLOCK#     BLOCKS
    ARCH      CLOSING               2     154363          1        132
    ARCH      CONNECTED             0          0          0          0
    ARCH      CONNECTED             0          0          0          0
    ARCH      CONNECTED             0          0          0          0
    ARCH      CONNECTED             0          0          0          0
    ARCH      CONNECTED             0          0          0          0
    ARCH      CONNECTED             0          0          0          0
    ARCH      CONNECTED             0          0          0          0
    RFS       IDLE                  0          0          0          0
    RFS       IDLE                  1     145418        121          1
    RFS       IDLE                  0          0          0          0
    PROCESS   STATUS          THREAD#  SEQUENCE#     BLOCK#     BLOCKS
    RFS       IDLE                  0          0          0          0
    12 rows selected.
    SQL>  SELECT THREAD#, SEQUENCE#, APPLIED FROM V$ARCHIVED_LOG;
       THREAD#  SEQUENCE# APPLIED
             2     154356 NO
             2     154357 NO
             1     145411 NO
             2     154358 NO
             2     154360 NO
             2     154361 NO
             1     145414 NO
             1     145415 NO
             2     154362 NO
             2     154363 NO
             1     145416 NO
    11 rows selected.
    I do have the archive logs that cover sequences 154158-154257
    Crosschecked 38 objects
    Crosschecked 62 objects
    Finished implicit crosscheck backup at 26-NOV-13
    Starting implicit crosscheck copy at 26-NOV-13
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    Crosschecked 2 objects
    archived log file name=+RECO_XORA/nmuasb00/archivelog/2013_11_26/thread_2_seq_154377.344.832521989 RECID=29 STAMP=832521990
    validation succeeded for archived log
    archived log file name=+RECO_XORA/nmuasb00/archivelog/2013_11_26/thread_2_seq_154378.346.832521991 RECID=31 STAMP=832521993
    Crosschecked 31 objects

  • Unix shell: Environment variable works for file system but not for ASM path

    We would like to switch from file system to ASM for data files of Oracle tablespaces. For the path of the data files, we have so far used environment variables, e.g.,
    CREATE TABLESPACE BMA DATAFILE '${ORACLE_DB_DATA}/bma.dbf' SIZE 2M AUTOEXTEND ON;
    This works just fine (from shell scripts, PL/SQL packages, etc.) if ORACLE_DB_DATA denotes a file system path, such as "/home/oracle", but doesn’t work if the environment variable denotes an ASM path like "\+DATA/rac/datafile". I assume that it has something to do with "+" being a special character in the shell. However, escaping "\+" didn’t work. I tried with both bash and ksh.
    Oracle managed files (e.g., set DB_CREATE_FILE_DEST to +DATA/rac/datafile) would be an option. However, this would require changing quite a few scripts and programs. Therefore, I am looking for a solution with the environment variable. Any suggestions?
    The example below is on a RAC Attack system (http://en.wikibooks.org/wiki/RAC_Attack_-OracleCluster_Database_at_Home). I get the same issues on Solaris/AIX/HP-UX on 11.2.0.3 also.
    Thanks,
    Martin
    ==== WORKS JUST FINE WITH ORACLE_DB_DATA DENOTING FILE SYSTEM PATH ====
    collabn1:/home/oracle[RAC1]$ export ORACLE_DB_DATA=/home/oracle
    collabn1:/home/oracle[RAC1]$ sqlplus "/ as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Aug 24 20:57:09 2012
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    SQL> CREATE TABLESPACE BMA DATAFILE '${ORACLE_DB_DATA}/bma.dbf' SIZE 2M AUTOEXTEND ON;
    Tablespace created.
    SQL> !ls -l ${ORACLE_DB_DATA}/bma.dbf
    -rw-r----- 1 oracle asmadmin 2105344 Aug 24 20:57 /home/oracle/bma.dbf
    SQL> drop tablespace bma including contents and datafiles;
    ==== DOESN’T WORK WITH ORACLE_DB_DATA DENOTING ASM PATH ====
    collabn1:/home/oracle[RAC1]$ export ORACLE_DB_DATA="+DATA/rac/datafile"
    collabn1:/home/oracle[RAC1]$ sqlplus "/ as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Aug 24 21:08:47 2012
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    SQL> CREATE TABLESPACE BMA DATAFILE '${ORACLE_DB_DATA}/bma.dbf' SIZE 2M AUTOEXTEND ON;
    CREATE TABLESPACE BMA DATAFILE '${ORACLE_DB_DATA}/bma.dbf' SIZE 2M AUTOEXTEND ON
    ERROR at line 1:
    ORA-01119: error in creating database file '${ORACLE_DB_DATA}/bma.dbf'
    ORA-27040: file create error, unable to create file
    Linux Error: 2: No such file or directory
    SQL> -- works if I substitute manually
    SQL> CREATE TABLESPACE BMA DATAFILE '+DATA/rac/datafile/bma.dbf' SIZE 2M AUTOEXTEND ON;
    Tablespace created.
    SQL> drop tablespace bma including contents and datafiles;

    My revised understanding is that it is not a shell issue with replacing +, but an Oracle problem. It appears that Oracle first checks whether the path starts with a "+" or not. If it does not (file system), it performs the normal environment variable resolution. If it does start with a "+" (ASM case), Oracle does not perform environment variable resolution. Escaping, such as "\+" instead of "+" doesn't work either.
    To be more specific regarding my use case: I need the substitution to work from SQL*Plus scripts started with @script, PL/SQL packages with execute immediate, and optionally entered interactively in SQL*Plus.
    Thanks,
    Martin

  • How to remove data file from System tablespace

    Hi All,
    I have wrongly added data file in SYSTEM tablespace, now I want remove it. I have tried to set datafile offline but it is giving me the error system tableapce can not set offline. so please help me. I am working Oracle 10g .
    thanks in advance
    sv

    In 10gR2, you can drop a datafile from tablespace, as long it's empty (and of course not the last one):
    ALTER TABLESPACE tbs_03 DROP DATAFILE 'tbs_f04.dbf';
    Otherwise, there's no direct way to get rid of the file. You can just shrink it and move (i.e. "rename") it another location. For a non-system tablespace, move of all segments to another tablespace (and later renaming it) would be an option, but this of course won't work with system tablespace.

  • ASM and file system combination

    Hi everyone -
    OK, this may sound a bit crazy, but it's the situation I'm facing and I really need your help and opinion before I do something stupid.
    I am using ASM on a SAN to manage my DATA tablespace (contains all the user data, including BLOBs). The ASM takes up all the disk space on the SAN except for what's left over from the disks allocated for the SAN OS. Basically, I have 941GB free space on the disks allocated the the SAN OS. Now, I need more space for my DATA tablespace, but can't afford to buy more disks at the moment (spent all my money on this SAN). I want to use the 941GB of unused disk space from the SAN OS disks for my DATA tablespace. But these disks are obviously not using ASM, and my current DATA tablespace is completely inside ASM.
    So the 6 million dollar question is . . . Can I add a "filesystem" datafile to an existing ASM tablespace? For example:
    Tablespace DATA is currently managed by ASM. Can I do
    SQL> alter tablespace DATA add datafile '/ora1/oradata/orcl/DATA_FS_01.DBF' size 1024M;
    So essentially I'll have part of the tablespace managed by ASM and another part residing on a traditional file system datafile.
    What do you think? Is this possible? Advisable? The worst thing I could do? Ok to do?
    Thanks in advance
    a

    OK, I see that in the documentation this time. I'll try that for tonights backup and let you know how it works. I'm a bit concerned still because it looks like it wrote fine to the +ASMDG2 location.  I would have thought the whole backup would fail but I guess it was able to read the first path...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • File system to ASM Migration

    Currently we have unix file system for storage. We are planning to move to ASM. Based on documentation RMAN and physical standby could be the best way to migrate.
    1. Is expdp/impdp an option?
    2. Given an ASM env. is RMAN the only backup solution?
    Thank you.

    1. Yep. Doing it like that also lets you reorganize your tablespaces if you so desire. -
    Let's say if I have 100 tablespaces.
    a. create new tablespaces with diskgroups
    b. Use impdp to import the data
    2. RMAN main method; but could do something re breaking a mirror of a LUN
    a. What do you mean by main method?
    b. Can I not have online backups like snap clone (and/or offline the tblspace and move the datafiles?)
    Appreciate your help.

  • System tablespace file suffered media failure

    Hi All,
    Our DB is shutdown due to this error:
    ===
    ORA-01243: system tablespace file suffered media failure
    ORA-01122: database file 1 failed verification check
    ORA-01110: data file 1: '/dumps/rmodevdb/db/apps_st/data/system01.dbf'
    ORA-01206: file is not part of this database - wrong database id
    CKPT: terminating instance due to error 1243
    Instance terminated by CKPT, pid = 8203
    ====
    Please let me know how to resolve this.
    Thanks,
    Kishore

    Yes Aman.. This happened after cloning in apps.
    However, issue got resolved.
    Data files were zipped using tar- cvzf ...
    I could successfully complete the cloning when backup is taken with "tar cvf" (with out including z)
    So, learnt that datafiles should not be zipped when tar.
    But datafiles can be zipped using gzip after " tar cvf " is completed.
    Am i right ?

Maybe you are looking for

  • Multiple Apple ID's One iMac

    My iMac is telling me the computer is already associated with an Apple ID, and since it is my husbands, I can not access my library even though I am logged into MY Apple ID on my User Login. It's telling me I can not access my iCloud purchases for 86

  • Can't get my ATV to see my desktop PC

    Can anyone give me some advice on how to set it up so I can stream my music from my desktop PC to my TV through apple tv.  When I look at the computers menu on ATV, there is nothing that shows up.  Home sharing is enabled on both my ATV and my deskto

  • Configuring IPSec in Solaris 9

    Hello Friends, I want to configure IPSec in solaris 9 so that a win2k/XP machine can communicate with that solaris m/c using IPSec. Could anybody help me regarding this. I have a basic idea of IPSec. I just want a step by step instructions for how to

  • Why isn't my screen turning sideways on the iPhone 4s.

    Why isn't my screen rotating horizontally? The portrait lock is not on and I have even turned it off and on. It still doesn't work. I have also turned my phone off and tried it. I know that the app supports it because it has since I have bought it. T

  • Install demo license ANM 2.0

    Hi all, After installation of ANM 2.0 and got a demo license I don't know how to install it. The path /opt/CSCOcbt/httpServer/webapps/ROOT/WEB-INF/classes/lic does not exist, and the install program /opt/CSCOanm/bin/anm-license gives error: Error: MA