Hello, we are trying to upgrade from SLES9 (SP3) to SLES10 (SP1) and are using zfcp attached tape devices for TSM and are getting problems in that area.
Under SLES9 hwup or hwdown zfcp-bus-ccw-<zfcp device> configures or deconfigures the zfcp device and target ports and luns specified in /etc/sysconfig/hardware/hwcfg-zfcp-bus-ccw-<zfcp device>. As far as I can tell when using hwup/hwdown hotplug is triggered to call scripts/hwup-zfcp and scripts/hwdown-zfcp and creates device files /etc/sg* and persistent device files /dev/tape/by-id/*-generic pointing to /dev/sg*. With SLES10 hotplug was removed and udev is expected to do the same job as hotplug under SLES9. BUT, as far as I can tell by now when using hwup or hwdown with SLES10 udev is not trigered by an event to call hwup-zfcp or hwdown-zfcp, so ZFCP_LUNS is not used and no target device gets configured or deconfigured. When starting the system the target devices *are* configured because udevd on startup sends an add uevent to all devices seen to trigger udev rules being missed during boot, even /etc/sg* and /dev/tape/by-id/entries are created (at least some of them pointing to nst device files but that could be solved by adding additional udev rules, but to make it worse there are not created persistent device file for all target luns!) Still hwdown does not remove the devices after boot because again no udev event is triggered (udevmonitor does not show events neither for hwup nor hwdown). When using echo add > /sys/bus/ccw/devices/<zfcp device>/host0/scsi_host:host0/uevent hwup-zfcp is called. So the questions are: Is my point of view completly wrong ? Is SLES10 behaviour expected ? Does zfcp driver miss to send events to udev ? Thank you for any information you can give on this topic! Andreas Mayer Telekom Austria ---------------------------------------------------------------------- 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
