The ASMCA command-line interface provides non-GUI support for configuring Oracle ASM disk groups, volumes, and Oracle ACFS.
For general information about running ASMCA command-line interface, refer to "Running ASMCA Command-Line".
This section describes the commands that can be run with ASMCA command-line.
Run ASMCA commands as a Windows domain user.
-createVolume
creates Oracle ADVM volumes.
Syntax
asmca -silent -createVolume { -volumeName volume_name -volumeDiskGroup diskgroup -volumeSizeGB size_GB [ -volumeRedundancy { INHERIT | HIGH | NORMAL | EXTERNAL } ] ... } [-sysAsmPassword sysasm_password ]
Table 14-1 contains the options available with the -createVolume
command.
Table 14-1 Options for the -createVolume command
Option | Description |
---|---|
|
Specifies the name of the volume to create. |
|
Specifies the name of the disk group where you want to create the volume. |
|
Specifies the size of the volume in Gigabytes. |
|
Specifies the redundancy setting for the volume. |
For additional options that are common to multiple commands, see Table 9-1.
Examples
To create an Oracle ADVM volume:
-createACFS
creates an Oracle Automatic Storage Management Cluster File System (Oracle ACFS).
This command does not mount the Oracle ACFS file system. For information about mounting an Oracle ACFS file system, see "mount" for Linux environments and "acfsmountvol" for Windows environments.
Syntax
asmca -silent -createACFS { -acfsVolumeDevice volume_device } { -acfsMountPoint mount_path } [-acfsUserName acfs_username ] [-acfsUserGroup acfs_usergroup ] [-sysAsmPassword sysasm_password ]
Table 14-2 contains the options available with the -createACFS
command.
Table 14-2 Options for the -createACFS command
Option | Description |
---|---|
|
Specifies the name of the Oracle ADVM volume device. |
|
Specifies an existing path to be used as the mount point. This is required in an Oracle RAC environment. |
|
Specifies the Oracle ACFS user name. |
|
Specifies the Oracle ACFS group name. |
For additional options that are common to multiple commands, see Table 9-1.
Examples
To create an Oracle ACFS file system: