Purpose
Creates Oracle ASM directories under the current directory.
Syntax and Description
mkdir dir [dir . . .]
Table 10-38 lists the syntax options for the mkdir
command.
Table 10-38 Options for the mkdir command
Option | Description |
---|---|
|
Directory name to create. |
The directory from which mkdir
is run can be a system-created or user-created directory. You cannot create a directory at the root (+) level.
Example
The following is an example of the mkdir
command. The example creates the directories subdir1
and subdir2
at the disk group level in the disk group data
.
Example 10-47 Using the ASMCMD mkdir command
ASMCMD [+data] > mkdir subdir1 subdir2 ASMCMD [+data] > ls ASM/ ORCL/ subdir1/ subdir2/