- 论坛徽章:
- 0
|
下載 scst, iscst-scst 模組. 我目前使用內核 2.6.18.8 依照 README 對內核作了補丁, 之後重新編譯內核, 然後編譯及安裝
scst 及 iscsi-scst 模組.
使用 scstadmin 建立 vdisk
#scstadmin -adddev disk01 -handler vdisk -path /dev/ram0
然後將 vdisk 加入 Default group LUN0
#scstadmin -assigndev disk01 -group Default -lun 0
將設定寫入 /etc/scst.conf
#scstadmin -WriteConfig /etc/scst.conf
然後重新啟動 scst 及 iscsi-scst 服務.
#service iscsi-scst stop
#service scst stop
#service scst start
#service iscsi-scst start
用 dmesg 發現最後兩條 message 好像是 iscsi-scst target 被釋放, 前端 initiator 也無法連接該 iscsi target
scst: Target iqn.2007-05.com.example:storage.disk2.sys1.xyz (cb9c0740) for template iscsi registered successfully
iscsi-scst: Releasing allocated resources
scst: Target cb9c0740 for template iscsi unregistered successfully
請問是哪個步驟有錯或者是沒做到, 導致 iscsi target 註冊失敗, 有人能提供完整的使用步驟嗎
謝謝
|
|