A P P E N D I X  A

Summary of Sun StorEdge CLI Options and Commands

This appendix contains:

A list of the Sun StorEdge CLI commands is also available with the help or usage command within the Sun StorEdge CLI.


TABLE A-1 Optional Parameters Available With Most Commands

Options

Function

-d, --disk

LVD JBOD enclosure only. Selects the disk device name that you specify such as sd31 or c1t0d0 when a JBOD chassis is selected.

-h, --help,
--usage

display valid commands

-l, --list

display a list of local or remote devices that the Sun StorEdge CLI manages, and exits without processing any commands

-n, --no

assumes a no response to any yes/no prompts. Use this option to run scripts without prompting the user

-o, --oob

access the selected device using out-of-band communication (through its network interface) rather than using SCSI commands

-v, --version

display program version information

-w, --password

specify the password assigned to the array controller

-y, --yes

assumes a yes response to any yes/no prompts. Use this option to run scripts without prompting the user


An “X” in a product column in the following table indicates that the Sun StorEdge CLI command works with that product.


TABLE A-2 Platform support for RAID Array Commands

Command / Page Number

Function

Sun StorEdge 3510 FC Array

Sun StorEdge 3511 SATA Array

Sun StorEdge 3310 SCSI Array

Sun StorEdge 3320 SCSI Array

abort clone

stop the cloning of the specified disk drive

X

X

X

X

abort create

stop the creation of a logical drive

X

X

X

X

abort expand

stop the expansion of a logical drive

X

X

X

X

abort media-check

stop a media check on specified disks or all member disks of the specified logical drive

X

X

X

X

abort parity-check

stop the parity check on the specified logical drive

X

X

X

X

abort rebuild

stop the rebuilding of a logical drive

X

X

X

X

about

display program version and copyright info

X

X

X

X

add disk

add one disk or a list of disks to the specified logical drive

X

X

X

X

check media

check specified disks or all member disks of the specified logical drive

X

X

X

X

check parity

check device parity

X

X

X

X

clear events

clear the event log

X

X

X

X

clone

use a destination disk to copy and replace a drive that is suspected of failing

X

X

X

X

configure channel

configure a host or drive channel

X

X

X

X

configure global-spare

configure a disk as a global spare

X

X

X

X

configure local-spare

configure a disk as a local spare for a specific logical drive

X

X

X

X

configure network-interface

set network interface parameters

X

X

X

X

configure partition

configure a logical drive partition of the specified size

X

X

X

X

create host-wwn-name

create a Host-ID/WWN item

X

X

 

 

create logical-drive

create a logical drive

X

X

X

X

create logical-volume

create a logical volume over the specified logical drives

X

X

X

X

delete host-wwn-name

delete a Host-ID/WWN item

X

X

 

 

delete logical-drive

delete a logical drive

X

X

X

X

delete logical-volume

delete one or more logical volumes

X

X

X

X

download controller-configuration

download array controller binary configuration

X

X

X

X

download controller-firmware

download array controller firmware (optionally with hard reset)

X

X

X

X

download disk-firmware

download disk drive firmware to internal drives

X

X

X

X

download nvram

download NVRAM file

X

X

X

X

download pld-hardware

download enclosure PLD hardware

X

X

 

 

download safte-firmware

download enclosure SAF-TE firmware

 

 

X

X

download sata-path-controller-firmware

download the path controller microcode that resides on the MUX boards behind the SATA router.

 

X

 

 

download sata-router-firmware

download SR-1216 router firmware to accessible SR-1216 routers behind the RAID controller

 

X

 

 

download ses-firmware

download enclosure SES firmware

X

X

 

 

exit

exit the Sun StorEdge CLI

X

X

X

X

expand

expand a logical drive by the specified size per available physical drive

X

X

X

X

fail

fail a controller in a redundant controller pair

X

X

X

X

help

display help for commands

X

X

X

X

map partition

map a logical drive or logical volume partition to a host channel/target/LUN

