本例的环境是Redhat linux 5.3,数据库是Oracle 10.2.0.5
1. asm的管理命令oracleasm命令的使用说明
[root@ocmdb1 disks]# oracleasm
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@ocmdb1 init.d]# which oracleasm
/usr/sbin/oracleasm
[root@ocmdb1 disks]# cd /etc/init.d
[root@ocmdb1 init.d]# ./oracleasm
Usage: ./oracleasm {start|stop|restart|enable|disable|configure|c