標題: Iscsi連接存儲DELL-MD3000i for solaris 7/8/ 9/10 [打印本頁] 作者: libo9912 時間: 2010-05-30 11:50 標題: Iscsi連接存儲DELL-MD3000i for solaris 7/8/ 9/10 Iscsi連接存儲DELL——MD3000i for solaris 7/8/ 9/10
I did a truss on it and it looks like a bug in the installation script. What happened was the installation script tried to create a tmp file in /var/tmp directory owned by user noaccess (UID:60002) and the subsequential installation checked the UID of the file. Here is your workaround:
1. Edit the request file in CSCOiscsi/install directory to comment out exit 1 entry (注釋exit 1)
if [ $userid -ne 0 ]
then
printf "You must be superuser to run this script!\n"
printf "Your current effective uid is $userid!\n"
# exit 1
fi
復(fù)制代碼
2. (optional) If you don't want to see an error message when you run pkgchk, then update the checksum of the request file in pkgmap.
# cksum request
3842952723 2597 request
You will get two numbers. copy the second number
vi /CSCOiscsi/pkgmap , find the request file and paste the new checksum to replace the old one.
# /usr/sbin/iscsi-ls
No target … …
但是我遇到了如下的錯誤,卻始終也連不上:
May 30 10:26:30 shideerp iscsid[5741]: [ID 801593 daemon.error] cannot resolve [fe80:0000:0000:0000:a6ba:dbff:fe23:0fd3]: Error 0
May 30 10:26:31 shideerp iscsid[5741]: [ID 801593 daemon.error] cannot resolve [fe80:0000:0000:0000:a6ba:dbff:fe23:0fd3]: Interrupted system call
May 30 10:27:01 shideerp last message repeated 30 times
May 30 10:27:02 shideerp iscsid[5741]: [ID 801593 daemon.error] cannot resolve [fe80:0000:0000:0000:a6ba:dbff:fe23:0fd3]: Interrupted system call
May 30 10:33:41 shideerp last message repeated 399 times
May 30 10:33:42 shideerp iscsid[5741]: [ID 801593 daemon.error] cannot resolve [fe80:0000:0000:0000:a6ba:dbff:fe23:0fd3]: Interrupted system call
May 30 10:40:21 shideerp last message repeated 399 times
May 30 10:40:22 shideerp iscsid[5741]: [ID 801593 daemon.error] cannot resolve [fe80:0000:0000:0000:a6ba:dbff:fe23:0fd3]: Interrupted system call
May 30 10:47:01 shideerp last message repeated 399 times
May 30 10:47:02 shideerp iscsid[5741]: [ID 801593 daemon.error] cannot resolve [fe80:0000:0000:0000:a6ba:dbff:fe23:0fd3]: Interrupted system call
May 30 10:53:41 shideerp last message repeated 399 times
May 30 10:53:42 shideerp iscsid[5741]: [ID 801593 daemon.error] cannot resolve [fe80:0000:0000:0000:a6ba:dbff:fe23:0fd3]: Interrupted system call
May 30 11:00:21 shideerp last message repeated 399 times
May 30 11:00:22 shideerp iscsid[5741]: [ID 801593 daemon.error] cannot resolve [fe80:0000:0000:0000:a6ba:dbff:fe23:0fd3]: Interrupted system call
May 30 11:07:01 shideerp last message repeated 399 times