So now i have a new iSCSI target setup on debian etch from backports, and im setting up a new powerful node to serve as a node in the Oracle RAC.
So i installed Enterprise Linux fine and i am following the same steps described in the "round one" post.
While trying to configure the iSCSI target, a question poped into my mind, what diffrence would it be if i configure a single target with multiple LUN or if i configure multiple targets each with single LUN, i have no idea what diffrence it makes.
So after a while of digging arond, i realized that the script provided from oracle howto will only work properly if you have one LUN in each target, but i had multiple LUNs in my iscsi-targets to have more space ... so i had to modify the script that returns the names of devices for persistant naming, here is the diff:
--- iscsidev.sh.bak 2008-05-10 19:44:49.000000000 +0300
+++ iscsidev.sh 2008-05-10 19:44:25.000000000 +0300
@@ -4,6 +4,7 @@
BUS=${1}
HOST=${BUS%%:*}
+LUN=${BUS##*:}
[ -e /sys/class/iscsi_host ] || exit 1
@@ -16,5 +17,5 @@
exit 1
fi
-echo "${target_name##*.}"
+echo "${target_name##*.}LUN$LUN"
No comments:
Post a Comment