scsimgr.1m (2011 03)
s
scsimgr(1M) scsimgr(1M)
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)
extended: extended inquiry data page (0x86)
Note: identifier identifies a LUN or a LUN path.
lun_map Displays information (Class and Instance, Hardware Path, type of SCSI transport proto-
col, State) about all the LUN path/s of a LUN. It also displays the WorldWide 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: The
-p option can be used only when a LUN identifier is specified.
Usage:
scsimgr lun_map [identifier ]
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
files with the new LUN. If all affected legacy DSFs are closed, it is not necessary to
invoke replace_leg_dsf after invoking replace_wwid on corresponding LUN
paths.
Usage:
scsimgr [-f] replace_leg_dsf identifier
HP-UX 11i Version 3: March 2011 − 11 − Hewlett-Packard Company 11