NAME
swstsdv - Initialize or display the Snap Data Volume
SYNOPSIS
<program-directory>\swstsdv init Volume-Name <program-directory>\swstsdv init -G Access-Volume-Name LU-Number
<program-directory>\bin\swstsdv stat Volume-Name <program-directory>\bin\swstsdv stat -G Access-Volume-Name LU-Number
<program-directory>\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.
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.)
If there is necessary data in the Snap Data Volume, back it up in advance using the relevant OS command.
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.
Initialize the Snap Data Volume using this command.
Initialize the information using the access volume when there is a logical volume manager operation.
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. |
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'. |
Copy | For the space used in the Snap Data Volume, Copy usage (*1) is displayed. The unit used for display is 'sector'. |
Host | For the space used in the Snap Data Volume, Host usage (*1) 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'. |
*1:
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.
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. |
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'. |
Copy | For the space used in the Snap Data Pool, Copy usage (*1) is displayed. The unit used for display is 'sector'. |
Host | For the space used in the Snap Data Pool, Host usage (*1) 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'. |
*1:
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
Specifies the access volume.
For details on access volume, refer to "Creating an access volume".
Specifies the access volume.
For details on access volume, refer to "Creating an access volume".
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
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.
Specifies the logical unit number in the ETERNUS Disk storage system.
This value is specified as a decimal.
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.
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
Snap Data Volume is initialized:
C:\>C:\Win32app\AdvancedCopyManager\bin\swstsdv init g3d110 swstsdv init completed C:\>
The Snap Data Volume is initialized using the access volume following insufficient capacity:
C:\>C:\Win32app\AdvancedCopyManager\bin\swstsdv init -G g3d24 110 swstsdv init completed C:\>
The Snap Data Volume status is displayed:
C:\>C:\Win32app\AdvancedCopyManager\bin\swstsdv stat g3d110 BoxID = 00E4000M3#####E450S20A####KD4030639004## LUN = 110 (0x6E) Rate Logical(sector) Physical(sector) Used(sector) Copy(sector) Host(sector) Pool(sector) 0% 8388608 1048576 0 0 0 0 C:\>
The LU-Number (110) status is displayed using the access volume:
C:\>C:\Win32app\AdvancedCopyManager\bin\swstsdv stat -G g3d24 110 BoxID = 00E4000M3#####E450S20A####KD4030639004## LUN = 110 (0x6E) Rate Logical(sector) Physical(sector) Used(sector) Copy(sector) Host(sector) Pool(sector) 0% 8388608 1048576 0 0 0 0 C:\>
The Snap Data Pool status is displayed by specifying the access volume:
C:\>C:\Win32app\AdvancedCopyManager\bin>swstsdv poolstat -G g3d24 BoxID = 00E4000M3#####E450S20A####KD4030639004## Pool-Type Rate Total(sector) Used(sector) Copy(sector) Host(sector) Free(sector) Normal 10% 20971520 2097152 0 2097152 18874368 Encrypted 0% 20971520 0 0 0 20971520 C:\>
NOTES
When there is insufficient Snap Data Volume capacity, operations are possible using the access volume and logical unit number (LU-Number) in the ETERNUS Disk storage system.
When there is insufficient Snap Data Volume capacity, however, and "stat" is specified in the subcommand and an attempt is made to check the LU-Number of the Snap Data Volume with insufficient Snap Data Volume capacity, an access error occurs when the attempt to access the Snap Data Volume with insufficient Snap Data Volume capacity is made. In this case, an error occurs in the command and it is not possible to check the LU-Number.
For this reason, you must check the LU-Number in advance and record it.