undefvsd Command

Purpose

undefvsd – Undefines a virtual shared disk.

Syntax

undefvsd vsd_name

Description

This command is used to remove a virtual shared disk definition and any special device files from /dev for the given vsd_names on all the virtual shared disk nodes. The virtual shared disks must be unconfigured and in the defined state on all the virtual shared disk nodes.

You can use the System Management Interface Tool (SMIT) to run the undefvsd command. To use SMIT, enter:

smit delete_vsd

and select the Undefine a Virtual Shared Disk option.

Flags

None.

Parameters

vsd_name
Specifies the virtual shared disk whose underlying logical volume you no longer want to be globally accessed by any virtual shared disk nodes.

Security

You must have root authority to run this command.

Exit Status

0
Indicates the successful completion of the command.
nonzero
Indicates that an error occurred.

Restrictions

You must issue this command from a node that is online in the peer domain. To bring a peer domain online, use the startrpdomain command. To bring a particular node online in an existing peer domain, use the startrpnode command. For more information on creating and administering an RSCT peer domain, refer to the RSCT: Administration Guide.

Standard Output

Current RVSD subsystem run level.

Examples

To delete the information associated with the virtual shared disk vsd1vg2n1, enter:
undefvsd vsd1vg2n1

Location

/usr/lpp/vsd/bin/undefvsd