2. To save the location code information for each Fibre Channel adapter (fcs), enter the lsdev commandas follows:lsdev -vpd | grep fcs | tee LSDEV_OUTPUT_beforeThe output might look like the following example:fcs0 U78AF.001.startSN-P1-C35-L1-T1 Dual Port 8Gb FC Mezzanine Card (7710322577107501)fcs1 U78AF.001.startSN-P1-C35-L1-T2 Dual Port 8Gb FC Mezzanine Card (7710322577107501)In this example, the original serial number is represented as startSN.Restore vfchost map dataAfter you replace physical components on your compute node, you must review the virtual FibreChannel vfchost mapping. If the vfchost mapping has changed after component replacement, you mustrestore the mapping.Before you beginTo restore vfchost data, you must have first saved the original vfchost data and the physical FibreChannel adapter (fcs) location code information. For information, see “Save vfchost map data” on page492.ProcedureTo restore the vfchost mapping data, use the third field of the Fibre Channel adapter (fcs) location codes,which is the serial number field, and compare the new Fibre Channel adapter (fcs) location codes to theoriginal location codes. Perform a vfcmap of the new Fibre Channel adapter (fcs) to the appropriatevfchost.To restore the vfchost mapping data, complete the following steps by using the padmin user account:1. To save the new Fibre Channel adapter (fcs) location codes, use the lsdev –vpd command as follows.Enter the command from the command-line interface on the source Virtual I/O Server (VIOS):lsdev -vpd | grep fcs | tee LSDEV_OUTPUT_after1The output might look like the following example:fcs0 U78AF.001.startSN-P1-C35-L1-T1 Dual Port 8Gb FC Mezzanine Card (7710322577107501)fcs1 U78AF.001.startSN-P1-C35-L1-T2 Dual Port 8Gb FC Mezzanine Card (7710322577107501)2. To associate the new fcsx adapter to the old fcsx adapter use the adapter slot number. Enter the grepcommand as shown in the example below:grep "P1-C35-L1-T1" LSDEV_OUTPUT_before LSDEV_OUTPUT_afterThe output might look like the following example:LSDEV_OUTPUT_before:fcs0 U78AF.001.startSN-P1-C35-L1-T1 Dual Port 8Gb FC Mezzanine Card (7710322577107501)LSDEV_OUTPUT_after1:fcs0 U78AF.001.newSN99-P1-C35-L1-T1 Dual Port 8Gb FC Mezzanine Card (7710322577107501)In this example, the original serial number is represented as startSN, the new serial number isrepresented as newSN99, and the fcsx remained fcs0; therefore, fcs0 will be mapped to the vfchost.Chapter 8. Troubleshooting 493