7 persistent device naming, Persistent device naming – Avago Technologies LSI20320 User Manual
Page 27

Fusion-MPT FCode Fibre Channel Commands
21
Copyright © 2000-2004 by LSI Logic Corporation. All rights reserved.
4.7
Persistent Device Naming
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
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.