Top
ETERNUS SF Storage Cruiser 14.0 User's Guide

12.2.4 Commands for storage management

The following sections explain the commands for managing the storage device.

The following table shows the correspondence between types of commands and the storage devices where they can be used. Only OS administrator (root) user can execute these commands. In the following table, "A" indicates "Available" and "N/A" indicates "Not Available".

Command name

ETERNUS8000,
ETERNUS4000 (except models 80 and 100),
ETERNUS2000
ETERNUS DX60/DX80

Other storage devices

storageadm disk

A

N/A

storageadm raid

A

N/A

storageadm volume

A

N/A

storageadm affinity

A

N/A

storageadm ecomode

A

N/A


12.2.4.1 Disk management command (storageadm disk)

NAME

storageadm disk - manages disks


SYNOPSIS

/opt/FJSVssmgr/sbin/storageadm disk info -ipaddr ipaddr [-csv]

DESCRIPTION

This command displays information of disks in the ETERNUS disk storage system that is registered in this software.


OPERANDS

info

Displays detail information of disks in the ETERNUS disk storage system that is registered in this software.


OPTIONS

Options that can be specified when the info operand is specified
-ipaddr ipaddr

Specify the IP address of the storage device.

-csv

Displays the disk information in the CSV format. When this option is omitted, it is displayed in the table format.


EXAMPLES

12.2.4.2 RAID management command (storageadm raid)

NAME

storageadm raid - manages RAID groups


SYNOPSIS

/opt/FJSVssmgr/sbin/storageadm raid add -ipaddr ipaddr -disk DE_number:slot_number,DE_number:slot_number[,DE_number:slot_number,...] -level RAIDlevel [-name alias_name] [-cm assigned_CM] [-csv]
/opt/FJSVssmgr/sbin/storageadm raid delete -ipaddr ipaddr -raidgroup RAIDGroup_number [-f] [-s]
/opt/FJSVssmgr/sbin/storageadm raid info -ipaddr ipaddr [-raidgroup RAIDGroup_number] [-csv]
/opt/FJSVssmgr/sbin/storageadm raid ecomode -ipaddr ipaddr -raidgroup RAIDGroup_number [,RAIDGroup_number,...] -on|-off [-s]

DESCRIPTION

This command is used to create/delete/display a RAID group in the ETERNUS disk storage system that is registered in this software.


OPERANDS

add

Creates a RAID group

delete

Deletes a RAID group

info

Displays a RAID group information

ecomode

Sets eco-mode for the RAID group


OPTIONS

Options that can be specified when the add operand is specified
-ipaddr ipaddr

Specify the IP address of the storage device.

-disk DE_number:slot_number,DE_number:slot_number[,DE_number:slot_number,...]

Specify DE numbers and slot numbers for the storage device using either decimal or hexadecimal notation, placing a colon (":") in the middle of each DE number and slot number pair, and using commas (",") to separate pairs. For example, two pairs can be specified as "-disk 1:1, 1:2" in decimal notation or "-disk 0x1:0x1,0x1:0x2" in hexadecimal notation.

Be sure to specify at least two DE number/slot number pairs.

-level RAIDlevel

Specify the RAID level by the minuscule as follows.

Characters that can be specified

Created RAID level

raid0

RAID0

raid1

RAID1

raid1+0

RAID1+0

raid5

RAID5

raid6

RAID6

-name alias_name

Specify an alias for the RAID group to be created. Aliases can only be set up for ETERNUS2000, ETERNUS DX60/DX80. If this option is omitted, an alias will not be set up. This command will terminate with an error if this option is specified for other storage devices.

Only alphanumeric characters (a to z, A to Z and 0 to 9) and the following symbols can be used for aliases: !@#$%^&*()-= `_+|~[]{};:'"./<>?. If the alias contains a space, enclose the entire alias in double quotes (e.g., -name "123 567").

-cm assigned_CM

Specify the assigned CM number for the RAID group using two digits, as in the following table. If this option is omitted, the assigned CM number will be set up automatically ("auto" will be specified).

Storage device

Assigned CM

Characters to be specified

Remarks

ETERNUS DX60/DX80
ETERNUS2000

CM#0

00

For the first digit, enter the assigned CM number.
For the second character, always enter "0".

CM#1

10

Other

CM#0 CPU#0

00

For the first digit, enter the assigned CM number.
For the second digit, enter the number of the CPU within the CM entered for the first digit.

CM#0 CPU#1

01

CM#1 CPU#0

10

CM#1 CPU#1

11

:

:

CM#7 CPU#0

70

CM#7 CPU#1

71

-csv

Displays the RAID group number in the CSV format. When this option is omitted, it is displayed in the table format.

