From 0ae7bf999846a5c2fdaafa1b09e58840e102fd87 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 18 Jul 2008 12:04:11 +1000 Subject: blacklist sdb in multipath for tsm server, so it doesn't try it at boot --- base/root/scripts/setup_tsm_server.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'base/root/scripts') diff --git a/base/root/scripts/setup_tsm_server.sh b/base/root/scripts/setup_tsm_server.sh index 6002eeb..2a7738b 100755 --- a/base/root/scripts/setup_tsm_server.sh +++ b/base/root/scripts/setup_tsm_server.sh @@ -6,9 +6,15 @@ CLUSTER=@@CLUSTER@@ yum -y install TIVsm-BA TIVsm-HSM TIVsm-API TIVsm-server +echo "Ensuring multipath is disabled on this disk" chkconfig multipathd off || true service multipathd stop || true multipath -F || true +cat <> /etc/multipath.conf +blacklist { + "^sdb" +} +EOF mkfs.ext3 -F /dev/sdb mkdir -p /tsmdiskpool -- cgit