Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ASM Directory Cleanup

James G KAug 25 2017 — edited Aug 29 2017

Hi all,

I encountered a bug that caused the creation of a RAC database on an ODA using oakcli to fail (several times). The bug was later resolved through an SR fix, but the failed installs created files (folders) that I'm hesitant to cleanup, specifically those in an ASM directory (bug 18419139).

The failed installs created empty folders where the fast_recovery_area, logs and control files would be; those I removed through the shell, i.e. rm -r folder_name.

The failed installs also created empty folders in an ASM filesystem for the datafiles. ITNM3 was the successful install, while the other ITNM's are empty.

[root@ay00odadb00xx snaps]# ls -la

total 84

drwxr-xr-x 21 root   root     4096 Mar 15 11:37 .

drwxr-xr-x  5 root   root     4096 Oct 12  2015 ..

drwxrwxr-x  7 oracle oinstall 4096 Nov 19  2016 CB1PRF1B

drwxrwxr-x  7 oracle oinstall 4096 Jan  6  2017 emsdb

drwxrwxr-x  5 oracle oinstall 4096 May 12  2016 greenstb

drwxrwxr-x  6 oracle oinstall 4096 May 11  2016 greentst

drwxrwxr-x  4 oracle oinstall 4096 Dec 12  2016 ITNM2

drwxrwxr-x  6 oracle oinstall 4096 Dec 12  2016 ITNM3

drwxrwxr-x  4 oracle oinstall 4096 Dec 12  2016 ITNMTST

drwxrwxr-x  4 oracle oinstall 4096 Dec 12  2016 ITNMUAT

drwxrwxr-x  6 oracle oinstall 4096 Jun 15  2016 smp53lab

drwxrwxr-x  6 oracle oinstall 4096 Jun 15  2016 smp53qa

drwxrwxr-x  6 oracle oinstall 4096 Dec  1  2015 smp53two

drwxrwxr-x  6 oracle oinstall 4096 Oct 21  2015 smp53uat

drwxrwxr-x  8 oracle oinstall 4096 Jan  2  2017 sntcuat

drwxrwxr-x  6 oracle oinstall 4096 Mar 15 12:21 sntcxtt

[root@ay00odadb00xx snaps]# cd ITNM2

[root@ay00odadb00xx ITNM2]# ls -la

total 8

drwxrwxr-x  4 oracle oinstall 4096 Dec 12  2016 .

drwxr-xr-x 21 root   root     4096 Mar 15 11:37 ..

MOS linked me to Doc ID 1910536.1, but the note doesn't apply to me because nothing was ever created (?). Nothing relating to the failed installs seems to be recorded with oakcli/srvctl. Can these folders be removed through shell commands, or do I need to use something like asmcmd to avoid some ASM related issue?

Thanks,

James

This post has been answered by JuanM on Aug 29 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 26 2017
Added on Aug 25 2017
6 comments
626 views