beautypg.com

14 setonline command, 15 status command, Setonline command – Avago Technologies LSI SAS 3041E-R User Manual

Page 117: Status command

background image

CFGGEN Commands

6-19

Version 1.3

Copyright © 2001, 2002, 2007 by LSI Logic Corporation. All rights reserved.

6.3.14 SETONLINE Command

The SETONLINE command brings a physical disk in a volume online,
which is required only after the physical disk has been taken offline by
the SETOFFLINE command. When a physical disk is brought online, the
IOC synchronizes the volume.

Command Line –

cfggen setonline

Parameters –

– Number of the SCSI bus or SAS controller targeted
by this command.

– SCSI target ID of the drive targeted by this command.

Program Return Value –

0x00

SUCCESS: Command completed successfully.

0x01

FAILURE: Bad command line arguments or operational failure.

0x02

ADAPTER_NOT_FOUND: Specified adapter cannot be found.

6.3.15 STATUS Command

The STATUS command displays the status of any volume
synchronization operation currently in progress on the controller. If no
such operation is in progress, CFGGEN displays a message indicating
this before it exits. This command adds the flag Inactive to the Volume
State field, if the controller firmware marks the volume as Inactive.

Command Line –

cfggen status

Parameters –

– Number of the SCSI bus or SAS controller targeted
by this command.