Options that can be specified when the delete operand is specified
-ipaddr ipaddr

Specify the IP address of the storage device.

-raidgroup RAIDGroup_number

Specify the RAID group number to be deleted, using either decimal or hexadecimal notation.
For example, RAID group number 16 can be specified using decimal notation as "-raidgroup 16" or in hexadecimal notation as "-raidgroup 0x10".

-s

Processing continues without the output of a confirmation message.

-f

If there are volumes within the RAID group, the volumes will be deleted before the RAID group is deleted. However, the command will terminate with an error without deleting the volumes if any of the following conditions apply to the RAID group:

  • The volumes in the RAID group have been mapped

  • There are volumes other than open volumes

  • There are LUN concatenated volumes

Options that can be specified when the info operand is specified
-ipaddr ipaddr

Specify the IP address of the storage device.

-raidgroup RAIDGroup_number

Specify the RAID group number for which detailed information is to be displayed, using either decimal or hexadecimal notation.
For example, RAID group number 16 can be specified using decimal notation as "-raidgroup 16" or in hexadecimal notation as "-raidgroup 0x10".

-csv

Displays the RAID group information in the CSV format. When this option is omitted, it is displayed in the table format.

Options that can be specified when the ecomode operand is specified
-ipaddr ipaddr

Specify the IP address of the storage device.

-raidgroup [RAIDGroup_number, ...]

Specify the RAID group number for which detailed information is to be displayed, using decimal and/or hexadecimal notations.
For example, RAID group number 16 can be specified using decimal notation as "-raidgroup 16" or in hexadecimal notation as "-raidgroup 0x10".

-on

Set eco-mode to ON for the specified RAID group. The only possible specifications are -off and -on. This option cannot be set if eco-mode cannot be set for any one of the specified RAID groups.

-off

Set eco-mode to OFF for the specified RAID group. The only possible specifications are -off and -on.

-s

Continues processing without asking for confirmation.


EXAMPLES

NOTES

12.2.4.3 Volume management command (storageadm volume)

NAME

storageadm volume - manages volumes


SYNOPSIS

/opt/FJSVssmgr/sbin/storageadm volume add -ipaddr ipaddr -size capacity -raidgroup RAIDGroup_number [-name alias_name] [-csv]
/opt/FJSVssmgr/sbin/storageadm volume delete -ipaddr ipaddr -volume volume_number[,volume_number,...] [-s]
/opt/FJSVssmgr/sbin/storageadm volume format -ipaddr ipaddr -volume volume_number[,volume_number,...] [-s]
/opt/FJSVssmgr/sbin/storageadm volume info -ipaddr ipaddr [-volume volume_number,...] [-csv]
/opt/FJSVssmgr/sbin/storageadm volume nomapping -ipaddr ipaddr [-volume volume_number,...] [-csv]

DESCRIPTION

This command is used to create/delete/format/display volumes in the ETERNUS disk storage system that is registered in this software.


OPERANDS

add

Creates a volume.

delete

Deletes volumes.

format

Formats volumes.

info

Displays volume information.

nomapping

Displays the information of volumes that are not mapped to affinity group.


OPTIONS

Options that can be specified when the add operand is specified
-ipaddr ipaddr

Specify the IP address of the storage device.

-size capacity

Specify the size of the volume to be created in MB or GB. 1 GB is equivalent to 1024 MB.
For example, 1024 MB is specified as "-size 1024MB" or "-size 1GB".

-raidgroup RAIDGroup_number

Specify the RAID group number for which a volume is to be created, using either decimal or hexadecimal notation.
For example, RAID group number 16 can be specified using decimal notation as "-raidgroup 16" or in hexadecimal notation as "-raidgroup 0x10".

-name alias_name

Specify an alias for the volume to be created. Aliases can only be set up for ETERNUS2000, ETERNUS DX60/DX80. If this option is omitted, an alias will not be set up. This command will terminate with an error if this option is specified for other storage devices.

Only alphanumeric characters (a to z, A to Z and 0 to 9) and the following symbols can be used for aliases: !@#$%^&*()-= `_+|~[]{};:'"./<>?. If the alias contains a space, enclose the entire alias in double quotes (e.g., -name "123 567").

-csv

Displays the created volume number in the CSV format. When this option is omitted, it is displayed in the table format.

Options that can be specified when the delete operand or format operand is specified
-ipaddr ipaddr

Specify the IP address of the storage device.

-volume volume_number[,volume_number,...]

Specify the numbers for the volumes to be deleted or formatted, using either decimal or hexadecimal notation. If multiple volume numbers are specified, use commas (",") to separate volume numbers.
For example, specify volumes 10 and 16 as either "-volume 10, 16" in decimal notation or "-volume 0xa,0x10" in hexadecimal notation.

