>>> On 6/8/2010 at 11:43 AM, "Tully, Phil" <[email protected]> wrote: > Hello, > > I am in the beginning to implement FCP disk connections on a series of linux > machines running SLES 10 sp2+, during startup I receive the following series > of messages: > > Configuring device 0.0.0800 > scsi0 : zfcp > 09:24:36 zfcp: The adapter 0.0.0800 reported the following characteristics: > WWNN 0x5005076400caa584, WWPN 0xc05076efed800400, S_ID 0x00ab004f, > adapter version 0x4, LIC version 0x2b, FC link speed 4 Gb/s > zfcp: Switched fabric fibrechannel network detected at adapter 0.0.0800. > Activating zfcp disk 0.0.0800:0x5000097208239950:0x000e000000000000 > No configuration file for adapter 0.0.0800 > Configuring FCP disk 5000097208239950:000e000000000000 > > I have 2 questions: > 1 The startup looks good except for the "No configuration file for adapter > 0.0.0800" message since I have the file > /etc/sysconfig/hardware/hwcfg-zfcp-bus-ccw-0.0.0800 included at the bottom.
The question is, what was the modification data and time on that file? The message comes from the /sbin/zfcp_disk_configure script which will create the file if needed. > 2 When I issue the command hwup 0.0.0800 I receive the following error > message: > > cdlvmeng001:/etc/sysconfig/hardware # hwup 0.0.0800 > Cannot handle subsystem '' The /sbin/hwup /sbin/hwdown scripts aren't really meant for mortals to use (from what I can figure out). As far as I can tell, they're mainly intended to load/unload kernel device driver modules. The zfcp_host_configure and zfcp_disk_configure commands _are_ intended to be issued by system administrators. The first will bring the FCP adapter online/offline and write/remove the /etc/sysconfig/hardware/hwcfg-?? file for it. The zfcp_disk_configure command will bring SCSI LUNs online/offline, and update the /etc/sysconfig/hardware/hwcfg-??? file that corresponds to the ZFCP adapter. The syntax for both is pretty straightforward: zfcp_host_configure 0.0.0800 1 to bring the adapter online zfcp_host_configure 0.0.0800 0 to take it offline zfcp_disk_configure 0.0.0800 <wwpn> <lun> 1 to bring the LUN online zfcp_disk_configure 0.0.0800 <wwpn> <lun> 0 to take the LUN offline Mark Post ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
