preparevsd Command

Purpose

Makes a virtual shared disk available.

Syntax

preparevsd {-a | vsd_name…}

Description

The preparevsd command brings the specified virtual shared disks from the stopped state to the suspended state. The virtual shared disks are made available. Open and close requests are honored, while read and write requests are held until the virtual shared disks are brought to the active state. If they are in the suspended state, this command leaves them 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 Prepare 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 stopped state are to be prepared.

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 .

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.

Examples

To bring the virtual shared disk vsd1vg1n1 from the stopped state to the suspended state, enter:
preparevsd vsd1vg1n1

Location

/opt/rsct/vsd/bin/preparevsd