I don't even get to the stage of mounting these devices, we're talking straight 
"multipath -l" command, they are there when I come down and not when I come 
back up. I've been successful both with SuSE and Redhat, just can't seem to 
figure it out in Debian. As far as mkinitrd, I think the "update-initramfs" 
command is the comparable command in Debian, zipl stays the same across the 3 
mentioned though. I know that when I add a DASD device to a Debian instance, I 
first "touch /etc/sysconfig/hardware/config-ccw-0.0.0200", then I issue "hwup 
0.0.0200" and from then on, the DASD device is available. I guess what I'm 
looking for is the same kind of thing for a multipath'd zfcp device, which I 
thought was as simple as coding the config-ccw-0.0.a200 file that I listed in 
my first email (at the bottom). When I then issue the "hwup-ccw-zfcp 0.0.a200" 
command, it says "Configuring device 0.0.a200: online. ok." but still, nothing 
when I issue the "multipath -l" command.

-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Emmett 
O'Grady
Sent: Tuesday, October 05, 2010 1:57 PM
To: [email protected]
Subject: Re: Question about multipathing on zDebian (Lenny)

--=_related 0062A15E852577B3_=
Content-Type: multipart/alternative; boundary="=_alternative 0062A161852577B3_="


--=_alternative 0062A161852577B3_=
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

You should be able to set them up in /etc/multipath.conf

I had issues mounting the filesystems across reboots on an xSeries.
 Red Hat recommended using the /dev/mapper/ as opposed to /dev/mpath##

[ . . . snip from /etc/fstab . . . ]

/dev/mapper/LnP          /LnP=5FFTP                ext3 acl         1 2
/dev/mapper/100GBno1     /ftpdata2               ext3 acl         1 2
# this is the 16GB LUN Slice below
/dev/mapper/16GBno1      /DigMedNetPgm           ext3 acl         1 2

Seems that there was NO consistency as to how multipath would select path=20
numbers. I would always get dropped into maintenance mode
This recommendation fixed my issues since changing fstab to=20
/dev/mapper/####



Emmett O'Grady=20
Mercedes-Benz USA, LLC.=20





[email protected]=20
Sent by: [email protected]
10/05/2010 01:45 PM
Please respond to
[email protected]


To
[email protected]
cc

Subject
Re: Question about multipathing on zDebian (Lenny)







Mark,

  I am not familiar with Debian, but if this was a SUSE or REDHAT=20
instance,
I would say you need to run mkinitrd and zipl before your reboot.


John





From:       "Wiggins, Mark" <[email protected]>
To:         [email protected]
Date:       10/05/2010 01:37 PM
Subject:    Question about multipathing on zDebian (Lenny)
Sent by:    Linux on 390 Port <[email protected]>



I hate to come and ask what I know is going to be a simple answer, but=20
I've
beat my head against the wall for long enough. I'm trying to add some
multipath'd devices to a Debian(Lenny)  instance. I can get the devices
configured properly,


mpath1 (360050768019281af7000000000000153) dm-1 IBM     ,2145

[size=3D3.7G][features=3D0][hwhandler=3D0]

\=5F round-robin 0 [prio=3D0][active]

 \=5F 0:0:0:32 sde 8:64  [active][undef]

 \=5F 0:0:1:32 sdf 8:80  [active][undef]

 \=5F 1:0:0:32 sdg 8:96  [active][undef]

 \=5F 1:0:1:32 sdh 8:112 [active][undef]

mpath0 (360050768019281af7000000000000152) dm-0 IBM     ,2145

[size=3D3.7G][features=3D0][hwhandler=3D0]

\=5F round-robin 0 [prio=3D0][active]

 \=5F 0:0:0:31 sda 8:0   [active][undef]

 \=5F 0:0:1:31 sdb 8:16  [active][undef]

 \=5F 1:0:0:31 sdc 8:32  [active][undef]
 \=5F 1:0:1:31 sdd 8:48  [active][undef]

