Zseries SLES 9 SP2 supports coding multipath=yes or multipath=all or
multipath=host3,host5,...hostn in
/etc/zipl.conf's kernel parameters ;
Example: parameters = "multipath=yes root=/dev/..."
and during linux booting up, its initrd's /linuxrc shell script checks
for "multipath=" and does something (see code excerpt below) but doesn't
run /sbin/multipath (part of multipath-tools package).
Does anyone know what that "something" is intended for and how to use
it?
Does it affect /sbin/multipath at all? Or just a coincidence of name?
S390x SLES9 SP2 release notes mention this
" Added support for "multipath" option in initrd to support a delayed
partition probing per host adapter needed in multipath setups"
----- Code from /linuxrc -----:
for o in $(cat /proc/cmdline); do
case $o in
multipath=*)
multipath_hosts=${o#multipath=} ;;
esac
done
case $multipath_hosts in
all|yes)
hosts_to_scan=*
;;
host*)
set -- $(IFS=, ; echo $multipath_hosts)
hosts_to_scan=$@
;;
esac
old_pwd=$PWD
if [ -d /sys/class/scsi_host ]; then
cd /sys/class/scsi_host
for host in $hosts_to_scan; do
cd /sys/class/scsi_host/$host
if [ -d device ]; then
for dev in device/target*; do
if [ -d "$dev" ]; then
have_targets=1
fi
done
fi
if [ -z "$have_targets" -a -w no_partition_check ]; then
echo 1 > no_partition_check
echo "- - -" > scan
fi
done
cd $old_pwd
fi
--------------------------------------------------------
This e-mail, including any attachments, may be confidential, privileged or
otherwise legally protected. It is intended only for the addressee. If you
received this e-mail in error or from someone who was not authorized to send it
to you, do not disseminate, copy or otherwise use this e-mail or its
attachments. Please notify the sender immediately by reply e-mail and delete
the e-mail from your system.
----------------------------------------------------------------------
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