ASM files not in database

Hi all,
we have oracle 11.2.0 2 node cluster database. there are 20 database files for that database. but when i checked in that location appears 23 datafiles. looks like 3 datafiles are not related to the database. result is like below. i think first 3 files are not updating any thing and which are not listed in the dba_data_files view. so i think i can remove this. please suggest.
Type Redund Striped Time Sys Block_Size Blocks Bytes Space Name
DATAFILE UNPROT COARSE NOV 04 15:00:00 Y 8192 4194303 34359730176 34360786944 xxxx
DATAFILE UNPROT COARSE NOV 04 15:00:00 Y 8192 4194303 34359730176 34360786944 xxxx
DATAFILE UNPROT COARSE NOV 04 15:00:00 Y 8192 4194303 34359730176 34360786944 xxxx
DATAFILE UNPROT COARSE JAN 30 02:00:00 Y 8192 4194303 34359730176 34360786944 xxxx
DATAFILE UNPROT COARSE JAN 30 02:00:00 Y 8192 4194303 34359730176 34360786944 xxxx
DATAFILE UNPROT COARSE JAN 30 02:00:00 Y 8192 4194177 34358697984 34360786944 xxxx
DATAFILE UNPROT COARSE JAN 30 02:00:00 Y 8192 4194303 34359730176 34360786944 xxxx
DATAFILE UNPROT COARSE JAN 30 02:00:00 Y 8192 4194303 34359730176 34360786944 xxxx
DATAFILE UNPROT COARSE JAN 30 02:00:00 Y 8192 4194303 34359730176 34360786944 xxxx
DATAFILE UNPROT COARSE JAN 30 02:00:00 Y 8192 4194303 34359730176 34360786944 xxxx
DATAFILE UNPROT COARSE JAN 30 02:00:00 Y 8192 4194303 34359730176 34360786944 xxxx
DATAFILE UNPROT COARSE JAN 30 03:00:00 Y 8192 4188161 34309414912 34327232512 xxxx
DATAFILE UNPROT COARSE JAN 30 03:00:00 Y 8192 3932161 32212262912 32246857728 xxxx

