Solved

Transportable tablespace issue with ASM

Posted on 2011-02-21
2
1,773 Views
Last Modified: 2012-08-13
Hello,
  I am transporting a tablespace with around 50 datafiles. Its a cross-platform transportable tablespace with different endianness, hence am doing a conversion of the datafiles on target system. The issue is that when I issue the RMAN CONVERT command, it refuses to convert one datafile, stating that the alias name already exists. Isn't ASM suppose to create ALIASES on random? Below is what is happening:

RMAN> convert datafile
2> '/accu/data1/sf_agg_zone_01.dbf'
3> from platform 'Solaris[tm] OE (64-bit)'
4> DB_FILE_NAME_CONVERT
5> '/accu/data1','+DG_DATA/AVPROD/DATAFILE'
6> ;

ORA-17502: ksfdcre:4 Failed to create file +DG_DATA/avprod/datafile/sf_agg_zone_01.dbf
ORA-15005: name "avprod/datafile/sf_agg_zone_01.dbf" is already used by an existing alias

WIthin ASM instance, I checked v$asm_alias and found 2 datafiles that I had imported a few steps ago (I am converting datafiles in batches). The datafile name is different than the other 2 datafiles with similar (not matching) names and ASM created aliases for those previous 2 datafiles, but it refuses to create an alias for this datafile (sf_agg_zone_01.dbf).

SQL> select NAME from v$asm_alias where name like '%sf_agg_zone%';

NAME
----------------------------------------------------------------------
sf_agg_zone_1004.dbf
sf_agg_zone_1005.dbf

SQL> select NAME from v$asm_alias where name like '%SF_AGG_ZONE%';

NAME
----------------------------------------------------------------------
SF_AGG_ZONE.297.743647979
SF_AGG_ZONE.298.743647985

All the help is highly appreciated.
Thanks.
0
Comment
Question by:Waqasulhaq
2 Comments
 
LVL 4

Accepted Solution

by:
pinkuray earned 500 total points
ID: 34948745
A similar solution was found in internet, check this URL "http://www.dba-village.com/village/dvp_forum.OpenThread?ThreadIdA=30931", which will help you to solve your problem.
0
 

Author Closing Comment

by:Waqasulhaq
ID: 35129670
Found helpful tips in the link
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question