X

X

X

X

mute

silence the enclosure alarm

X

X

X

X

password

specify the array controller password

X

X

X

X

quit

exit the program

X

X

X

X

rebuild

rebuild the specified logical drive

X

X

X

X

reset controller

reset the array controller

X

X

X

X

reset nvram

restore NVRAM to factory defaults

X

X

X

X

scan disk

scans and makes available a hard drive without having to shut down the array

 

 

X

X

select

specify a storage device to monitor or configure

X

X

X

X

set auto-write-through-trigger

configure the array to dynamically switch from write-back cache to write-through cache if a specified event occurs

X

X

X

X

set cache-parameters

set cache write policy and optimization policy

X

X

X

X

set controller-date

set a controller date and time

X

X

X

X

set controller-name

set the controller name

X

X

X

X

set controller-password

set the controller password

X

X

X

X

set disk-array

set disk array parameters including the background logical drive rebuilding priority and hard drive data verification

X

X

X

X

set drive-parameters

set drive channel parameters

X

X

X

X

set host-parameters

set host channel parameters

X

X

X

X

set inter-controller-link

enable/disable per-channel inter-controller link

X

X

 

 

set led

change the drive LED for the specified disk (or slot) from green to amber

X

X

X

X

set logical-drive

set the write policy for a logical drive

X

X

X

X

set logical-volume

set the write policy for the specified logical volume

X

X

X

X

set protocol

enable or disable the specified network protocol and set the Telnet inactivity timeout value.

X

X

X

X

To remove an existing password, specify a zero-length string with a pair of double-quote characters. For example:

set the RS-232 interface baud rate

X

X

X

X

set unique-identifier

set the subsystem’s six-digit hexadecimal serial number

X

X

X

X

show access-mode

display the Sun StorEdge CLI access mode

X

X

X

X

show auto-write-through-trigger

display the event trigger status for the controller

X

X

X

X

show battery-status

display battery information including battery type, manufacturing data, in-service date, expiration date, and status

X

X

 

 

show bypass device

display the bypass status of all devices on a specified loop

X

X

 

 

show bypass RAID

display the hardware bypass status of the RAID controllers on Loop A and Loop B

X

X

 

 

show bypass SFP

display the bypass status of all SFPs on a specified loop

X

X

 

 

show cache-parameters

display cache policy

X

X

X

X

show channels

display channel configuration

X

X

X

X

show clone

display the progress of disk cloning

X

x

X

X

show configuration

display the RAID enclosure device’s configuration

X

X

X

X

show controller-date

display the boot time and date of the RAID controller

X

X

X

X

show controller-name

display controller name

X

X

X

X

show disk-array

display the disk array parameters including the logical drive rebuild priority and the hard drive settings for verifying the written data for initializing, rebuilding, and writing normal I/O data

X

X

X

X

show disks

display information for array disks

X

X

X

X

show disks logical-drive

display information for array disks in a logical drive

X

X

X

X

show drive-parameters

display drive parameters

X

X

X

X

show enclosure-status

display the status for all chassis components including the fan, power supply, temperature sensor, and drive slots

X

X

X

X

show events

display the controller event log

X

X

X

X

show frus

display FRU-ID information

X

X

X

X

show host-parameters

display host I/O parameters

X

X

X

X

show host-wwn-names

display all registered HBA WWNs in the controller for host channels

X

X

 

 

show inquiry-data

display SCSI inquiry data for selected device

X

X

X

X

show inter-controller-link

display status of inter-controller link on specified channel

X

X

 

 

show ip-address

display the controller’s IP network address

X

X

X

X

show led-status

display the status of the LED adjacent to the specified disk drive slot in the array enclosure or expansion chassis.

X

X

X

X

show logical-drive

display logical drives

X

X

X

X

show logical-drives add-disk

display the status of disks that are being added to a logical drive

X

X

X

X

show logical-drives expanding

display the progress of the logical drive expansion

X

X

X

X

