summaryrefslogtreecommitdiffstats
path: root/base/root/scripts
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-07-12 15:08:37 +1000
committerAndrew Tridgell <tridge@samba.org>2008-07-12 15:08:37 +1000
commit649c7b3134513d17519fbdc134a156b7cded190c (patch)
treebaadaa2374e9e1872a8b20015364cfd390d0861e /base/root/scripts
parent3bfbed302378431d57463d294a34384f775ef693 (diff)
- use multipath for tsm server
- fixed unmount syntax
Diffstat (limited to 'base/root/scripts')
-rwxr-xr-xbase/root/scripts/setup_tsm_server.sh10
1 files changed, 2 insertions, 8 deletions
diff --git a/base/root/scripts/setup_tsm_server.sh b/base/root/scripts/setup_tsm_server.sh
index 7a0a538..6b7f898 100755
--- a/base/root/scripts/setup_tsm_server.sh
+++ b/base/root/scripts/setup_tsm_server.sh
@@ -4,18 +4,12 @@ set -e
CLUSTER=@@CLUSTER@@
-# we don't want multipath using the /dev/sdb device
-echo "Disabling multipath"
-chkconfig multipathd off || true
-service multipathd stop || true
-multipath -F || true
-
yum -y install TIVsm-BA TIVsm-HSM TIVsm-API TIVsm-server
-mkfs.ext3 -F /dev/sdb
+mkfs.ext3 -F /dev/dm-0
mkdir -p /tsmdiskpool
cat <<EOF >> /etc/fstab
-/dev/sdb /tsmdiskpool ext3 defaults 1 1
+/dev/dm-0 /tsmdiskpool ext3 defaults 1 1
EOF
mount /tsmdiskpool