Scott, I think this is the procedure that you are looking for:
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Installation_Guide/s1-s390info-zfcp.html Regards, Ray Higgs System z FCP Firmware Development Bld. 706, B42 2455 South Road Poughkeepsie, NY 12601 (845) 435-8666, T/L 295-8666 rayhi...@us.ibm.com Raymond Higgs/Poughkeepsie/IBM wrote on 12/16/2011 01:42:50 PM: > From: Raymond Higgs/Poughkeepsie/IBM > To: Linux on 390 Port <LINUX-390@vm.marist.edu> > Date: 12/16/2011 01:42 PM > Subject: Re: lsscsi issue with RHEL5 > > Scott, > > Did you run mkinitrd? That should include your changes in the > initial ram disk that linux uses to boot. > > Regards, > > Ray Higgs > System z FCP Firmware Development > Bld. 706, B42 > 2455 South Road > Poughkeepsie, NY 12601 > (845) 435-8666, T/L 295-8666 > rayhi...@us.ibm.com > > Linux on 390 Port <LINUX-390@vm.marist.edu> wrote on 12/15/2011 10:51:40 PM: > > > From: "Shumate, Scott" <scshum...@bbandt.com> > > To: LINUX-390@vm.marist.edu > > Date: 12/15/2011 10:58 PM > > Subject: Re: lsscsi issue with RHEL5 > > Sent by: Linux on 390 Port <LINUX-390@vm.marist.edu> > > > > Can you tell me why it loses the way I set it up manually? > > > > I did update /etc/zfcp.conf with the following: > > > > [root@wil-zstsintgdbprdbu01 by-path]# cat /etc/zfcp.conf > > 0.0.dc00 0x50060e800571f006 0x0020000000000000 > > 0.0.dd00 0x50060e800571f016 0x0020000000000000 > > 0.0.de00 0x50060e800571f007 0x0020000000000000 > > 0.0.df00 0x50060e800571f017 0x0020000000000000 > > 0.0.dc00 0x50060e800571f006 0x0026000000000000 > > > > When I readded the scsi disk it looks like this > > > > [root@wil-zstsintgdbprdbu01 by-path]# lszfcp -D > > 0.0.dc00/0x50060e800571f006/0x0020000000000000 0:0:0:1 > > 0.0.dc00/0x50060e800571f006/0x0026000000000000 0:0:0:2 > > 0.0.dd00/0x50060e800571f016/0x0020000000000000 1:0:0:1 > > 0.0.de00/0x50060e800571f007/0x0020000000000000 2:0:0:1 > > 0.0.df00/0x50060e800571f017/0x0020000000000000 3:0:0:1 > > > > But when I reboot, it looks like this: > > > > [root@wil-zstsintgdbprdbu01 by-path]# lszfcp -D > > 0.0.dc00/0x50060e800571f006/0x0020000000000000 0:0:0:1 > > 0.0.dc00/0x50060e800571f006/0x0026000000000000 0:0:0:2 > > 0.0.df00/0x50060e800571f017/0x0020000000000000 2:0:0:1 > > > > Does /etc/zfcp.conf control what it connects or is there another > > place I need to look? > > > > > > Thanks > > Scott > > > > -----Original Message----- > > From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf > > Of Steffen Maier > > Sent: Thursday, December 15, 2011 8:03 PM > > To: LINUX-390@VM.MARIST.EDU > > Subject: Re: lsscsi issue with RHEL5 > > > > On 12/15/2011 11:47 PM, Shumate, Scott wrote: > > > I have an issue with zfcp luns. I 2 luns 1 100GB lun and 1 1GB lun. > > > The 100GB lun has 4 paths /dev/sda, /dev/sdb, /dev/sdd, and /dev/sde. > > > The 1GB lun has one path /dev/sdc. I want paths /dev/sda thru > > > /dev/sdd for the 100GB lun and /dev/sde for the 1GB lun. Is there > > > anything I can do to make this happen? I've manually removed the scsi > > > disk and rebooted, but it still has the same issue. What am I > doing wrong? > > > > No issue here. /dev/sdX are kernel device names allocated by no > > particular rule a user can rely on. Therefore, udev provides > > persistent device names implemented by means of symbolic links under > > /dev. For storage, those can be found under /dev/disk/by-.../... > > For those cases where I really need to refer to an individual path > > of a zfcp attached SCSI disk, I usually rely on /dev/disk/by-path/ > > ccw-<devbusid>-zfcp-<wwpn>:<lun>. > > > > http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/ > > Online_Storage_Reconfiguration_Guide/persistent_naming.html > > and also the Section "SCSI device nodes" in the zfcp chapter in the > > "Device Drivers, Features, and Commands" book on > > http://www.ibm.com/developerworks/linux/linux390/ > > documentation_red_hat.html#rhel5 > > > > Just curious: Having configured multiple paths I presume you use > > device-mapper multipathing on top which doesn't care about the > > device names of individual paths. > > What do you need device names of underlying physical paths for? > > > > > [root@wil-zstsintgdbprdbu01 ~]# cat /etc/zfcp.conf > > > 0.0.dc00 0x50060e800571f006 0x0020000000000000 > > > 0.0.dd00 0x50060e800571f016 0x0020000000000000 > > > 0.0.de00 0x50060e800571f007 0x0020000000000000 > > > 0.0.df00 0x50060e800571f017 0x0020000000000000 > > > > This only contains persistent configuration for four paths to your > > presumable 1GB LUN. However, where does the config for the one path > > to the 100GB LUN come from? > > > > > [root@wil-zstsintgdbprdbu01 ~]# lszfcp -D > > > 0.0.dc00/0x50060e800571f006/0x0020000000000000 0:0:0:1 > > > 0.0.dc00/0x50060e800571f006/0x0026000000000000 0:0:0:2 > > > 0.0.dd00/0x50060e800571f016/0x0020000000000000 1:0:0:1 > > > 0.0.de00/0x50060e800571f007/0x0020000000000000 2:0:0:1 > > > 0.0.df00/0x50060e800571f017/0x0020000000000000 3:0:0:1 > > > > > > [root@wil-zstsintgdbprdbu01 ~]# lsscsi > > > [0:0:0:1] disk HITACHI OPEN-V 6008 /dev/sda > > > [0:0:0:2] disk HITACHI OPEN-V 6008 /dev/sdc > > > [1:0:0:1] disk HITACHI OPEN-V 6008 /dev/sdd > > > [2:0:0:1] disk HITACHI OPEN-V 6008 /dev/sde > > > [3:0:0:1] disk HITACHI OPEN-V 6008 /dev/sdb > > > > Looks perfectly good to me. > > > > Steffen > > > > Linux on System z Development > > > > IBM Deutschland Research & Development GmbH Vorsitzender des > > Aufsichtsrats: Martin Jetter > > Geschäftsführung: Dirk Wittkopp > > Sitz der Gesellschaft: Böblingen > > Registergericht: Amtsgericht Stuttgart, HRB 243294 > > > > ---------------------------------------------------------------------- > > For LINUX-390 subscribe / signoff / archive access instructions, > > send email to lists...@vm.marist.edu 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/ > > > > ---------------------------------------------------------------------- > > For LINUX-390 subscribe / signoff / archive access instructions, > > send email to lists...@vm.marist.edu 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/ > > ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu 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/