asmtool
is a command-line interface for marking (or stamping) disks to be used with Oracle ASM.
Option | Description | Example |
---|---|---|
|
Adds or changes stamps. You must specify the hard disk, partition, and new stamp name. If the disk is a raw device or has an existing Oracle ASM stamp, then you must specify the |
asmtool -add [-force] \Device\Harddisk1\Partition1 ORCLDISKASM0 \Device\Harddisk2\Partition1 ORCLDISKASM2 ... |
|
Adds or changes stamps using a common prefix to generate stamps automatically. The stamps are generated by concatenating a number with the prefix specified. If the disk is a raw device or has an existing Oracle ASM stamp, then you must specify the |
asmtool -addprefix ORCLDISKASM [-force] \Device\Harddisk1\Partition1 \Device\Harddisk2\Partition1 ... |
|
Creates an Oracle ASM disk device from a file instead of a partition. Note: Usage of this command is not supported for production environments. |
asmtool -create \\server\share\file 1000 asmtool -create D:\asm\asmfile02.asm 240 |
|
List available disks. The stamp, windows device name, and disk size in MB are shown. |
asmtool -list |
|
Removes existing stamps from disks. |
asmtool -delete ORCLDISKASM0 ORCLDISKASM1... |
If user access control (UAC) is enabled, then you must create a desktop shortcut to a command window. Open the command window using the Run as Administrator, right-click the context menu, and launch asmtool
.
Note:
If you use-add
, -addprefix
, or -delete
, asmtool
notifies the Oracle ASM instance on the local node and on other nodes in the cluster, if available, to rescan the available disks.Related Topics