Solved

Transportable tablespace issue with ASM

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

Question has a verified solution.

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

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
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…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

863 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

18 Experts available now in Live!

Get 1:1 Help Now