oracleasm createdisk DATA01 /dev/sdc1 FAILED
Oracle/Oracle 에러 2016. 7. 27. 21:38[root@QDB ~]# /etc/init.d/oracleasm createdisk DATA01 /dev/sdc1
Marking disk "DATA01" as an ASM disk: [FAILED]
났을경우....
먼저 설치한 asm을 설치하기 위한 rpm과 yum을 삭제 후 다시 설치한다.
후에 reboot후 진행할 것
Connecting to 192.168.31.98:22...
Connection established.
Escape character is '^@]'.
Last login: Wed Jul 27 21:25:23 2016 from 192.168.31.43
[root@QDB ~]#
[root@QDB ~]#
[root@QDB ~]#
[root@QDB ~]# /etc/init.d/oracleasm createdisk DATA01 /dev/sdb1
Marking disk "DATA01" as an ASM disk: [FAILED]
[root@QDB ~]#
[root@QDB ~]#
[root@QDB ~]# oracleasm scandisk
oracleasm: 'scandisk' is not an oracleasm command
Usage: oracleasm [--exec-path=<exec_path>] <command> [ <args> ]
oracleasm --exec-path
oracleasm -h
oracleasm -V
The basic oracleasm commands are:
configure Configure the Oracle Linux ASMLib driver
init Load and initialize the ASMLib driver
exit Stop the ASMLib driver
scandisks Scan the system for Oracle ASMLib disks
status Display the status of the Oracle ASMLib driver
listdisks List known Oracle ASMLib disks
querydisk Determine if a disk belongs to Oracle ASMlib
createdisk Allocate a device for Oracle ASMLib use
deletedisk Return a device to the operating system
renamedisk Change the label of an Oracle ASMlib disk
update-driver Download the latest ASMLib driver
[root@QDB ~]# oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
[root@QDB ~]# oracleasm listdisks
DATA01
: 명령어로 DATA01이 존재하는지 확인해야한다.
[root@QDB ~]# /etc/init.d/oracleasm createdisk DATA01 /dev/sdb1
Marking disk "DATA01" as an ASM disk: [FAILED]
[root@QDB ~]# /etc/init.d/oracleasm createdisk DATA01 /dev/sdc1
Marking disk "DATA01" as an ASM disk: [FAILED]
[root@QDB ~]# oracleasm listdisks
DATA01
[root@QDB ~]# /etc/init.d/oracleasm deletedisk DATA01
: 있다면 deletedisk로 삭제후 다시 생성한다.
Removing ASM disk "DATA01": [ OK ]
[root@QDB ~]#
[root@QDB ~]#
[root@QDB ~]#
[root@QDB ~]#
[root@QDB ~]# /etc/init.d/oracleasm createdisk DATA01 /dev/sdb1
Marking disk "DATA01" as an ASM disk: [ OK ]
[root@QDB ~]#
[root@QDB ~]#
[root@QDB ~]# /etc/init.d/oracleasm createdisk DATA02 /dev/sdc1
Marking disk "DATA02" as an ASM disk: [ OK ]
[root@QDB ~]# /etc/init.d/oracleasm createdisk DATA03 /dev/sdd1
Marking disk "DATA03" as an ASM disk: [ OK ]
[root@QDB ~]# /etc/init.d/oracleasm createdisk ARC01 /dev/sde1
Marking disk "ARC01" as an ASM disk: [ OK ]
[root@QDB ~]# /etc/init.d/oracleasm createdisk ARC02 /dev/sdf1
Marking disk "ARC02" as an ASM disk: [ OK ]
[root@QDB ~]# reboot
[root@QDB ~]#
Broadcast message from root@QDB
(/dev/pts/0) at 21:33 ...
'Oracle > Oracle 에러' 카테고리의 다른 글
spfile 깨졋을때 (0) | 2016.08.10 |
---|---|
ORA-00376, ORA-01110 (0) | 2016.07.01 |
ORA-01031 (0) | 2016.06.29 |
ORA-01652: (0) | 2016.06.14 |
ORA-01858 - sqldeveloper 날짜형식 (0) | 2016.06.01 |