removevsd Command

Purpose

Removes a set of virtual shared disks.

Syntax

removevsd
{-v vsd_names | -a} [-f]

Description

Use this command to remove the logical volumes associated with the virtual shared disks. Volume groups are not removed with this command.

If the virtual shared disk is configured on any of the nodes on the system partition, this command is unsuccessful, unless the -f flag is specified.

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

smit delete_vsd

and select the Remove a Virtual Shared Disk option.

Flags

-v
Specifies the virtual shared disk name or names that are to be removed by this command.
-a
Specifies that the command should remove all virtual shared disks in the RSCT peer domain.
-f
Forces the system to unconfigure the virtual shared disks and remove them. If -f is not specified and any of the virtual shared disks that are to be removed are configured, the command is unsuccessful.

Parameters

vsd_name
Specifies a virtual shared disk. If the virtual shared disk is not in the stopped state, you will get an error message.

Security

You must have root authority to run this command.

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 RSCT Administration Guide .

Examples

To unconfigure and remove all defined virtual shared disks in a system or system partition, enter:

removevsd -a -f

Location

/opt/rsct/vsd/bin/removevsd