I just can't get these definitions to hold across a reboot. I've tried
creating /etc/sysconfig/hardware/config-ccw-0.0.a200
files,/usr/share/initramfs-tools/hooks/multipath=5Fhook file, zipl commands,
update-initramfs commands, etc., but I haven't found what it takes to make
these definitions hold across a reboot. What am I missing besides writing
some kind of a script that has to run after every reboot?

Mark Wiggins
University of Connecticut

My /etc/sysconfig/hardware/config-ccw-0.0.a200 looks like this,

#!/bin/sh

#

# hwcfg-zfcp-bus-ccw-0.0.a200

#

# Configuration for the zfcp adapter at CCW ID 0.0.a200

#

STARTMODE=3D"auto"

MODULE=3D"zfcp"

MODULE=5FOPTIONS=3D""

# Scripts to be called for the various events.

# If called manually the event is set to 'up'.

SCRIPTUP=3D"hwup-ccw"

SCRIPTUP=5Fccw=3D"hwup-ccw"

SCRIPTUP=5Fscsi=5Fhost=3D"hwup-zfcp"

SCRIPTDOWN=3D"hwdown-scsi"

SCRIPTDOWN=5Fscsi=3D"hwdown-zfcp"

# Configured zfcp disks

ZFCP=5FLUNS=3D"0x50050768014035ee:0x001f000000000000"

ZFCP=5FLUNS=3D"0x50050768014035d9:0x001f000000000000"

ZFCP=5FLUNS=3D"0x50050768014035ee:0x0020000000000000"

ZFCP=5FLUNS=3D"0x50050768014035d9:0x0020000000000000"



----------------------------------------------------------------------
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/

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or=20
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/




If you are not the intended addressee, please inform us immediately that yo=
u have received this e-mail in error, and delete it. We thank you for your =
cooperation.  =
--=_alternative 0062A161852577B3_=
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable


<br><font size=3D2 face=3D"sans-serif">You should be able to set them up in
/etc/multipath.conf</font><br><br><font size=3D2 face=3D"sans-serif">I had =
issues mounting the filesystems
across reboots on an xSeries.</font><br><font size=3D2 face=3D"sans-serif">=
&nbsp;Red Hat recommended using the
/dev/mapper/ as opposed to /dev/mpath##</font><br><br><font size=3D2 face=
=3D"sans-serif">[ . . . snip from /etc/fstab . . . ]</font><br><br><font si=
ze=3D2 face=3D"sans-serif">/dev/mapper/LnP &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;/LnP=5FFTP &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;ext3 acl &nbsp; &nbsp; &nbsp; &nbsp; 1 2</font><br><font size=3D2 fac=
e=3D"sans-serif">/dev/mapper/100GBno1 &nbsp; &nbsp; /ftpdata2
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ext3 acl &nbsp; &nbsp;
&nbsp; &nbsp; 1 2</font><br><font size=3D2 face=3D"sans-serif"># this is th=
e 16GB LUN Slice below</font><br><font size=3D2 face=3D"sans-serif">/dev/ma=
pper/16GBno1 &nbsp; &nbsp; &nbsp;/DigMedNetPgm
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ext3 acl &nbsp; &nbsp; &nbsp; &nbsp;
1 2</font><br><br><font size=3D2 face=3D"sans-serif">Seems that there was N=
O consistency
as to how multipath would select path numbers. I would always get dropped
into maintenance mode</font><br><font size=3D2 face=3D"sans-serif">This rec=
ommendation fixed my issues
since changing fstab to /dev/mapper/####</font><br><br><br><br><font size=
=3D2 face=3D"sans-serif">Emmett O'Grady <br>Mercedes-Benz USA, LLC. <br></f=
ont><br><br><br><br><table width=3D100%><tr valign=3Dtop><td width=3D40%><f=
ont size=3D1 face=3D"sans-serif"><b>[email protected]</b></font><br><font=
 size=3D1 face=3D"sans-serif">Sent by: [email protected]</font><p><fo=