Hi, for rename your files, the sintaxe is : select 'ALTER DATABASE RENAME FILE '''||NAME||''' TO '''||REPLACE(NAME,'+ORA_DATA','+NEW_DATA')||'''; ' FROM v$datafile;
Read the article <http://oraganism.wordpress.com/2012/07/01/how-to-rename-asm-diskgroup-in-11-2/> .
Kind regards,
Bruno Reis.
www.brunors.com

Similar Messages

  • Copy ASM files to filesystem when DB not mounted?

    hi,
    as far as i know, ASM files can only be copied to the file system by using RMAN.
    my problem: i´ve got one data and one log partition (both ASM).
    disks of data partition crashed, log partition is ok. i need the archived logs from the last backup timestamp until now, but can not access them with rman because i cannot mount the database.
    any ideas how to solve this problem?
    thanks!

    Many ideas (if I would know the ASM version). Fortunately we don't have to start with Oracle version 6.
    10gR1 would be bad
    10gR2 read this, how to transfer ASM datafiles outside RMAN:
    http://www.oracle.com/technology/oramag/oracle/06-mar/o26asm.html
    11gR1 read about asmcmd:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b31107/asm_util.htm#BJEGEAAJ
    Werner

  • Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the rows? Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the records?
    Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    The Oracle documentation has a good overview of the options available
    Generating XML Data from the Database
    Without knowing your version, I just picked 11.2, so you made need to look for that chapter in the documentation for your version to find applicable information.
    You can also find some information in XML DB FAQ

  • File not found error after database migration

    Hi experts
    I recently decided to create a test environment for SharePoint 2010 production server but after
     attach the content database  using power shell successfully I get “ file not found “ error when I try to login the top site collection
    I think it’s because of customized master page in production site which I don’t know how to apply them to my new environment.I even tried to copy the master pages from cataloge throught  SPD but it didnt work.
    Any assistance would be greatly appreciated

    HI Shahin,please try to access the site by below and let me know the result.please check the below link that gives more idea on the issue
    _/_layouts/settings.aspx
    /_layouts/viewlsts.aspx
    /default.aspx
    http://expertsharepoint.blogspot.de/2014/01/sharepoint-default-page-not-loading-by.html
    Anil Avula[MCP,MCSE,MCSA,MCTS,MCITP,MCSM] See Me At: http://expertsharepoint.blogspot.de/

  • Error 26 when executing sql. File opened that is not a database file. My Easy System Cleaner will not work on Foxfire. What to do?

    I have the Easy System Cleaner. It worked through Internet Explorer. But when it comes to Mozilla Foxfire. It stops.
    The message is:
    error executing sql. Error 26. File opened that is not a database file "select[sql] from sqlite_master where [type]="table' and lower (name)='mos_cookies' " File is encrypted or is not a database.
    What should I do. And where do I look to solve this problem.
    I need to use my Easy System Cleaner...I paid for it!
    [email protected]

    How do I fix this error

  • BUG?? UTF-8 non-Latin database chars in IR csv export file not export right

    Hello,
    i have this issue: my database character set is UTF-8 (AL32UTF8) and contains data in a table used in IR that are Greek (non-Latin). While i can see them displayed correctly in IR and also via select / in Object Browser in SQL Workshop when i try to Download as csv the produced csv does not have the Greek characters exported correctly, while the Latin ones are ok.
    This problem is the same if i try IE or Firefox. Also the export in HTML works successfully and i see the Greek characters there correctly!
    Is there any issue with UTF-8 and non-Latin characters in export to csv from IRs ? Can someone confirm this, or has a similar export problem with UTF-8 DB and non-Latin characters ?
    How could i solve this issue ?
    TIA

    Hello Joel,
    thanks for taking the time to answer to my Issue. Well this does not work for my case as the source of data (Database character set) is UTF-8. The Data inside the database that are shown in the IR on the Screen is UTF-8 and this is done correctly. You can see this in my example. The actual Data in the Database are from multiple languages, English, Greek, German, Bulgarian etc that's why i selected the UTF-8 character set when implementing the Database and this requirement was for all character data. Also the suggested character set from Oracle is Unicode when you create a Database and you have to support data from multiple languages.
    What is the requirement, is that what i see in the IR (i mean in Display) i need to export in CSV file correctly and this is what i expect from the Download as CSV feature to achieve. I understand that you had in mind Excel when implementing this feature but a CSV is just an easy way to export the Data - a Comma Separated Values file, not necessarily to open them directly in Excel. Also i want to add here that in Excel you can import the Data in UTF-8 encoding when importing from CSV, which is fine for my customer. Also Excel 2008 and later understands a UTF-8 CSV file if you have placed the UTF-8 BOM character at the start of the file (well, it drops you to the wizzard, but it's almost the same as importing).
    Since the feature you describe and if i understood correctly is creating always an ANSI encoded file in every case, even when the Database character set is UTF-8, it is impossible to export correctly if i have data that are neither in Latin, not in the other 128 country specific characters i choose in Globalization attributes and these data is that i see in Display and need to export to CSV. I believe that this feature in case the Database character set is UTF-8 should create a CSV file that is UTF-8 encoded and export correctly what i see i the screen and i suspect that others would also expect this behaviour. Or at least you can allow/implement(?) this behaviour when Automatic CSV encoding is set to No. But i stongly believe - and especially from the eyes of a user - to have different things in screen and in the depicted CSV file is a bug, not a feature.
    I would like to have comments on this from other people here too.
    Dionyssis

  • How to remove archive log files from ASM managed 11g R2 database?

    Hi,
    I am planning to automate deletion of older archive log files from my 11g R2 Production instance which is ASM managed.
    Also want to remove the archive log files files from standby database.
    Please provide your inputs on how can I remove the older archive log files.
    Regards,
    Avinash

    Greetings
    Did you check RMAN,
    RMAN>show all;
    CONFIGURE RETENTION POLICY . . . .
    CONFIGURE ARCHIVELOG DELETION POLICY TO [CLEAR | NONE | APPLIED ON STANDBY];
    DELETE NOPROMPT EXPIRED ARCHIVELOG ALL;
    DELETE NOPROMPT ARCHIVELOG ALL COMPLETED BEFORE 'SYSDATE-10';
    This will be part of your RMAN Backup scripts/process
    Check the urls below:
    11gRel2:
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmmaint.htm#BRADV90079
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmmaint.htm#BRADV89634
    10g:
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14193/toc.htm#sthref45
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmconc1.htm#i1008093
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/maint003.htm#sthref712
    Regards & Thanks
    BN

  • Note on applying patches to the file system and database

    Dear all,
    I am new to Oracle E-business suite. Anyone in the house that can give a note (either a step by step or oracle metalink note) on how to apply patches to a file system or database.
    Kind Regards.

    Hi,
    Steps to apply an application patch:
    - Stop all application services (keep the database and the database listener up and running)
    - Download the patch from Metalink
    - Copy the patch file to any directory (i.e. /u04/patches)
    - As 'applmgr' do the following:
    - Source the environment file
    - $ cd /u04/patches
    - Type 'unzip <patch_number>.zip'
    - cd <patch_number>
    - Type 'adpatch'
    - When it prompts you to enter the patch driver, type 'u<patch_number>.drv'
    Apply the patch on the database tier first then on the application tier.
    Do not forget to 'Enable Maintenance Mode' from adadmin before applying the patch. Once you apply the patch successfully, 'Disable Maintenance Mode' from adadmin.
    And, always follow the steps in the patch README file.
    For database patches, follow the steps in the patch README file and apply the patch using opatch as oracle user.
    For more details about applying patches, please refer to:
    "Oracle Applications Maintenance Utilities" manual
    http://download-uk.oracle.com/docs/cd/B25516_14/current/html/docset.html
    How to apply EBS 12i pathces in both Linux and Windows
    Re: How to apply EBS 12i pathces in both Linux and Windows
    Need to apply patch!
    Need to apply patch!
    Regards,
    Hussein

  • I have taken pictures of items that are linked to a database that I am building.  How can I bypass importing into iPhoto and simply downloading the images as "files" not "photos" so I can access them with my database?  thanx.

    I have taken pictures with both my Sony camera and my iPhone of items that are linked to a database that I am building, as well as my website.  How can I bypass importing the images into iPhoto and simply downloading the images as "files" not "photos" so I can access them with my database?  thanx.

    If your Sony has a removable memory card you can use a card reader to copy the image files from to a folder on your Desktop and then move them anywhere you'd like.
    Since the iPhone doesn't have a removable memory card you can try using Image Capture to see if you can manually upload the files to a folder on the Desktop. 
    If you have to import the photos, which are image files, into iPhoto you can then export them out of iPhoto to the Desktop and go from there to your database.  Just because they are in iPhoto doesn't prevent you from using them elsewhere.
    OT

  • Control file not updated till date in RAC two node database

    Hi,
    Good day.
    To my surprise i found that control files, in our database RAC with two nodes, are not updated till date except one from node 1 and another from node 2.
    But we got all the controlfile names in the init parameter file, in both the nodes.
    Node 1
    bash-3.00$ ls -lrt
    total 922128
    -rw------- 1 oracle dba 157286400 Nov 3 2007 cntrl03.dbf
    -rw------- 1 oracle dba 157286400 Nov 3 2007 cntrl02.dbf
    -rw------- 1 oracle dba 157286400 Apr 12 17:21 cntrl01.dbf
    Node 2
    bash-3.00$ ls -lrt
    total 922128
    -rw------- 1 oracle dba 157286400 Mar 30 09:17 cntrl03.dbf
    -rw------- 1 oracle dba 157286400 Mar 30 09:17 cntrl02.dbf
    -rw------- 1 oracle dba 157286400 Apr 12 17:20 cntrl01.dbf
    As you could see cntrl01.dbf is the only file updated till date in both the nodes. The database is running fine.
    what is actually happening?
    Any suggestions?
    Thanks,
    Balu.

    As you're using RAC it is very likely that you are using an SPFILE.
    Connect as a DBA account (or an account with SELECT ANY DICTIONARY privileges) in both the instances and do "show parameter spfile" and "show parameter control" (or query V$parameter)
    It is likely that the spfile is referencing only 1 controlfile.

  • Can cold backup be taken for ASM managed oracle 10g databases

    Can cold backup be taken for ASM managed oracle 10g databases
    Pls help

    do we still need to take cold backupYou need to take backup. Hot or cold depends on how your DB is running (archivelog or not).
    Will we have file permisions for copyng Use RMAN and don't worry about that.

  • How to asmcmd cp non ASM files to ASM on a remote node

    We have a 8TB database, RDBMS 11,1. on Solaris 10, non ASM. Need to copy the 1290 files to remote node of AIX ASM to prepare for a upgrading to 11.2.0.2.
    We tried to use asmcmd cp to copy the files directly from non ASM too ASM remotely, but did not work.
    $ asmcmd cp -ifr [email protected]:/oradata/prdsdev/datafiles/dev_4.dbf +PRDSU_DATA/PRDSU/TEMPFILE/dev_4.dbf
    Enter password: ********
    Argument "normal" isn't numeric in numeric ge (>=) at /optware/oracle/11.2.0.2/grid/lib/asmcmdshare.pm line 1676.
    errors
    ORA-01031: insufficient privileges (DBD ERROR: OCISessionBegin)
    We were using the user fttr. Do we need to login as SYSASM, do we need to go through OS auth, any other privilege required. What instance do we need to login, regular database that is using the data files, or ASM instance is goin g to manage the files.
    Thanks in advance

    1. my previous question is if asmcmd cp can accomplish the task.
    2. RMAN COPY, as I know, will either copy non asm files to ASM files locally, or copy files asm to asm across nodes. which means that we have to do two steps, rather copy the non asm files to a node of asm directly.

  • ASM files and backups

    We are setting up new machines with the intent to eventually start using RAC so I am planning on using ASM. I was reading Oracle's "Automatic Storage Management Technical Best Pratices" and there is a statement that says "database backups of ASM files can only be performed with RMAN" . Our UNIX admins (as part of this project) purchased a product "HP Business Copy EVA" with the intent of using it to do Oracle backups very quick.
    Does anyone have any experience with "HP Business Copy EVA" ?
    Does anyone backup ASM files without using RMAN?
    Can anyone explain why Oracle's paper makes this statement?

    We are in the process of implementing a 10g RAC solution now. We started out using ASM and ran into a number of problems including some memory leaks on the ASM instance. We switched to OCFS and system has been running without a hitch for a month. Good thing here is all the old backup scripts function. Do not need to use RMAN if you really don't want to.
    --Paul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Trouble using asm instance for new database

    I have an asm instance and am trying to create a new database that will use the asm storage. I'm using dbca to create the new database. This is a test system on windows so I'm using the asmtool -create flatfiles for disks with the asmallow_only_raw_disks parameter set to false.
    If I have #SQLNET.AUTHENTICATION_SERVICES = (NTS) commented out in my sqlnet.ora, then I can't get into asmcmd:
    ORA-01031: insufficient privileges (DBD ERROR: OCISessionBegin)
    and dbca won't create the new database that uses asm because the dbca gets the same 01031 error when trying to create the control files for that database.
    If I have SQLNET.AUTHENTICATION_SERVICES = (NTS) NOT commented out, the I can get into asmcmd, but I can't startup the databases using sys, even though I am sitting at the server,
    AND, dbca won't create the new database that uses asm becuase the dbca can't start the instance
    credential retrieval failure.
    I'm in a catch 22. Something is not right with my system but I just can't seem to figure out what it is.
    The asm instance does have a password file.

    I let the dbca create scripts and am currently walking through the scripts. I think it's my asm database that is actually creating the problem. I did the orapwd and oradim manually and can startup nomount the instance just fine. The create database statement fails on creating the controlfile but it's saying it already exists. I suspected the dbca form wasn't giving me all the errors like it should.
    Thanks for your suggestion on the password file.

  • ASM files delete

    Hi all,
    We are trying to delete some files from ASM disk group using rm -rf command but it is not deleting
    ASMCMD> rm -rf HISTDATA_2005.372.669653109
    ORA-15032: not all alterations performed
    ORA-15028: ASM file '+ASM_GROUP1/xxxx/DATAFILE/xxxx_2005.372.669653109' not dropped; currently being accessed (DBD ERROR: OCIStmtExecute)
    ASMCMD>
    no instance is using these files.
    is there any option to deleted these files forcefully
    it's urgent pls
    please let me know...
    Edited by: 899329 on Jan 12, 2013 5:49 AM

    from sql:
    SQL(njbar1): >alter diskgroup ASM_GROUP1 drop file '+ASM_GROUP1/TTBAR1/DATAFILE/DATA01.264.669651777';
    alter diskgroup ASM_GROUP1 drop file '+ASM_GROUP1/TTBAR1/DATAFILE/DATA01.264.669651777'
    ERROR at line 1:
    ORA-15032: not all alterations performed
    ORA-15028: ASM file '+ASM_GROUP1/TTBAR1/DATAFILE/DATA01.264.669651777' not
    dropped; currently being accessed
    from asmcmd:
    ORA-15032: not all alterations performed
    ORA-15028: ASM file '+ASM_GROUP1/TTHST/DATAFILE/SYSTEM.303.668096595' not dropped; currently being accessed (DBD ERROR: OCIStmtExe
    ORA-15032: not all alterations performed
    ORA-15177: cannot operate on system aliases (DBD ERROR: OCIStmtExecute)
    60 days back only server rebooted and that database was not using from 1 year. no controlfiles, parfiles for that
    Edited by: 899329 on Jan 12, 2013 6:48 AM

Maybe you are looking for

  • Remove a credit card from Azure billing (not cancel account)

    I have a PAYG subscription and have added a second credit card for payment.  I would now like to remove the first credit card but there is no option to do this.  How can I remove a credit credit card? Note: Unlike similar questions here I do not wish

  • Same colors appearing different in the same document

    I have a document where I have filled different table cells with the same RGB color. However, they sometimes appear as two different shades, one darker than the other. I checked to be sure it was the same RGB color and it was, but it appears quite di

  • Partywise & Itemwise purchase register query

    Dear Expert, I am new in SAP. I need Partywise & Itemwise purchase register query. BR Deep

  • Default Data - charm_create

    Dear All, When we create CR document from charm_create, how can i make the requester name & Sold to party name by default ? System needs to pick the UID of the prson who is creating the request. And sold to party is same for all the tickets. regds, C

  • Trouble converting Mac Quicktime audio files for Windows ITunes

    I tried convereting them to AAC files on the import. They seemed to "play" but there was no audio. I then did MP3 conversion and got MPEG files with the same results. Grateful for any help.