show logical-drives initializing

display the progress of the RAID controller initialization

X

X

X

X

show logical-drives logical volume

display information about for all logical drives in a specified logical volume

X

X

X

X

show logical-drives parity-check

display the parity check progress for a logical drive

X

X

X

X

show logical-drives rebuilding

display the rebuilding progress for all logical drives

X

X

X

X

show logical-volumes

display logical volumes

X

X

X

X

show loop-map

display the FC loop positional map for a given channel

X

X

 

 

show lun-maps

display LUN maps for host channels

X

X

X

X

show media-check

display the progress of a media check

X

X

X

X

show network-parameters

display controller network parameters

X

X

X

X

show partitions

display partitions of logical drives

X

X

X

X

show peripheral-device-status

display the status for all environmental sensors for the controller

X

X

X

X

show port-wwn

display host channel FC Port Name WWNs

X

X

 

 

show protocol

display all possible network protocols supported by the controller or particular information of a specified protocol

X

X

X

X

show redundancy-mode

display redundancy status

X

X

X

X

show redundant-controller

display the redundant-controller information

X

X

X

X

show rs232-configuration

display serial port configuration

X

X

X

X

show safte-device

display status of SAF-TE devices

 

 

X

X

show sata-mux

display the SATA MUX board information for all drives

 

X

 

 

show sata-router

display all accessible SATA routers behind the RAID controller

 

X

 

 

show ses-devices

display status of SES devices, including the PLD revision

X

X

 

 

show shutdown-status

display the controller shutdown status

X

X

X

X

show stripe-size-list

display the valid stripe block size list for the specified RAID level

X

X

X

X

show unique-identifier

display subsystem six-digit unique identifier

X

X

X

X

shutdown controller

shut down controller (prepare for power off)

X

X

X

X

shutdown logical-drive

shut down (force offline) a logical drive

X

X

X

X

unconfigure global-spare

unconfigure a global spare drive

X

X

X

X

unconfigure local-spare

unconfigure a local spare drive

X

X

X

X

unfail

restore (deassert) a failed controller

X

X

X

X

unmap partition

unmap a logical drive or logical volume partition from a host channel/target/LUN

X

X

X

X

upload controller-configuration

upload array controller binary configuration

X

X

X

X

upload nvram

upload an NVRAM file

X

X

X

X

version

display program version

X

X

X

X


An “X” in a product column in the following table indicates that the Sun StorEdge CLI command works with that product.


TABLE A-3 JBOD Commands

Command / Page Number

Function

Sun StorEdge 3510 FC JBOD

Sun StorEdge 3310 SCSI JBOD

Sun StorEdge 3320 SCSI JBOD

Sun StorEdge 3120 SCSI JBOD

about

display program version and copyright info

X

X

X

X

download pld-hardware

download PLD hardware into the SES microprocessor in a FC JBOD device

X

 

 

 

download safte-firmware

download firmware into the microprocessors within a SCSI JBOD

 

X

X

X

download ses-firmware

download enclosure SES firmware

X

 

 

 

exit

exit the Sun StorEdge CLI

X

X

X

X

help

display help for commands

X

X

X

X

quit

exit the program

X

X

X

X

select

specify a storage device to monitor or configure

X

X

X

X

set led

specify a name for a disk drive slot in the array enclosure or expansion chassis

 

X

X

X

show access-mode

display the access mode

X

X

X

X

show configuration

display the device’s configuration

X

X

X

X

show enclosure-status

display the status for all chassis components including the fan, power supply, temperature sensor, and drive slots

X

X

X

X

show frus

display FRU-ID information

X

X

X

X

show inquiry-data

display SCSI inquiry data for selected device

X

X

X

X

show led-status

display the status for the specified disk drive slot in the array enclosure or JBOD

 

X

X

X

show safte-device

display status of SAF-TE devices

 

X

X

X

show ses-devices

display status of SES devices including the PLD revision

X

 

 

 

version

display program version

X

X

X

X