configure
Use the configure option to reconfigure the Automatic Storage
Management library driver, if necessary:
# /etc/init.d/oracleasm configure
enable
disable
Use the disable and enable options to change the behavior of the
Automatic Storage Management library driver when the system starts.
The enable option causes the Automatic Storage Management library
driver to load when the system starts:
# /etc/init.d/oracleasm enable
start
stop
restart
Use the start, stop, and restart options to load or unload the
Automatic Storage Management library driver without restarting the
system:
# /etc/init.d/oracleasm restart
createdisk
Use the createdisk option to mark a disk device for use with the
Automatic Storage Management library driver and give it a name:
# /etc/init.d/oracleasm createdisk DISKNAME devicename
deletedisk
Use the deletedisk option to unmark a named disk device:
# /etc/init.d/oracleasm deletedisk DISKNAME
Caution: Do not use this command to unmark disks that are being used
by an Automatic Storage Management disk group. You must drop the
disk from the Automatic Storage Management disk group before you
unmark it.
querydisk
Use the querydisk option to determine whether a disk device or disk
name is being used by the Automatic Storage Management library driver:
# /etc/init.d/oracleasm querydisk {DISKNAME | devicename}
listdisks
Use the listdisks option to list the disk names of marked Automatic
Storage Management library driver disks:
# /etc/init.d/oracleasm listdisks
scandisks
Use the scandisks option to enable cluster nodes to identify which
shared disks have been marked as Automatic Storage Management
library driver disks on another node:
# /etc/init.d/oracleasm scandisks