On 10/05/2010 07:35 PM, Wiggins, Mark wrote:
I'm trying to
add some multipath'd devices to a Debian(Lenny) instance. I can get
the devices configured properly,
I just can't get these definitions to hold across a reboot. I've
In order to narrow down which activation step does not work correctly,
it would be interesting to know if the following holds true after the
boot process finished:
- zfcp adapters for each path are online
# lszfcp -HV
- all fcp luns for each path and disk are online
# lszfcp -DV
Those would be the prerequisites to have the necessary SCSI disks for
device-mapper multipath to work with. After that, dm-mp might have
problems. However, I'm not particular familiar with that and its config
file (incl. blacklists/whitelists).
My /etc/sysconfig/hardware/config-ccw-0.0.a200 looks like this,
# Configured zfcp disks
ZFCP_LUNS="0x50050768014035ee:0x001f000000000000"
ZFCP_LUNS="0x50050768014035d9:0x001f000000000000"
ZFCP_LUNS="0x50050768014035ee:0x0020000000000000"
ZFCP_LUNS="0x50050768014035d9:0x0020000000000000"
This seems to overwrite the ZFCP_LUNS shell variable three times and the
last one will win. So I guess only the FCP LUN 0x0020000000000000 on
WWPN 0x50050768014035d9 will be set online and you're missing the other
three LUNs (or at least the second path to the same LUN).
This looks very much like the SLES syntax and IIRC, you have to use one
ZFCP_LUNS variable assignment and put each WWPN:LUN pair on a separate
line within the same double quotes on the right hand side of the
assigment, i.e.:
# Configured zfcp disks
ZFCP_LUNS="0x50050768014035ee:0x001f000000000000
0x50050768014035d9:0x001f000000000000
0x50050768014035ee:0x0020000000000000
0x50050768014035d9:0x0020000000000000"
You could try tracing the hwup (shell script) command to see where it fails.
# /bin/bash -x `which hwup ...`
Not sure how debain handles disks that are members of the root-fs and
those that are not. If the luns are not required for the root-fs you
might even get away without updating the initramfs and without running
zipl. However, it's safe to do both steps anyway.
HTH
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/