HP StorageWorks Fabric OS 5.X Administrator Guide (AA-RVHWB-TE, September 2005)

226 Configuring the PID format
11.Issue the command cfgEnable [effective_zone_configuration].
For example:
cfgEnable my_zones
12.Issue the switchEnable command. Enable the core switches first, and then the edges.
13.Clean the lvmtab file by using the command vgscan.
14.Change to /dev and untar the file that was tared in step 4.
For example:
tar –xf /tmp/jbod.tar
15.Import the volume groups using vgimport.
The proper syntax is vgimport –m mapfile path_to_volume_group
physical_volume_path. For example:
vgimport –m /tmp/jbod_map /dev/jbod /dev/dsk/c64t8d0 /dev/dsk/c64t9d0
16.Activate the volume groups using vgchange.
The proper syntax is vgchange –a y path_to_volume_group. For example:
vgexport –a y /dev/jbod
17. If you are not using multipathing software, mount all devices again and restart I/O.
For example:
mount /mnt/jbod
18.If you are using multipathing software, reenable the affected path.
The preceding steps do not clean up the results from ioscan. When viewing the output of ioscan,
notice that the original entry is still there, but now has a status of NO_HW. For example:
19. To remove the original (outdated) entry, use the command rmsf (remove special file).
The proper syntax for this command is rmsf –a –v path_to_device. For example:
rmsf –a –v /dev/dsk/c65t8d0
20.Validate that the entry has been removed by issuing the command ioscan –funC disk.
In this example, the NO_HW entry is no longer listed:
21.Repeat this procedure for all fabrics.
22.Issue the switchEnable command. Enable the core switches first, and then the edges.
# ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
-------------------------------------------------------------------------------------
disk 0 0/0/1/1.2.0 adisk CLAIMED DEVICE SEAGATE ST39204LC
/dev/dsk/clt2d0 /dev/rdsk/c1t2d0
disk 1 0/0/2/1.2.0 adisk CLAIMED DEVICE HP DVD-ROM 304
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 319 0/4/0/0.1.2.255.14.8.0 adisk CLAIMED DEVICE SEAGATE ST336605FC
/dev/dsk/c64t8d0 /dev/rdsk/c64t8d0
disk 320 0/4/0/0.1.18.255.14.8.0 adisk NO_HW DEVICE SEAGATE ST336605FC
/dev/dsk/c65t8d0 /dev/rdsk/c65t8d0
het46 (HP-50001)> ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
-------------------------------------------------------------------------------------
disk 0 0/0/1/1.2.0 adisk CLAIMED DEVICE SEAGATE ST39204LC
/dev/dsk/clt2d0 /dev/rdsk/c1t2d0
disk 1 0/0/2/1.2.0 adisk CLAIMED DEVICE HP DVD-ROM 304
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 319 0/4/0/0.1.2.255.14.8.0 adisk CLAIMED DEVICE SEAGATE ST336605FC
/dev/dsk/c64t8d0 /dev/rdsk/c64t8d0