亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標題: 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

Solaris 9:
請下載
solaris-iscsi-3.3.6.tar (http://72891.cn/viewthr ... ice&tid=1711328)

解壓縮安裝正常的話,應(yīng)該就可以用了。

但我在安裝中遇到了問題:
安裝solaris-iscsi-3.3.6的錯誤uid=60001.txt:


***************************************************

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.

3. run pkgadd -d . CSCOiscsi


發(fā)現(xiàn)用cksum request后的結(jié)果是
# cksum request
3842952723      2597    request


#vi CSCOiscsi/pkgmap查到


1 i request 2596 10179 1086153032

按照版主說的將2596改成2597,然后運行pkgadd -d .  CSCOiscsi 又出現(xiàn)錯誤如下:

pkgadd: ERROR: packaging file </u03/CSCOiscsi/install/request> is corrupt
    file cksum <10179> expected <10214> actual


于是又將10179改成10214,最后成功

***************************************************
詳見:
http://72891.cn/viewthr ... ;page=3#pid12240062
***************************************************



安裝后在DELL MD3000i上設(shè)置主機映射到虛擬盤,找到solaris的主機名,進行映射設(shè)置。

再通過如下設(shè)置來找到目標:


/etc/init.d/iscsi start

# /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

后來才發(fā)現(xiàn)是我在DELL MD3000i上的設(shè)置出了問題,我把IPV6設(shè)置上了,所以如上報的錯誤就是“IPV6的地址協(xié)議無法解決系統(tǒng)被中斷”的問題,于是將DELL MD3000I的端口配置的中IPV6去掉,終于找到目標了。


********************************************************************************
TARGET NAME iqn.1984-05.com.dell:powervault.md3000i.6a4badb000230fd1000000004bf34ef6
TARGET ID 0:
  ADDRESS = 191.168.198.101:3260, 1
  ADDRESS =  191.168.198.101:3260, 1
  STATUS  = Connected  191.168.198.103:62644<-> 191.168.198.101:3260  5/30/2010 11:07:03
  SESSION = ISID 00023d000001  TSID 67  PID 7405
********************************************************************************



Solaris 10的iscsi連接:(詳見:)
ISCSI for solaris10安裝

1、        查看pkginfo 驗證是否已安裝 iSCSI 軟件包。

# pkginfo SUNWiscsiu SUNWiscsir
system SUNWiscsiu Sun iSCSI Device Driver (root)
system SUNWiscsir Sun iSCSI Management Utilities (usr)

2、        下補丁
119090-14.zip
運行iscsiadm add discovery-address 10.10.8.101:3260配置動態(tài)搜索的設(shè)備 (SendTargets)。
3、        iscsiadm modify discovery --sendtargets enable
4、        devfsadm -i iscsi

例如:
# iscsiadm add discovery-address 10.0.0.1:3260
啟用搜索方法之前,不會啟動 iSCSI 連接。請參見下一步。
o 配置動態(tài)搜索的設(shè)備 (iSNS)。
例如:
# iscsiadm add iSNS-server 10.0.0.1:3205
啟用搜索方法之前,不會啟動 iSCSI 連接。請參見下一步。
o 配置靜態(tài)搜索的設(shè)備。
例如:
# iscsiadm add static-config eui.5000ABCD78945E2B,10.0.0.1
啟用搜索方法之前,不會啟動 iSCSI 連接。請參見下一步。
3. 使用以下命令之一啟用 iSCSI 目標搜索方法:
o 如果已配置動態(tài)搜索 (SendTargets) 設(shè)備,請啟用 SendTargets 搜索方法。
# iscsiadm modify discovery --sendtargets enable
o 如果已配置動態(tài)搜索 (iSNS) 設(shè)備,請啟用 iSNS 搜索方法。
# iscsiadm modify discovery --isns enable
o 如果已配置靜態(tài)目標,請啟用靜態(tài)目標搜索方法。
# iscsiadm modify discovery --static enable
4. 為本地系統(tǒng)創(chuàng)建 iSCSI 設(shè)備鏈接。
# devfsadm -i iscsi


*****************************************************************************
詳見:http://tagche.blog.51cto.com/649757/278320
*****************************************************************************
作者: easybegin    時間: 2010-05-30 13:24
好東西,收藏
作者: zhmzhouming    時間: 2010-05-31 12:51
收藏




歡迎光臨 Chinaunix (http://72891.cn/) Powered by Discuz! X3.2