Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
User Commandssmart2cfg(1)


NAME

 smart2cfg - Compaq Smart-2 EISA/PCI and Smart-2SL PCI Array Controller ioctl utility

SYNOPSIS

 smart2cfg -c [controller_num]
 smart2cfg -d [controller_num]
 smart2cfg -h
 smart2cfg -l logical_drive_num [controller_num]
 smart2cfg -p physical_drive_num bus_num [controller_num]

DESCRIPTION

 

The smart2cfg utility issues controller-specific ioctls to the Compaq Smart-2 EISA/PCI and Smart-2SL PCI array controller using the smartii(7d) driver.

smart2cfg provides information about the Smart-2 and Smart-2SL controllers installed on the system, the Logical and Physical drives as well as the details of the ReadWrite cache present on each controller. The utility is text based and is driven by command line arguments. smart2cfg and the smartii(7d) driver communicate using ioctls. smart2cfg also supports multiple commands.

OPTIONS

 

The following options are supported:

-c controller_num
Prints cache details of the cache on controller controller_num.
-d controller_num
Prints details of all the physical disks, all the logical drives, and the cache on controller controller_num.
-h
Provides on-line help for the smart2cfg utility.
-l logical_drive_num controller_num
Prints logical drive details of the drive logical_drive_num on controller controller_num.
-p physical_drive_num bus_num controller_num
Prints physical drive details of the disk physical_drive_num on bus bus_num on controller controller_num.

EXAMPLES

 Example 1. Providing details of the physical disk
 

To provide details of the physical disk with SCSI ID 0, on Bus 0, on controller 0:

 
example% smart2cfg -p -0 0 0
Example 2. Providing logical drive details
 

To provide logical drive details of logical drive 0 on controller 0:

 
example% smart2cfg -l 0 0
Example 3. Providing cache details
 

To provide cache details of controller 0:

 
example% smart2cfg -c 0

Example 4. Providing information of all physical disks, logical drives, and cache on a controller
 

To provide information on all physical disks, logical drives, and cache on controller 0:

 
smart2cfg -d
Example 5. Providing details of the disk
 

To provide details of the disk with SCSI ID 0, on Bus 0, on controller 0, and logical drive details of logical drive 0 on controller 1:

 
example% smart2cfg -p  0  0  0 -l  0  1

FILES

 
/devices/eisa/smartii@<instance>,<ioaddr>:ioctlnode
/devices/pci@0,<bus_num>/pci1014,22@<device_num>/pcie11,4030@0:ioctlnode
/devices/pci@0,<bus_num>/pci1014,22@<device_num>/pcie11,4031@0:ioctlnode

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
ArchitectureIA

SEE ALSO

 

attributes(5), smartii(7d)

NOTES

 

If the controller is not specified, the first controller is taken as default.


SunOS 5.9Go To TopLast Changed 20 Jun 1997

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.