Solved

Transportable tablespace issue with ASM

Posted on 2011-02-21
2
1,721 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

760 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now