nt size=3D1 face=3D"sans-serif">10/05/2010 01:45 PM</font><table border><tr=
 valign=3Dtop><td bgcolor=3Dwhite><div align=3Dcenter><font size=3D1 face=
=3D"sans-serif">Please respond to<br>[email protected]</font></div></=
table><br><td width=3D59%><table width=3D100%><tr valign=3Dtop><td><div ali=
gn=3Dright><font size=3D1 face=3D"sans-serif">To</font></div><td><font size=
=3D1 face=3D"sans-serif">[email protected]</font><tr valign=3Dtop><td=
><div align=3Dright><font size=3D1 face=3D"sans-serif">cc</font></div><td><=
tr valign=3Dtop><td><div align=3Dright><font size=3D1 face=3D"sans-serif">S=
ubject</font></div><td><font size=3D1 face=3D"sans-serif">Re: Question abou=
t multipathing on zDebian
(Lenny)</font></table><br><table><tr valign=3Dtop><td><td></table><br></tab=
le><br><br><br><tt><font size=3D2><br>Mark,<br><br> &nbsp;I am not familiar=
 with Debian, but if this was a SUSE or REDHAT
instance,<br>I would say you need to run mkinitrd and zipl before your rebo=
ot.<br><br><br>John<br><br><br><br><br><br>From: &nbsp; &nbsp; &nbsp; &quot=
;Wiggins, Mark&quot; &lt;[email protected]&gt;<br>To: &nbsp; &nbsp; &n=
bsp; &nbsp; [email protected]<br>Date: &nbsp; &nbsp; &nbsp; 10/05/201=
0 01:37 PM<br>Subject: &nbsp; &nbsp;Question about multipathing on zDebian =
(Lenny)<br>Sent by: &nbsp; &nbsp;Linux on 390 Port &lt;[email protected].=
edu&gt;<br><br><br><br>I hate to come and ask what I know is going to be a =
simple answer, but
I've<br>beat my head against the wall for long enough. I'm trying to add so=
me<br>multipath'd devices to a Debian(Lenny) &nbsp;instance. I can get the =
devices<br>configured properly,<br><br><br>mpath1 (360050768019281af7000000=
000000153) dm-1 IBM &nbsp; &nbsp; ,2145<br><br>[size=3D3.7G][features=3D0][=
hwhandler=3D0]<br><br>\=5F round-robin 0 [prio=3D0][active]<br><br> \=5F 0:=
0:0:32 sde 8:64 &nbsp;[active][undef]<br><br> \=5F 0:0:1:32 sdf 8:80 &nbsp;=
[active][undef]<br><br> \=5F 1:0:0:32 sdg 8:96 &nbsp;[active][undef]<br><br=
> \=5F 1:0:1:32 sdh 8:112 [active][undef]<br><br>mpath0 (360050768019281af7=
000000000000152) dm-0 IBM &nbsp; &nbsp; ,2145<br><br>[size=3D3.7G][features=
=3D0][hwhandler=3D0]<br><br>\=5F round-robin 0 [prio=3D0][active]<br><br> \=
=5F 0:0:0:31 sda 8:0 &nbsp; [active][undef]<br><br> \=5F 0:0:1:31 sdb 8:16 =
&nbsp;[active][undef]<br><br> \=5F 1:0:0:31 sdc 8:32 &nbsp;[active][undef]<=
br> \=5F 1:0:1:31 sdd 8:48 &nbsp;[active][undef]<br><br>I just can't get th=
ese definitions to hold across a reboot. I've tried<br>creating /etc/syscon=
fig/hardware/config-ccw-0.0.a200<br>files,/usr/share/initramfs-tools/hooks/=
multipath=5Fhook file, zipl commands,<br>update-initramfs commands, etc., b=
ut I haven't found what it takes to make<br>these definitions hold across a=
 reboot. What am I missing besides writing<br>some kind of a script that ha=
