ODA: After Apply ODA 12.2.1.2.0 Patch, Unable to Create TableSpace Due to [ORA-15001: diskgroup "DATA"does not exist or is not mounted | ORA-15040: diskgroup is incomplete] (Doc ID 2375553.1)
APPLIES TO:
Oracle Database Appliance Software - Version 12.1.2.10 to 12.1.2.12 [Release 12.1]Oracle Database - Enterprise Edition - Version 12.2.0.1 to 12.2.0.1 [Release 12.2]Information in this document applies to any platform.
SYMPTOMS
After ODA upgrade to 12.2.1.2.0 release, tableSpaces cannot be created from 12.1 database in the ASM diskgroups due to the next errors:
ODA를 12.2.1.2.0 버전으로 업그레이드한 후 다음 오류로 인해 ASM 디스크 그룹의 12.1 데이터베이스에서 테이블 공간을 만들 수 없습니다
*****************
STATUS : OPEN
DB_UNIQUE_NAME : CLOUDDB
OPEN_MODE : READ WRITE
LOG_MODE : ARCHIVELOG
DATABASE_ROLE : PRIMARY
FLASHBACK_ON : YES
FORCE_LOGGING : YES
VERSION : 12.1.0.2.0
CDB Enabled : NO
*************************************
oracle@asmclouddb:/home/oracle/ [CLOUDDB] sqh
SQL*Plus: Release 12.1.0.2.0 Production on Mon Mar 12 17:33:23 2018
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Advanced Analytics
and Real Application Testing options
SQL> create tablespace testrecodg datafile '+RECO' size 1000M;
create tablespace testrecodg datafile '+RECO' size 1000M
*
ERROR at line 1:
ORA-01119: error in creating database file '+RECO'
ORA-17502: ksfdcre:4 Failed to create file +RECO
ORA-15001: diskgroup "RECO" does not exist or is not mounted
ORA-15040: diskgroup is incomplete
SQL> create tablespace testredodg datafile '+REDO' size 1000M;
create tablespace testredodg datafile '+REDO' size 1000M
*
ERROR at line 1:
ORA-01119: error in creating database file '+REDO'
ORA-17502: ksfdcre:4 Failed to create file +REDO
ORA-15001: diskgroup "REDO" does not exist or is not mounted
ORA-15040: diskgroup is incomplete
SQL> create tablespace testredodg datafile '+DATA' size 1000M;
create tablespace testredodg datafile '+DATA' size 1000M
*
ERROR at line 1:
ORA-01119: error in creating database file '+DATA'
ORA-17502: ksfdcre:4 Failed to create file +DATA
ORA-15001: diskgroup "DATA" does not exist or is not mounted
ORA-15040: diskgroup is incomplete
SQL> create tablespace testredodg datafile '+FLASH' size 1000M;
create tablespace testredodg datafile '+FLASH' size 1000M
*
ERROR at line 1:
ORA-01119: error in creating database file '+FLASH'
ORA-17502: ksfdcre:4 Failed to create file +FLASH
ORA-15001: diskgroup "FLASH" does not exist or is not mounted
ORA-15040: diskgroup is incomplete
SQL> exit
Disconnected from Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Advanced Analytics
and Real Application Testing options
oracle@asmclouddb:/home/oracle/ [CLOUDDB]
CAUSE
The OS group in the oracle RDBMS Oracle Home binary is not correct, it should be asmadmin instead of oinstall:
oracle RDBMS Oracle Home 바이너리 파일의 OS 그룹이 올바르지 않습니다. 이것은 oinstall이 아닌 asmadmin이어야 합니다.
[root@ ~]# ls -l /u01/app/oracle/product/12.1.0.2/dbhome_1/bin/oracle
-rwsr-s--x 1 oracle oinstall 328120913 Feb 24 02:47 /u01/app/oracle/product/12.1.0.2/dbhome_1/bin/oracle
SOLUTION
a) Please execute the next steps as grid OS user: grid OS 사용자로 다음 단계를 수행하십시오.
$> setasmgidwrap o=/u01/app/oracle/product/12.1.0.2/dbhome_1/bin/oracle
$> chgrp asmadmin /u01/app/oracle/product/12.1.0.2/dbhome_1/bin/oracle
$> ls -l /u01/app/oracle/product/12.1.0.2/dbhome_1/bin/oracle
b) Then confirm the TableSpaces can be created: 그런 다음 TableSpaces를 만들 수 있는지 확인합니다.
SQL*Plus: Release 12.1.0.2.0 Production on Fri Mar 16 10:04:45 2018
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Advanced Analytics
and Real Application Testing options
SQL> create tablespace test1 datafile '+RECO' size 1000M;
Tablespace created.
SQL> create tablespace test2 datafile '+DATA' size 100M;
Tablespace created.
SQL> create tablespace test3 datafile '+REDO' size 100M;
Tablespace created.
SQL> create tablespace test4 datafile '+FLASH' size 100M;
Tablespace created.
REFERENCES
NOTE:470211.1 - How To Gather & Backup ASM/ACFS Metadata In A Formatted Manner version 10.1, 10.2, 11.1, 11.2, 12.1 and 12.2?NOTE:888888.1 - Oracle Database Appliance - 18.1, 12.X, and 2.X Supported ODA Versions & Known Issues
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
다양한 언어의 JSONJSON은 Javascript 표기법을 사용하여 데이터 구조를 레이아웃하는 데이터 형식입니다. 그러나 Javascript가 코드에서 이러한 구조를 나타낼 수 있는 유일한 언어는 아닙니다. 저는 일반적으로 '객체'{}...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.