suspendvsd Command

Purpose

suspendvsd – Deactivates an available virtual shared disk.

Syntax

suspendvsd {-a | vsd_name…}

Description

The suspendvsd command brings the specified virtual shared disks from the active state to the suspended state. They remain available. Read and write requests which were active while the virtual shared disk was active are suspended and held. Subsequent read and write operations are also held. If the virtual shared disk is in the suspended state, this command leaves it in the suspended state.

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

smit vsd_mgmt

and select the Suspend a Virtual Shared Disk option.

Under normal circumstances, you should not issue this command. The Recoverable virtual shared disk subsystem uses this command to manage shared disks in a controlled manner. If you issue this command, the results may be unpredictable.

Flags

-a
Specifies that all the virtual shared disks in the active state are to be suspended.

Parameters

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

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.

Under normal circumstances, you should not issue this command. The Recoverable virtual shared disk subsystem uses this command to manage shared disks in a controlled manner. If you issue this command, the results may be unpredictable.

Standard Output

Current RVSD subsystem run level.

Examples

To bring the virtual shared disk vsd1vg1n1 from the active state to the suspended state, enter:
suspendvsd vsd1vg1n1

Location

/opt/rsct/vsd/bin/suspendvsd