Top
ETERNUS SF AdvancedCopy Manager V15.1 Operation Guide
ETERNUS

8.6.2 swstsdv (Snap Data Volume operation/reference command)

NAME

swstsdv - Initialize or display the Snap Data Volume


SYNOPSIS

Snap Data Volume initialization
/opt/FJSVswsts/bin/swstsdv init Volume-Name
/opt/FJSVswsts/bin/swstsdv init -G Access-Volume-Name LU-Number
Snap Data Volume status display
/opt/FJSVswsts/bin/swstsdv stat Volume-Name
/opt/FJSVswsts/bin/swstsdv stat -G Access-Volume-Name LU-Number
Snap Data Pool status display
/opt/FJSVswsts/bin/swstsdv poolstat -G Volume-Name

DESCRIPTION

Snap Data Volume initialization/status display and Snap Data Pool status display are all possible. Specify one of the following subcommands according to the contents you want to operate on, and then execute the subcommand.

Snap Data Volume initialization

Specify "init" as the subcommand to initialize the Snap Data Volume.
Initialize the Snap Data Volume when SnapOPC/SnapOPC+ is not running.
All the data in the Snap Data Volume is destroyed in the initialization of the Snap Data Volume. For this reason, the following procedure is recommended.
(Creation of the access volume and collection of the LU-Number must be completed before logical volume manager operations.)

  1. If there is necessary data in the Snap Data Volume, back it up in advance using the relevant OS command.

  2. Initialize the disk management information.
    Set the target Snap Data Volume (physical disk) outside logical volume manager management when there is a logical volume manager operation.

  3. Initialize the Snap Data Volume using this command.
    Initialize the information using the access volume when there is a logical volume manager operation.

Snap Data Volume status display

Specify "stat" as the subcommand to display Snap Data Volume logical capacity, physical capacity, used space capacity, and unused space capacity.

The contents that are displayed are as follows:

Title

Description

BoxID

Displays the Box ID.

LUN

Displays the logical unit number on the ETERNUS Disk storage system.
The format used for the display is "<decimal>(<hexadecimal>)".

Rate

Displays the Snap Data Volume usage as a percentage (%).

Logical

Displays the Snap Data Volume logical capacity. The unit used for display is 'sector'.

Physical

Displays the Snap Data Volume physical capacity. The unit used for display is 'sector'.

Used

Displays the amount of Snap Data Volume used space. The unit used for display is 'sector'.
The capacity for both Copy usage (Note) and Host usage (Note) is displayed.

Copy

For the space used in the Snap Data Volume, Copy usage (Note) is displayed. The unit used for display is 'sector'.

Host

For the space used in the Snap Data Volume, Host usage (Note) is displayed. The unit used for display is 'sector'.

Pool

Displays the Snap Data Pool usage allocated to the Snap Data Volume. The unit used for display is 'sector'.

Note:
Copy usage: Usage in which the update occurs while SnapOPC/SnapOPC+ is running.
Host usage: Update of Snap Data Volume while SnapOPC/SnapOPC+ is not running.

Snap Data Pool status display

Specify "poolstat" as the subcommand to display the Snap Data Pool total amount, used space capacity, and unused space capacity.

The contents that are displayed are as follows:

Title

Description

BoxID

Displays the Box ID.

Pool-Type

Displays the Snap Data Pool type.
Normal
Encrypted

Rate

Displays the Snap Data Pool usage rate (%).

Total

Displays the Snap Data Pool total amount. The unit used for display is 'sector'.

Used

Displays the Snap Data Pool used space capacity. The unit used for display is 'sector'.
The capacity for both Copy usage (Note) and Host usage (Note) is displayed.

Copy

For the space used in the Snap Data Pool, Copy usage (Note) is displayed. The unit used for display is 'sector'.

Host

For the space used in the Snap Data Pool, Host usage (Note) is displayed. The unit used for display is 'sector'.

Free

Displays the Snap Data Pool unused space capacity. The unit used for display is 'sector'.

Note:
Copy usage: Usage in which the update occurs while SnapOPC/SnapOPC+ is running.
Host usage: Update of Snap Data Volume while SnapOPC/SnapOPC+ is not running.


OPTIONS

Specific options of Snap Data Volume initialization(init)
-G Access-Volume-Name

Specifies the access volume.
For details on access volume, refer to "Creating an access volume".

Specific options of Snap Data Volume status display(stat)
-G Access-Volume-Name

Specifies the access volume.
For details on access volume, refer to "Creating an access volume".

Specific options of Snap Data Pool status display(poolstat)
-G Volume-Name

Specifies the ETERNUS Disk storage system volume.
If a Snap Data Volume is specified with insufficient capacity however, an error occurs in the command. In this case, specify an access volume for which there is sufficient capacity.
For details on access volume, refer to "Creating an access volume".


OPERANDS

Specific operands of Snap Data Volume initialization(init)
Volume-Name

Specifies the volume name (AdvancedCopy Manager device name) of the Snap Data Volume to be initialized.
If a partition (slice) has been specified, the Logical Unit (disk) on which the partition (slice) exists is initialized.

LU-Number

Specifies the logical unit number in the ETERNUS Disk storage system.
This value is specified as a decimal.

Specific operands of Snap Data Volume status display(stat)
Volume-Name

Specifies the Snap Data Volume volume name (AdvancedCopy Manager device name).
If a partition (slice) has been specified, the information about the Logical Unit (disk) on which the partition (slice) exists is displayed.

LU-Number

Specifies the logical unit number in the ETERNUS Disk storage system.
This value is specified as a decimal.


EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally


EXAMPLES

NOTES