s to run after every reboot?<br><br>Mark Wiggins<br>University of Connectic=
ut<br><br>My /etc/sysconfig/hardware/config-ccw-0.0.a200 looks like this,<b=
r><br>#!/bin/sh<br><br>#<br><br># hwcfg-zfcp-bus-ccw-0.0.a200<br><br>#<br><=
br># Configuration for the zfcp adapter at CCW ID 0.0.a200<br><br>#<br><br>=
STARTMODE=3D&quot;auto&quot;<br><br>MODULE=3D&quot;zfcp&quot;<br><br>MODULE=
=5FOPTIONS=3D&quot;&quot;<br><br># Scripts to be called for the various eve=
nts.<br><br># If called manually the event is set to 'up'.<br><br>SCRIPTUP=
=3D&quot;hwup-ccw&quot;<br><br>SCRIPTUP=5Fccw=3D&quot;hwup-ccw&quot;<br><br=
>SCRIPTUP=5Fscsi=5Fhost=3D&quot;hwup-zfcp&quot;<br><br>SCRIPTDOWN=3D&quot;h=
wdown-scsi&quot;<br><br>SCRIPTDOWN=5Fscsi=3D&quot;hwdown-zfcp&quot;<br><br>=
# Configured zfcp disks<br><br>ZFCP=5FLUNS=3D&quot;0x50050768014035ee:0x001=
f000000000000&quot;<br><br>ZFCP=5FLUNS=3D&quot;0x50050768014035d9:0x001f000=
000000000&quot;<br><br>ZFCP=5FLUNS=3D&quot;0x50050768014035ee:0x00200000000=
00000&quot;<br><br>ZFCP=5FLUNS=3D&quot;0x50050768014035d9:0x002000000000000=
0&quot;<br><br><br><br>----------------------------------------------------=
------------------<br>For LINUX-390 subscribe / signoff / archive access in=
structions,<br>send email to [email protected] with the message: INFO =
LINUX-390 or<br>visit<br>http://www.marist.edu/htbin/wlvindex?LINUX-390<br>=
----------------------------------------------------------------------<br>F=
or more information on Linux on System z, visit<br>http://wiki.linuxvm.org/=
<br><br>-------------------------------------------------------------------=
---<br>For LINUX-390 subscribe / signoff / archive access instructions,<br>=
send email to [email protected] with the message: INFO LINUX-390 or
visit<br>http://www.marist.edu/htbin/wlvindex?LINUX-390<br>----------------=
------------------------------------------------------<br>For more informat=
ion on Linux on System z, visit<br>http://wiki.linuxvm.org/<br><br></font><=
/tt><img src=3Dcid:=5F1=5F06801874068001900062A15C852577B3><br><font face=
=3D"sans-serif"><font face=3D"sans-serif, Arial, Helvetica" size=3D"-1" col=
or=3D"#808080"><br>If you are not the intended addressee, please inform us =
immediately that you have received this e-mail in error, and delete it. We =
thank you for your cooperation.
<br></br>=20
                                                                         =20
</font></font>
--=_alternative 0062A161852577B3_=--
--=_related 0062A15E852577B3_=
Content-Type: image/gif
Content-ID: <_1_06801874068001900062A15C852577B3>
Content-Transfer-Encoding: base64

R0lGODlhEAAQAKECAMzMzAAAAP///wAAACH5BAEAAAIALAAAAAAQABAAAAIXlI+py+0PopwxUbpu
ZRfKZ2zgSJbmSRYAIf4fT3B0aW1pemVkIGJ5IFVsZWFkIFNtYXJ0U2F2ZXIhAAA7
--=_related 0062A15E852577B3_=--

----------------------------------------------------------------------
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/

Reply via email to