-s

Processing continues without the output of a confirmation message.

Options that can be specified when the info operand or nomapping operand is specified
-ipaddr ipaddr

Specify the IP address of the storage device.

-volume volume_number[,volume_number,...]

Enter the number of the volume to be output for which information is to be output, using either decimal or hexadecimal notation. If multiple volume numbers are specified, use commas (",") to separate volume numbers.
For example, specify volumes 10 and 16 as either "-volume 10, 16" in decimal notation or "-volume 0xa,0x10" in hexadecimal notation.

If this option is omitted, information will be displayed for all target volumes.

-csv

Displays the volume information in the CSV format. When this option is omitted, it is displayed in the table format.


EXAMPLES

NOTES

12.2.4.4 AffinityGroup management command (storageadm affinity)

NAME

storageadm affinity - manages affinity groups


SYNOPSIS

/opt/FJSVssmgr/sbin/storageadm affinity add -ipaddr ipaddr -volume volume_number[,volume_number,...] [-lun LUN_number] [-affinitygroup affinitygroup_number] [-name alias_name] [-csv]
/opt/FJSVssmgr/sbin/storageadm affinity delete -ipaddr ipaddr -affinitygroup affinitygroup_number [-s]
/opt/FJSVssmgr/sbin/torageadm affinity update -ipaddr ipaddr -affinitygroup affinitygroup_number {-add -volume volume_number[,volume_number,...] [-lun LUN_number[,LUN_number,...]] | -delete [-volume volume_number[,volume_number,...] | -lun LUN_number[,LUN_number,...]]} [-s]
/opt/FJSVssmgr/sbin/storageadm affinity info -ipaddr ipaddr [-affinitygroup affinitygroup_number] [-csv]

DESCRIPTION

This command is used to create/delete/modify/display affinity groups in the ETERNUS disk storage system that is registered in this software.


OPERANDS

add

Creates an affnity group.

delete

Deletes an affinity group.

update

Updates the configuration of an affinity group.

info

Displays the affinity group information.


OPTIONS

Options that can be specified when the add operand is specified
-ipaddr ipaddr

Specify the IP address of the storage device.

-volume volume_number[,volume_number,...]

Specify the number of the volume to be set to an affinity group, using either decimal or hexadecimal notation. If multiple volume numbers are specified, use commas (",") to separate volume numbers.
For example, specify volumes 16, 17 and 18 as either "-volume 16,17,18" in decimal notation or "-volume 0x10,0x11,0x12" in hexadecimal notation.

-lun LUN_number,...

Specify the LUN number to be allocated to the volume, using either decimal or hexadecimal notation. The number of LUN numbers specified must be the same as the number of volumes specified using the -volume option, and the LUN numbers must also be listed in the same order as their corresponding volume numbers. If multiple LUN numbers are specified, use commas (",") to separate LUN numbers.
For example, specify LUN numbers 16, 17 and 18 as either "-lun 16,17,18" in decimal notation or "-lun 0x10,0x11,0x12" in hexadecimal notation.

If this option is omitted, LUN numbers will be allocated in order, starting from 0.

-affinitygroup affinitygroup_number

Specify the affinity group number to be created, using either decimal or hexadecimal notation.
For example, specify affinity group number 16 as either "-affinitygroup 16" in decimal or "-affinitygroup 0x10" in hexadecimal.

If this option is omitted, the affinity group numbers that can be created within the target storage device will be allocated automatically.

-name alias_name

Specify an alias for the affinity group to be created. This option is required for ETERNUS2000, but can be omitted for ETERNUS4000 and ETERNUS8000. If this option is omitted, an alias will not be set up.

Only alphanumeric characters (a to z, A to Z and 0 to 9) and the following symbols can be used for aliases: !@#$%^&*()-= `_+|~[]{};:'"./<>?. If the alias contains a space, enclose the entire alias in double quotes (e.g., -name "123 567").

-csv

Displays the created affinity group number in the CSV format. When this option is omitted, it is displayed in the table format.

Options that can be specified when the delete operand is specified
-ipaddr ipaddr

Specify the IP address of the storage device.

-affinitygroup affinitygroup_number

Specify the number of the affinity group to be deleted, using either decimal or hexadecimal notation.
For example, specify affinity group number 16 as either "-affinitygroup 16" in decimal or "-affinitygroup 0x10" in hexadecimal.

-s

Processing continues without the output of a confirmation message.

Options that can be specified when the update operand is specified
-ipaddr ipaddr

Specify the IP address of the storage device.

-affinitygroup affinitygroup_number

