Adds another path to a multipath I/O (MPIO) capable device.
mkpath -l Name [ -p Parent ] [ -w Connection ] [ -d [ -c ] ] [ -v Level ]
mkpath -h
The mkpath command defines, in the Customized Paths (CuPath) object class, configures, or both defines and configures a path for the specified device (-l Name). The path that is defined or configured is indicated by the -p Parent and -w Connection flags. Both the specified device and parent must be previously defined in the Customized Devices (CuDv) object class.
If the -d flag is specified, the mkpath command only adds (defines) the path definition to the CuPath object class with the Path_Status descriptor set to Path_Defined unless the -c flag is also specified, in which case the path is also configured. If the -d flag is not specified, the mkpath command only configures one or more paths. Configuring a path requires the path to already be defined and both the device and the parent device to already be configured.
When configuring multiple paths, this command may only be able to configure some paths and not others. If this happens, the command indicates only that this occurred. To determine which paths are still configured, the lspath command should be executed.
Attention: To protect the Configuration database, the mkpath command cannot be interrupted. Stopping this command before execution is complete could result in a corrupted database.
mkpath -l hdisk1 -p scsi0 -w 5,0
The system displays a message similar to the following:
hdisk1 path from parent scsi0 connection 5,0 available
mkpath -d -l hdisk1 -p scsi0 -w 5,0
The system displays a message similar to the following:
hdisk1 path from parent scsi0 connection 5,0 defined
/usr/sbin/mkpath | Contains the mkpath command. |
The lspath command.