From 7727a99c2300846d76df3ca10e06138e68780db5 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 20 Nov 2006 21:11:14 +0000 Subject: - rc.sysinit: run zfcpconf.sh earlier, so devices are available for LVM usage (#189494) --- initscripts.spec | 1 + rc.d/rc.sysinit | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/initscripts.spec b/initscripts.spec index afd87ce2..86278da8 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -210,6 +210,7 @@ rm -rf $RPM_BUILD_ROOT - setsysfont, rc.sysinit: fix KEYTABLE, setsysfont when serial console is present (#150769) - netfs: call multipath, kpartx if necessary (#180977) +- rc.sysinit: run zfcpconf.sh earlier, so devices are available for LVM usage (#189494) * Fri Apr 21 2006 Miloslav Trmac - 7.93.25.EL-1 - Document HOTPLUG (#189509) diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 1df46101..c85174ce 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -181,6 +181,10 @@ for module in `/sbin/modprobe -c | awk '/^alias[[:space:]]+scsi_hostadapter[0-9] done load_module floppy +# configure all zfcp (scsi over fibrechannel) devices before trying to mount them +# zfcpconf.sh exists only on mainframe +[ -x /sbin/zfcpconf.sh ] && /sbin/zfcpconf.sh + echo -n $" storage" # Network @@ -535,10 +539,6 @@ mount -f /dev/pts [ -f /proc/bus/usb/devices ] && mount -f -t usbfs usbfs /proc/bus/usb [ -e /dev/.devfsd ] && mount -f -t devfs devfs /dev -# configure all zfcp (scsi over fibrechannel) devices before trying to mount them -# zfcpconf.sh exists only on mainframe -[ -x /sbin/zfcpconf.sh ] && /sbin/zfcpconf.sh - # The root filesystem is now read-write, so we can now log # via syslog() directly.. if [ -n "$IN_INITLOG" ]; then -- cgit