SQL> alter tablespace BKJ_COM_IDX add datafile '+DGYJZYYS/ysdb/datafile/bkj_com_idx_008.dbf' size 31g;
alter tablespace BKJ_COM_IDX add datafile '+DGYJZYYS/ysdb/datafile/bkj_com_idx_008.dbf' size 31g
*
ERROR at line 1:
ORA-01119: error in creating database file '+DGYJZYYS/ysdb/datafile/bkj_com_idx_008.dbf'
ORA-17502: ksfdcre:4 Failed to create file +DGYJZYYS/ysdb/datafile/bkj_com_idx_008.dbf
ORA-15041: diskgroup "DGYJZYYS" space exhausted
检查磁盘组,发现空间都有:
ASMCMD> lsdg
State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN Y 512 4096 1048576 29360128 2039311 0 2039311 0 N DGYJZYYS/
检查磁盘:
SQL> select path,total_mb,free_mb from v$asm_disk_stat where group_number=2 order by 1;