This document contains proprietary information of LSI Logic Corporation. The
information contained herein is not to be used by or disclosed to third parties
without the express written permission of an officer of LSI Logic Corporation.
LSI Logic products are not intended for use in life-support appliances, devices,
or systems. Use of any LSI Logic product in such applications without written
consent of the appropriate LSI Logic officer is prohibited.
Document DB15-000310-00, January 2004
This document describes the current version of LSI Logic Corporation’s
Fusion-MPT FCode and will remain the official reference source for all
revisions/releases of this product until rescinded by an update.
LSI Logic Corporation reserves the right to make changes to any products herein
at any time without notice. LSI Logic does not assume any responsibility or
liability arising out of the application or use of any product described herein,
except as expressly agreed to in writing by LSI Logic; nor does the purchase or
use of a product from LSI Logic convey a license under any patent rights,
copyrights, trademark rights, or any other of the intellectual property rights of
LSI Logic or third parties.
LSI Logic, the LSI Logic logo design, Integrated Mirroring, Integrated Striping,
Integrated RAID, and Fusion-MPT are trademarks or registered trademarks of
LSI Logic Corporation. Solaris and OpenBoot are trademarks or registered
trademarks of Sun Microsystems, Inc
International, Inc. All other brand and product names may be trademarks of their
respective companies.
. SPARC is a trademark of SPARC
KL
To receive product literature, visit us at http://www.lsilogic.com.
For a current list of our distributors, sales offices, and design resource
This book is the primary reference and user’s guide for the LSI Logic
Fusion-MPT™FCode commands. It explains how to use these
commands and provides examples of each one.
This document assumes that you have some familiarity with SCSI and/or
Fibre Channel devices and some experience in using a command line
interface. The people who benefit from this book are
•engineers and others who need to use FCode commands with
LSI LogicSolaris SPARC capable host bus adapters to perform tasks
such as identifying SCSI and/or Fibre Channel devices on a system
or setting up an Integrated Mirroring™ volume.
Organization
This document has the following sections:
•Section 1, “Introduction,” provides a brief overview of Fusion-MPT
FCode.
•Section 2, “Fusion-MPT FCode Commands,” introduces the FCode
commands and explains how to use a command to identify the disk
adapter in your system.
•Section 3, “Fusion-MPT FCode SCSI Commands,” explains the
Fusion-MPT FCode commands that are used for SCSI adapters.
LSI Logic Solaris SPARC capable Fusion-MPT™ host bus adapters have
FCode resident on board, allowing operation under Sun Microsystem’s
OpenBoot console. All basic functionality is available at OpenBoot,
including the ability to display devices connected to the adapter, and boot
devices on the adapter. Additional functionality, such as updating the
firmware from the OpenBoot console, is also supported. See the
LSI Logic web site (http://www.lsilogic.com) for additional information,
current versions, and utilities.
A summary of commands available on Fusion-MPT adapters is provided
below.
2Fusion-MPT FCode Commands
Because Fusion-MPT is both portable and binary compatible, one FCode
driver runs both SCSI and Fibre Channel Fusion-MPT devices. The
same FCode commands are used for both SCSI and Fibre Channel
devices, because the configuration for both kinds of devices is similar.
For convenience, however, this document has separate SCSI and Fibre
Channel command sections, with some command information repeated
in both sections. See Section 3, “Fusion-MPT FCode SCSI Commands,”
To identify the disk adapter in your system, use the show-disks
command at the OpenBoot prompt, as shown in the example below. This
identifies all adapters that the system has identified as disk class. If the
show-disks command fails to see your adapter, the adapter is either not
correctly installed, or it is malfunctioning.
a) /pci@1f,0/pci@1/pci@1/pci@e/IntraServer-Ultra2,scsi@4,1/disk
b) /pci@1f,0/pci@1/pci@1/pci@e/IntraServer-Ultra2,scsi@4/disk
c) /pci@1f,0/pci@1/pci@1/scsi@d,1/disk
d) /pci@1f,0/pci@1/pci@1/scsi@d/disk
e) /pci@1f,0/pci@1/pci@1/LSILogic,scsi@c,1/disk
f) /pci@1f,0/pci@1/pci@1/LSILogic,scsi@c/disk
g) /pci@1f,0/pci@1/pci@1/IntraServer,fc@b,1/disk
h) /pci@1f,0/pci@1/pci@1/IntraServer,fc@b/disk
m) MORE SELECTIONS
q) NO SELECTION
Enter Selection, q to quit: q
Note:Devices ‘a’ through ‘f’ are SCSI adapters; devices ‘g’ and
‘h’ are Fibre Channel. The notation scsi@ is used for SCSI
devices; fc@ is used for Fibre Channel devices.
3Fusion-MPT FCode SCSI Commands
3.1Identifying the SCSI Disks
The probe-scsi-all command is used to identify all disks on your
Fusion-MPT adapters, and to identify other disk class adapters in the
system.
Use the probe-scsi-all command to show all Fibre Channel or SCSI
disks available from the OpenBoot prompt. All disks available on all
Fusion-MPT devices are displayed, as shown in the example below:
/pci@1f,0/pci@1/pci@1/scsi@d,1
Target 2
Unit 0 Disk SGI QUANTUM XP32150W589C
/pci@1f,0/pci@1/pci@1/scsi@d
Target 0
Unit 0 Disk SGI QUANTUM XP32150W589C
/pci@1f,0/pci@1/pci@1/LSILogic,scsi@c,1
MPT Version 1.02, Firmware Version 0.00.00
Target 0
Unit 0 DiskQUANTUM ATLAS IV 9 WLS 0B0B17942584 Blocks, 8971 MB
Target 1
Unit 0 DiskQUANTUM ATLAS IV 9 WLS 0B0B17942584 Blocks, 8971 MB
Target 2
Unit 0 DiskQUANTUM ATLAS IV 9 WLS 0B0B17942584 Blocks, 8971 MB
Target 3
Unit 0 DiskQUANTUM ATLAS IV 9 WLS 0B0B17942584 Blocks, 8971 MB
/pci@1f,0/pci@1/pci@1/LSILogic,scsi@c
MPT Version 1.02, Firmware Version 0.00.00
/pci@8,700000/IntraServer-Ultra160,scsi@3,1
If your system does not identify the SCSI Channel disks on your
LSI Logic Fusion-MPT adapter, check the following:
1.Is the disk enclosure powered ON?
2.Do the LEDs on the adapter indicate LVD operation? Refer to the
manual for the specific adapter to identify the correct operation of the
LED indicators.
3.Is the SCSI bus terminated at both ends (and only at the ends) with
LVD/SE terminators?
4.Does each SCSI disk have a unique SCSI ID that is different from
the host’s ID (host SCSI ID defaults to 7). For more information, see
Section 3.5, “Setting the SCSI Initiator ID,” page 10.
5.Are all the disks on the bus LVD? If there is an HVD device on the
bus, no disks will show up and the LVD LED on the Fusion-MPT
adapter will blink.
If your system does not identify the Fibre Channel disks on your
LSI Logic Fusion-MPT adapter, check the following:
1.Is the disk enclosure powered ON?
2.Does the LED on the adapter indicate LINK? (LINK is valid only after
the device is probed.)
3.Does the LED on the switch or remote enclosure indicate LINK?
4.Does the LINK-SPEED parameter selected by the adapter match
that of the bus (1G, 2G or Auto)?
If you do not see disks, the following additional debug information may
help to identify the problem.
3.2Verifying Correct Installation
Use this procedure to verify installation of your Fusion-MPT adapter in
the system.
1.Power on the system.
2.When the banner is displayed, press the Stop-A keys to interrupt the
boot process and stop at the ok prompt.
3.Use the show-devs command to list the system devices. You should
see an output similar to the following:
identifies the first Ultra320 SCSI interface on an LSI Logic 1030
based adapter.
•/pci@1f,0/pci@1/pci@1/LSILogic,scsi@c,1
identifies the second Ultra320 SCSI interface on an LSI Logic 1030
based adapter.
•An LSI Logic 1020 Ultra320 SCSI adapter shows only one such
SCSI device.
Note:The above are examples. The output of the show-devs
command varies depending on your system and its
configuration. Use the corresponding entries on your
system, not the ones given in the examples.
If your SCSI devices are not listed, check that the adapter is correctly
installed, and reseat the adapter if necessary.
3.3SCSI Adapter Specific Settings
In certain circumstances, the advanced user may want to change
settings for an individual adapter or port, without affecting the other
adapters in the system. Specific examples of such settings are SCSI
initiator ID and Interrupt Coalescing.
To select a specific Fusion-MPT adapter as the current adapter, use the
select command. Selecting a port or adapter brings the port online and
allows you to show or set certain adapter specific parameters.
Use caution when you issue the following commands. Using the
commands incorrectly could make the bus unusable—for example,
forcing the SCSI initiator ID to one that conflicts with another device on
the bus.
Use the select OpenBoot command to select the adapter entry. This
opens the port to bring the port online:
ok select /pci@1f,0/pci@1/pci@1/LSILogic,scsi@c
Note:Some versions of Sun Microsystem’s OpenBoot console do
not implement the select command. Use the following
syntax if the select command is not supported. Be sure to
include the space after each quotation mark:
ok " /pci@1f,0/pci@1/pci@1/LSILogic,scsi@c" select-dev
modify these values and write them to the nonvolatile EEPROM on the
adapter.
To change the interrupt coalescing values, first select the port or adapter
shown (use the port name your system assigns). Then use the show-
interrupt-coalescing and set-interrupt-coalescing commands, as
shown in the example below:
ok select /pci@1f,0/pci@1/pci@1/LSILogic,scsi@c
ok show-interrupt-coalescing
Interrupt coalescing timeout is a0 (160 decimal) microseconds
Interrupt coalescing depth is 4 (4 decimal)
ok set-interrupt-coalescing <- command with no arguments prints help
usage is <timeout> <depth> set-interrupt-coalescing
ok 100 8 set-interrupt-coalescing
Interrupt coalescing timeout selected is 100 (256 decimal) microseconds
Interrupt coalescing depth selected is 8 (8 decimal)
Interrupt coalescing has been set
Change will take effect after system reset
Note:The system must be power cycled for the changes to take
effect. It is not sufficient to execute the reset-all command.
Each device on a SCSI bus must be given a unique ID, in the range of
0 – 15. The default setting for SCSI host adapters in a Sun Solaris
environment is 7. It is seldom necessary to change the initiator ID, unless
the host adapter is being used in a cluster environment where there is
more than one SCSI initiator on the same physical SCSI bus.
There are three places where the SCSI initiator ID can be changed. Each
has a different effect on the SCSI configuration. It is important to
understand the effect of each of the methods for setting the SCSI initiator
ID before you change the default setting:
SettingLocation
scsi-initiator-id OpenBoot Environment
Variable
/
scsi-initiator-id Itmpt driver configuration file
/kernel/drv/itmpt.conf
scsi-initiator-id Port specific OpenBoot node
/pci@1f,0/pci@1/pci@1/
LSILogic,scsi@c
Default
Value
UNSET Specific portHighest precedence. Defaults
ScopeNotes
7System (all
SCSI ports)
7All
Fusion-MPT
ports OR any
individual port
Lowest precedence is overridden if port specific value is
set. Provides system-wide
default. Use printenv to display value, setenv to change.
Use man pci command for
more information on using pci
.conf files. This value overrides OpenBoot environment
variable scsiinitiator-id for all
specified ports.
to unset. If set, even to 7, will
override any other initiator ID
setting.
Note: Your node name will
vary depending on system
configuration.
The probe-scsi-all command is used to identify the Fibre Channel
devices on your Fusion-MPT adapter.
Use the probe-scsi-all command to show all disks available from the
OpenBoot prompt. All Fibre Channel or SCSI disks available on all
Fusion-MPT devices will be displayed.
4.1.1probe-scsi-all
ok probe-scsi-all
/pci@8,600000/SUNW,qlc@4
LiD HA LUN --- Port WWN --- ----- Disk description ----1 1 0 2100002037e4d65b SEAGATE ST318304FSUN18G 0726
/pci@8,700000/IntraServer-Ultra160,scsi@3,1
/pci@8,700000/IntraServer-Ultra160,scsi@3
Target 0
Unit 0 Disk IBM DDRS-34560D DC1B
/pci@8,700000/IntraServer,fc@2
MPT Version 1.00, Firmware Version 1.02.00
Link is ready, port is online
WWN 100000a0b8040353 Port ID ef
Target 0
Unit 0 Disk SEAGATE ST39173FC 6615
WWN 2100002037109d76 Port ID d9
Target 1
Unit 0 Disk SEAGATE ST39173FC 6615
WWN 210000203710565a Port ID 17
Target 2
Unit 0 Disk SEAGATE ST39173FC 6615
WWN 2100002037105212 Port ID 1
pci@8,700000/scsi@6
Target 6
Unit 0 Removable Read Only device PLEXTOR CD-ROM PX-20TS
In certain circumstances, the advanced user may want to change
settings for an individual adapter or port, without affecting the other
adapters in the system. Specific examples of such settings are Fibre
Channel bus speed and Interrupt Coalescing.
To select a specific Fusion-MPT adapter as the current adapter, use the
select command. Selecting a port or adapter brings the port online and
allows you to show or set certain adapter specific parameters.
Use caution when you issue the following commands. Using the
commands incorrectly could make the bus unusable—for example,
forcing 1G operation on a 2G Fibre Channel loop.
4.3.1select
Use the select OpenBoot command to select the adapter entry. This
opens the port to bring the port online:
While the adapter or port is selected, use the show-children command
to display the devices currently connected to this adapter:
Select the port or adapter shown (use the port name your system
assigns):
ok select /pci@8,700000/IntraServer,fc@1
ok show-children
MPT Version 1.00, Firmware Version 1.02.00
Link is ready, port is online
WWN 100000a0b8040353 Port ID ef
Target 0
Unit 0 Disk SEAGATE ST39173FC 6615
WWN 2100002037109d76 Port ID d9
Target 1
Unit 0 Disk SEAGATE ST39173FC 6615
WWN 210000203710565a Port ID 17
Target 2
Unit 0 Disk SEAGATE ST39173FC 6615
WWN 2100002037105212 Port ID 1
Target 3
Unit 0 Disk SEAGATE ST39173FC 6615
WWN 2100002037103da8 Port ID 26
Target 4
Unit 0 Disk SEAGATE ST39173FC 6615
WWN 210000203710324a Port ID 73
4.4Interrupt Coalescing
Interrupt coalescing allows the firmware on the Fusion-MPT device to
group I/Os together in order to minimizethe overhead tothe host system.
This feature can result in significant performance benefits when I/Os are
coming into the adapter rapidly—for example, when performing small
sequential reads from a disk.
LSI Logic has tested interrupt coalescing under multiple I/O conditions
and has determined that the following interrupt coalescing values are
beneficial over a wide range of I/O conditions:
With these settings the host is interrupted only once for four I/Os
processed by the chip, unless a time of 160 microseconds has passed
since the host was last interrupted.
Although LSI Logic has determined that these settings are optimal for a
wide variety of situations, your system’s I/O load may benefit from a
deeper queue or a longer timeout. LSI Logic provides a mechanism to
modify these values and write them to the nonvolatile EEPROM on the
adapter.
To change the interrupt coalescing values, first select the port or adapter
shown (use the port name your system assigns). Then use the show-interrupt-coalescing and set-interrupt-coalescing commands, as
shown in the example below:
ok select /pci@8,700000/IntraServer,fc@1
ok show-interrupt-coalescing
Interrupt coalescing timeout is a0 (160 decimal) microseconds
Interrupt coalescing depth is 4 (4 decimal)
ok set-interrupt-coalescing <- command with no arguments prints help
usage is <timeout> <depth> set-interrupt-coalescing
ok 100 8 set-interrupt-coalescing
Interrupt coalescing timeout selected is 100 (256 decimal) microseconds
Interrupt coalescing depth selected is 8 (8 decimal)
Interrupt coalescing has been set
Change will take effect after system reset
Note:The system must be power cycled for the changes to take
effect. It is not sufficient to execute the reset-all command.
4.5Multi-Pathing
The Multi-Pathing option recognizes the need to provide a unique logical
ID for each port of dual ported target. If a dual ported target is attached
to a single channel of the 929, enabling the Multi-Pathing option creates
two logical IDs for the single drive, one for each port on the drive. If MultiPathing is disabled, the 929 recognizes that both ports on the target
actually address the same drive, so only a single Logical ID is created
for the drive. Each of these configurations has its application; however,
careful analysis of the system and topology requirements is advised. The
Intel BIOS, the Solaris BIOS, and the FcUtil utility all provide the Multi-
Pathing configuration option. Note that after selecting a different option,
the chip must be reset in order for the change to take effect.
LSI Logic has determined that these settings are optimal for a wide
variety of situations. LSI Logic also provides a mechanism to modify
these values and write them to the nonvolatile EEPROM on the adapter.
Select the port or adapter shown (use the port name your system
assigns):
ok show-disks
a) /pci@1f,0/pci@1/LSILogic,scsi@3,1/disk
b) /pci@1f,0/pci@1/LSILogic,scsi@3/disk
c) /pci@1f,0/pci@1/IntraServer,fc@2,1/disk
d) /pci@1f,0/pci@1/IntraServer,fc@2/disk
e) /pci@1f,0/pci@1,1/ide@3/cdrom
f) /pci@1f,0/pci@1,1/ide@3/disk
g) /pci@1f,0/pci@1,1/ebus@1/fdthree@14,3203f0
q) NO SELECTION
Enter Selection, q to quit: d
/pci@1f,0/pci@1/IntraServer,fc@2/disk has been selected.
Type ^Y ( Control-Y ) to insert it in the command line.
e.g. ok nvalias mydev ^Y
Multi-pathing is being enabled
Multi-pathing has been set
Change will take effect after system reset
Note:The system must be power cycled for the changes to take
effect. It is not sufficient to execute the reset-all command.
4.6Setting Fibre Channel Link Speed
There are two modes of operation for Fibre Channel: 1 Gbit/sec and
2 Gbit/sec. It is important to match the speed of the port with the speed
of the loop or fabric to which the port is attached.
LSI Logic has implemented auto-negotiation on the 2 Gbit-capable
Fusion-MPT devices. Use the following procedure if you are experiencing
difficulty with the auto-negotiate algorithm on your fabric or loop, or if you
wish to manually set or show the link speed for the adapter. Select the
port or adapter shown (use the port name your system assigns):
ok select /pci@8,700000/IntraServer,fc@1
ok show-link-speed
Link speed selected is 1 Gbaud
Current link speed is 1 Gbaud
ok set-link-speed <- command with no arguments prints help
usage is <link-speed> set-link-speed
Under certain configurations, such as when the Fibre Channel disk is the
boot device of a system, it may be preferable to lock a target disk to a
unit number. LSI Logic/IntraServer FCode lets the system administrator
write a nonvolatile map of IDs to the Fibre Channel controller. The
following is an example of how to map devices in the persistent device
table. Select the controller you want to modify, as follows:
ok show-disks
a) /pci@1f,0/pci@1/IntraServer,fc@2/disk
b) /pci@1f,0/pci@1/IntraServer,Ultra2-scsi@1/disk
c) /pci@1f,0/pci@1,1/ide@3/cdrom
d) /pci@1f,0/pci@1,1/ide@3/disk
e) /pci@1f,0/pci@1,1/ebus@1/fdthree@14,3203f0
q) NO SELECTION
Enter Selection, q to quit: a
/pci@1f,0/pci@1/IntraServer,fc@2/disk has been selected.
Type ^Y ( Control-Y ) to insert it in the command line.
e.g. ok nvalias mydev ^Y for creating devalias mydev for
/pci@1f,0/pci@1/IntraServer,fc@2/disk
ok select /pci@1f,0/pci@1/IntraServer,fc@2
ok show-children
MPT Firmware Version 1.00
Target 0
Unit 0 Disk SEAGATE ST39173FC 6615
WWN 200000203710c4e8 PortID a3
ok set-persistent <- command with no arguments prints help
usage is <current-target-id> <persistent-target-id> set-persistent
ok 0 0 set-persistent
ok show-persistent
Entry 1 WWN 200000203710c4e8 Target 0
To clear an entry in the persistent device map, use the clear-persistent
command:
ok 1 clear-persistent
Entry 1 has been cleared
ok show-persistent
ok
Entry 1 has been deleted from the table, and the table is now empty.
Under certain configurations, youmay want to force the selection of Fibre
Channel topology and disable the auto detect mechanism in the Fibre
Channel adapter. This can be done on a port-by-port basis by using the
following procedure.
Note:It should not be necessary to change from auto detect of
topology. Firmware version 1.00.03 is the minimum revision
to support this functionality.
The following is an example of how select a manual topology N_Port or
NL_Port on a selected Fibre Channel port.
Select the controller you want to modify, as shown in the following
example:
a) /pci@1f,0/pci@1/IntraServer,fc@2/disk
b) /pci@1f,0/pci@1/IntraServer,Ultra2-scsi@1/disk
c) /pci@1f,0/pci@1,1/ide@3/cdrom
d) /pci@1f,0/pci@1,1/ide@3/disk
e) /pci@1f,0/pci@1,1/ebus@1/fdthree@14,3203f0
q) NO SELECTION
Enter Selection, q to quit: a
/pci@1f,0/pci@1/IntraServer,fc@2/disk has been selected.
Type ^Y ( Control-Y ) to insert it in the command line.
e.g. ok nvalias mydev ^Y for creating devalias mydev for
/pci@1f,0/pci@1/IntraServer,fc@2/disk
ok select /pci@1f,0/pci@1/IntraServer,fc@2
ok show-topology
Topology selected is auto
Current topology is unknown (no link)
ok set-topology <- Command with no options provides help
usage is <topology> set-topology
topology = 1 NL_Port
topology = 2 N_Port
topology = a auto
ok 1 set-topology
Topology selected is NL_Port
Topology has been set
Change will take effect after system power cycle
ok 2 set-topology
Topology selected is N_Port
Topology has been set
Change will take effect after system power cycle
ok a set-topology
Topology selected is auto
Topology has been set
Change will take effect after system power cycle
Note:The system must be power cycled for the changes to take
effect. It is not sufficient to execute the reset-all command.
This section describes the FCode interface-to-Fusion-MPT advanced
features. The LSI Logic Fusion-MPT Architecture defines several special
features that can be implemented in the controller chip. These features
include Integrated Mirroring (IM), Integrated Striping (IS), and Integrated
RAID (IR). If your LSI Logic Host Bus Adapter implements one of the
special features, use the information below to access the advanced
functionality.
Note:Not all advanced features are implemented on every host
bus adapter. Check with LSI Logic to determine which host
bus adapters implement which of the advanced features.
5.1Integrated Mirroring
Disk mirroring, also known as RAID 1, is a storage configuration in which
two physical disks are paired, or “mirrored,” with each other into a set
such that writes to either physical disk are duplicated to the other disk.
The principle advantage of disk mirroring is the ability of the disk set to
survive the failure of a physical disk drive. If a mirrored disk fails, the
Fusion-MPT system instantly switches to the other disk without any loss
of data or service.
To use the Integrated Mirroring feature, you should become familiar with
the following terminology used for mirrored disk sets.
OpenBoot presents volumes as
disks at the show-diskscommand.
Use the select command first, to
make the desired device active
before using the show-children
command.
make the desired device active.
Use the select command first, to
make the desired device active.
TermMeaning
OptimalThe mirrored volume is fully
functional; the primary and
secondary disks are
synchronized
DegradedOne of the members of the
set is unavailable
Re-Synchronizing The data from the primary
member is being copied to
the secondary member
FailedThe volume set is no longer
available to the system
Related FCode
CommandsNotes
This is the normal run-time state of
a mirrored volume.
Service must be performed on the
set in order to bring the mirrored
volume back to Optimal state.
This state is non-optimal, but is normal. When the data copy is
complete, the set will transition to
the optimal state without manual
intervention.
Service must be performed on the
set to return it to operation.
5.1.1Setting Up a SCSI or Fibre Channel Mirrored Volume
After determining that the adapter is functioning correctly in your system,
you are ready to create a mirrored set, as shown in the example below.
Note:A SCSI device is used in the following examples. The Fibre
Use the show-disks OpenBoot command to determine the name of the
adapter with the disks you intend to include in a mirrored volume:
ok show-disks
a) /pci@1f,0/pci@1/pci@1/IntraServer,fc@f,1/disk
b) /pci@1f,0/pci@1/pci@1/IntraServer,fc@f/disk
c) /pci@1f,0/pci@1/pci@1/LSILogic,scsi@b/disk
d) /pci@1f,0/pci@1,1/scsi@2/disk
e) /pci@1f,0/pci@1,1/ebus@1/fdthree@14,3203f0
q) NO SELECTION
Enter Selection, q to quit: c
/pci@1f,0/pci@1/pci@1/LSILogic,scsi@b/disk has been selected.
Type ^Y ( Control-Y ) to insert it in the command line.
e.g. ok nvalias mydev ^Y
for creating devalias mydev for
/pci@1f,0/pci@1/pci@1/LSILogic,scsi@b/disk
5.1.3select
Use the select OpenBoot command to select the adapter entry; this
opens the adapter and bring the port online:
Use the .properties command to show the adapter properties. To use
Integrated Mirroring, you must be using FCode version V1.00.23 or
higher; V1.00.24 is recommend.
While you have the adapter or port selected, use the show-children
command to display the devices currently connected to this adapter.
Note that IM volumes are considered children of the adapter port, and
therefore this command is used to show physical disks or volume sets:
ok show-children
MPT Version 1.02, Firmware Version 0.00.09.00
Initiator ID is 7
Target 1
Unit 0 Disk SEAGATE ST336737LC 5040 71132960 Blocks, 36 GB
Target 2
Unit 0 Disk SEAGATE ST336737LC 5040 71132960 Blocks, 36 GB
5.1.6show-volumes
The show-volumes OpenBoot command is used to display the currently
configured volumes. If no volumes have been configured an error
message is displayed, as shown in this example:
ok show-volumes
No volumes to show
5.1.7create-volume
The create-volume OpenBoot command is used to create an IM volume
from two physical disks. After the command completes, the new IM
Volume can be displayed by the show-children command. To see the
members of a set, use the show-volumes command.
ok 0 1 2 create-volume
Target 1 size is 71132960 Blocks, 36 GB
Target 2 size is 71132960 Blocks, 36 GB
The volume can be any size from 1 MB to 36420 MB
What size do you want? [36420]
Volume 0 size will be 71132960 Blocks, 36 GB
PhysDisk 0 has been created for target 1
PhysDisk 1 has been created for target 2
Volume 0 has been created
The syntax for the create-volume command is as follows:
Note that the IDs of the first and second member are no longer
presented to the system. Note also that you must give a volume ID that
does not conflict with an ID that remains on the bus after the volume is
created.
Subsequent show-children commands show only the resultant volume
and the remaining nonmember disks, if any.
ok show-children
MPT Version 1.02, Firmware Version 0.00.09.00
Initiator ID is 7
Volume 0
Unit 0DiskLSILOGIC1030 IM100071132960 Blocks, 36 GB
At this point the IM set is created and is in the Re-synchronizing state.
Although the volume is usable at this point, it does not operate at
maximum performance or be redundant until it reaches the Optimal state.
You do not need to wait for the disk to reach the Optimal state at this
point. In fact, the disk will reach the optimal state more quickly under the
operating system driver, after Solaris is booted, because the runtime
driver uses the performance features of the Fusion-MPT architecture.
Check the file /var/adm/messages for messages regarding state
changes for the volume set as it progresses from the Re-synchronizing
state to the Optimal state.
5.2Integrated Striping
Disk striping, also known as RAID 0, pairs two drives together into a
volume set to achieve better performance. Unlike a mirrored volume,
however, a striped volume does not write data to both disks and therefore
does not provide data redundancy if one of the disks fails.
For a striped disk set, reads and writes are issued to the two physical
members as a joined volume. This method has the advantage of
doubling the data rate for reads from the physical platters, in the case
where the physical limitations of a single disk is the limiting performance
factor.
Integrated Striping will be available on LSI Logic 1030 based Ultra320
SCSI controllers in the future, and will be documented here when
available.
5.3Integrated RAID
Integrated RAID technology will be supported in future versions of
LSI Logic Fusion-MPT devices, starting with the 1035 device. When this
functionality is available, it will be documented here.
Technical Publications
M/S E-198
Fax: 408.433.4333
Please tell us how you rate this document: Fusion-MPT FCode User’sGuide. Place a check mark in the appropriate blank for each category.
Excellent Good AverageFairPoor
Completeness of information____________________
Clarity of information____________________
Ease of finding information____________________
Technical content____________________
Usefulness of examples and
illustrations
Overall manual____________________
____________________
What could we do to improve this document?
If you found errors in this document, please specify the error and page
number. If appropriate, please fax a marked-up copy of the page(s).
Please complete the information below so that we may contact you
directly for clarification or additional information.
Name
Telephone
Fax
Date
Title
DepartmentMail Stop
Company Name
Street
City, State, Zip