NAME
swstsdv - Initialize or display the Snap Data Volume
SYNOPSIS
/opt/FJSVswsts/bin/swstsdv init Volume-Name /opt/FJSVswsts/bin/swstsdv init -G Access-Volume-Name LU-Number
/opt/FJSVswsts/bin/swstsdv stat Volume-Name /opt/FJSVswsts/bin/swstsdv stat -G Access-Volume-Name LU-Number
/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.
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 (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.
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 (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
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:
# /opt/FJSVswsts/bin/swstsdv init /dev/dsk/c2t18d4s2 swstsdv init completed #
The Snap Data Volume is initialized using the access volume following insufficient capacity:
# /opt/FJSVswsts/bin/swstsdv init -G /dev/dsk/c2t18d1s2 110 swstsdv init completed #
The Snap Data Volume status is displayed:
# /opt/FJSVswsts/bin/swstsdv stat /dev/dsk/c2t18d4s2 BoxID = 00E4000M3#####E450S20A####KD4030639004## LUN = 77 (0x4D) Rate Logical(sector) Physical(sector) Used(sector) Copy(sector) Host(sector) Pool(sector) 0% 8388608 1048576 0 0 0 0 #
The LU-Number (110) status is displayed using the access volume:
# /opt/FJSVswsts/bin/swstsdv stat -G /dev/dsk/c2t18d1s2 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 #
The Snap Data Pool status is displayed by specifying the access volume:
# /opt/FJSVswsts/bin/swstsdv poolstat -G /dev/dsk/c2t18d1s2 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 #
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.