Specify the number of the affinity group whose configuration is to be changed, using either decimal or hexadecimal notation.
For example, specify affinity group number 16 as either "-affinitygroup 16" in decimal or "-affinitygroup 0x10" in hexadecimal.

-add

Adds volumes in the affinity group.
When the number for the allocated volume/LUN is specified, this command terminates abnormally.

-delete

Deletes volumes from an affinity group.
The command will terminate abnormally if a volume number or LUN number of a volume that has not been mapped is specified, or if deleting the specified mapping will mean that there are no more mappings.

-volume volume_number[,volume_number,...]

Specify the volume number of the volume to be added to or deleted from an affinity group, using either decimal or hexadecimal notation. If multiple volume numbers are specified, use commas (",") to separate volume numbers.
For example, specify volumes 16, 17 and 18 as either "-volume 16,17,18" in decimal notation or "-volume 0x10,0x11,0x12" in hexadecimal notation.

This option cannot be specified together with the -lun option when deleting volumes from an affinity group. Delete volumes by specifying either this option or the -lun option, not both together.

-lun LUN_number[,LUN_number,...]

Specify the LUN number to be allocated to a volume or released from a volume, using either decimal or hexadecimal notation. The number of LUN numbers specified must be the same as the number of volumes specified using the -volume option, and the LUN numbers must also be listed in the same order as their corresponding volume numbers. If multiple LUN numbers are specified, use commas (",") to separate LUN numbers.
For example, specify LUN numbers 16, 17 and 18 as either "-lun 16,17,18" in decimal notation or "-lun 0x10,0x11,0x12" in hexadecimal notation.

If this option is omitted when LUN numbers are being allocated, LUN numbers will be automatically allocated, starting with the smallest free LUN number.

When LUN numbers are being released from volumes, this option cannot be specified together with the -volume option. Release LUN numbers by specifying either this option or the -volume option, but not both together.

-s

Processing continues without the output of a confirmation message.

Options that can be specified when the info operand is specified
-ipaddr ipaddr

Specify the IP address of the storage device.

-affinitygroup affinitygroup_number

Specify the number of the affinity group for which detailed information is to be displayed, using either decimal or hexadecimal notation.
For example, specify affinity group number 16 as either "-affinitygroup 16" in decimal or "-affinitygroup 0x10" in hexadecimal.

If this option is omitted, a list of affinity groups will be displayed.

-csv

Displays the affinity group information in the CSV format. When this option is omitted, it is displayed in the table format.


EXAMPLES

NOTES

12.2.4.5 Eco-mode command (storageadm ecomode)

NAME

storageadm ecomode - Operates the eco-mode


SYNOPSIS

/opt/FJSVssmgr/sbin/storageadm ecomode on -ipaddr ipaddr
/opt/FJSVssmgr/sbin/storageadm ecomode off -ipaddr ipaddr [-s]
/opt/FJSVssmgr/sbin/storageadm ecomode info -ipaddr ipaddr [-csv]

DESCRIPTION

This command toggles and displays eco-mode information for ETERNUS disk storage systems registered to this product.

OPERANDS

on

Sets eco-mode to ON.

off

Sets eco-mode to OFF.

info

Displays eco-mode status.

OPTIONS

When on is specified
-ipaddr ipaddr

Specify the IP address of the storage device.

When off is specified
-ipaddr ipaddr

Specify the IP address of the storage device.

-s

Continues processing without asking for confirmation.

When info is specified
-ipaddr ipaddr

Specify the IP address of the storage device.

-csv

Displays the eco-mode status of the ETERNUS disk storage system in CSV format.

EXAMPLES

NOTES

12.2.4.6 Performance monitoring command(storageadm perfctl)

NAME

storageadm perfctl - Performs monitoring operations


SYNOPSIS

/opt/FJSVssmgr/sbin/storageadm perfctl start -ipaddr ipaddr [-interval time]
/opt/FJSVssmgr/sbin/storageadm perfctl stop -ipaddr ipaddr
/opt/FJSVssmgr/sbin/storageadm perfctl status -ipaddr ipaddr

DESCRIPTION

This command starts and stops performance monitoring for the NR1000F series and displays the performance monitoring status.

OPERANDS

start

Starts performance monitoring.

stop

Stops performance monitoring.

status

Displays the performance monitoring status.

OPTIONS

When start is specified
-ipaddr ipaddr

Specify the IP address of the storage device.

-interval time

Specify either 10, 30, 60, or 300 (seconds unit) as the performance monitoring interval. If this option is omitted, monitoring is performed at 30 second intervals.

When stop is specified
-ipaddr ipaddr

Specify the IP address of the storage device.

When status is specified
-ipaddr ipaddr

Specify the IP address of the storage device.

EXAMPLES

Status description

NOTES