Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition | |||
|
|
Solution Type Technical Instruction Sure Solution 1008236.1 : New LUN mapped on Sun StorageTek[TM] 351x Array not seen in format
PreviouslyPublishedAs 211296 Description After creating a new LD and mapping a new LUN to hosts on a Sun StorageTek[TM] 351x (SE3510 and SE3511), this new LUN is not listed in format. Steps to Follow Steps to Follow New LUN mapping on the Sun StorageTek[TM] 351x (SE3510 and SE3511) does not show up in format. This is an
example of a SE3510 operating in loop mode on the host channels. All LUN mappings are assigned to the primary controller. Secondary controller has no mapped LUN's. Even the mandatory LUN 0 is missing. In this case the Secondary controller presents a SES device as LUN 0 to be in compliance with the SCSI standard. luxadm_-e_dump_map_-devices-pci@9,600000-SUNW,qlc@1-fp@0,0:devctl.out Pos AL_PA ID Hard_Addr Port WWN Node WWN Type 0 1 7d 0
210000e08b0ff5ec 200000e08b0ff5ec 0x1f (Unknown Type) luxadm_-e_dump_map_-devices-pci@9,600000-SUNW,qlc@2-fp@0,0:devctl.out Pos AL_PA ID Hard_Addr Port WWN Node WWN Type 0 1 7d 0
210000e08b0f5ab0 200000e08b0f5ab0 0x1f (Unknown Type,Host Bus
Adapter) The luxadm -e dump_map can be used to show the availability of all targets on FC-loop. Then a new ld is created and assigned to the secondary controller. A new LUN mapping is added for the secondary controller. show_channels.out sccli: selected device /dev/rdsk/c2t40d0s2 [SUN StorEdge 3510 SN#0051C7] Ch Type Media
Speed Width PID /
SID 0 Host FC(L)
2G Serial 40 / 41 show_lun-maps.out sccli: selected device /dev/rdsk/c2t40d0s2 [SUN StorEdge 3510 SN#0051C7] Ch Tgt LUN
ld/lv ID-Partition Assigned Filter
Map 0 40 0 ld0
197989FA-00 Primary ::::: 4 45 0 ld4
0F749DCC-01 Secondary <== new mapping ::::: This newly mapped LUN does not show up in format. The luxadm -e dump_map command can be used to show the availability of all targets on the FC-loop. The secondary controller is seen on the loop. luxadm_-e_dump_map_-devices-pci@9,600000-SUNW,qlc@1-fp@0,0:devctl.out Pos AL_PA ID Hard_Addr Port WWN Node WWN Type 0 1 7d 0
210000e08b0ff5ec 200000e08b0ff5ec 0x1f (Unknown Type) luxadm_-e_dump_map_-devices-pci@9,600000-SUNW,qlc@2-fp@0,0:devctl.out Pos AL_PA ID Hard_Addr Port WWN Node WWN Type 0 1 7d 0
210000e08b0f5ab0 200000e08b0f5ab0 0x1f (Unknown Type,Host Bus
Adapter) While luxadm -e dump_map can be used to show the availability of all targets on the FC-loop, cfgadm can be used to show all available LUN mappings (see command options used in steps below). Ap_Id Type Receptacle Occupant Condition :::: c2
fc-private connected configured
unknown :::: c2::216000c0ff9051c7,0 disk connected configured unknown <== secondary new LUN 0 c3
fc-private connected configured
unknown :::: c3::256000c0ffd051c7,0 disk connected configured unknown <== secondary new LUN 0 To make the new LUN visible in format the ssd driver needs to rescan the LUN mapping. The ssd driver has to issue a "REPORT LUNS" SCSI command to the secondary controller which can be forced with a LIP. The LIP can be forced with: # luxadm -e
forcelip /dev/cfg/c2 General steps after mapping new LUNs 1. Check for the new LUN using the commands listed below: - luxadm -e dump_map /dev/cfg/cx use the controller number listed in cfgadm (this command lists all targets available on the FC-loop) - cfgadm -al -o show_SCSI_LUN or show _FCP_dev in older releases (this command shows all LUN's available) - format 2. Check syslog file for additional information 3. use luxadm -e forcelip /dev/cfg/cx to force a LIP and a rescan of the mapped LUNs 4. Recheck for the new LUN using - cfgadm -al -o show_SCSI_LUN or show _FCP_dev in older releases - format If You can see the disk in format you are finished. 5. Check syslog file for additional information 6. Run devfsadm manually. devfsadm maintains the /dev and /devices namespaces. 7. Recheck for the new LUN using: - cfgadm -al -o show_SCSI_LUN or show _FCP_dev in older releases - format If You can see the disk in format you are finished. 8. Check syslog file for additional information 9. Unplug/plug the FC connections to force a rescan of the mapped LUNs This operation is disruptive and requires a scheduled downtime for single path configurations. 10. Recheck for the new LUN using: - cfgadm -al -o show_SCSI_LUN or show _FCP_dev in older releases - format If You can see the disk in format you are finished. 11. Check syslog file for additional information. 12. At this point a reconfiguration boot may be considered. Product Sun StorageTek 3511 SATA Array Sun StorageTek 3510 FC Array SE3510, format, lun mapping, luxadm, 3510, 3511, SE3511, cfgadm, logical drive, secondary, primary, controller, loop, LD, Solaris, Host, reboot, reconfiguration Previously Published As 89995 Change History Date: 2010-01-11 User Name: [email protected] Action: Currency & Update Date: 2007-08-14 User Name: 71396 Action: Approved Comment: Performed final review of article. Updated product name and trademarking. Publishing. Version: 5 Date: 2007-08-13 User Name: 71396 Action: Accept Comment: Version: 0 Attachments This solution has no attachment |
||||||||||||
|