HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)
s
scsimgr(1M) scsimgr(1M)
scsimgr [-v] get_info { identifier
all_lpt | all_tp }
Note: identifier identifies a LUN, LUN path, target path, or SCSI HBA controller.
get_stat See clear_stat above.
inquiry Requests and displays information regarding parameters of the target and a component
LUN including: standard inquiry data, vital product data and SCSI commands supported by
the device server.
Usage:
scsimgr inquiry identifier [ page-key | page ]
Note: page is page number in hexadecimal
page-key is the page as ASCII string, and can be one of the following:
* supported: supported pages (0x00)
* wwid: identifier page (0x83)
* serial: serial number page (0x80)
* implemented: implemented operating definitions (0x81)
* ascii: ASCII operating definitions (0x82)
Note: identifier identifies a LUN or a LUN path.
lun_map Displays information (Class and Instance, Hardware Path, type of SCSI transport protocol,
State) about all the LUN path/s of a LUN. It also displays the World Wide Identifier
(WWID), if it exists, of the LUN and the number of LUN paths to this LUN.
If no identifier is specified, information about LUN paths of all the LUNs will be displayed.
If used with the -p option, information for each LUN path is displayed in a single line in a
parse-able manner. The fields are separated with the colon delimiter (:).
Note that the -p option can be used only when a LUN identifier is specified.
Usage:
scsimgr [-v] lun_map
scsimgr
[-p] lun_map identifier
Note: identifier identifies only a LUN.
lun_reset See cold_bdr above.
replace_leg_dsf
Validates change of a LUN associated with a legacy Device Special File (DSF).
Typically when a LUN is replaced, the new LUN has a different WWID (WorldWide
IDentifier). A new persistent DSF is created for this LUN, but legacy DSFs continue to be
associated with the replaced LUN until the system is rebooted. replace_leg_dsf
removes the current binding of legacy DSFs with LUN and invokes ioscan to establish a
new binding.
A change on the storage network (SAN) or target may affect several legacy device special
files (DSFs). Identifying all the affected legacy DSFs may be cumbersome. Therefore,
scsimgr allows you to invoke replace_leg_dsf on a target path or a LUN.
When replace_leg_dsf is invoked on a target path or a LUN, scsimgr validates the
change of the binding to LUNs for all legacy DSFs corresponding to the LUN paths of the
target path or the LUN.
Note that this operation can be performed on a legacy DSF only after it has been closed.
The replace_leg_dsf command combined with the replace_wwid command
replaces the fcmsutil replace_dsk command which is now obsolete. See the
fcmsutil(1M) manpage.
To replace the fcmsutil replace_dsk command, use the scsimgr
replace_wwid
command if LUN paths are affected by the replacement and use the
scsimgr replace_leg_dsf command to validate the association of legacy device
316 Hewlett-Packard Company − 8 − HP-UX 11i Version 3: February 2007