COMSTAR

  • 動作確認時のパケットキャプチャ

iSCSI on zvol

最初から流しで。

  • pkgのインストール
    • <code># pkg search iscsi # pkg install pkg:/network/iscsi/target</code>
  • サービスの起動
    • <code># svcadm enable -r svc:/network/iscsi/target:default # svcadm enable stmf # svcs -a | grep iscsi online 2月27 svc:/network/iscsi/initiator:default online 2月27 svc:/network/iscsi/target:default</code>
  • zvolの作成
    • <code># zfs create -V 10g m-test/iscsi</code>
  • COMSTARのLU作成→VIEWに追加→Targetの作成
    • <code># sbdadm create-lu /dev/zvol/rdsk/m-test/iscsi Created the following LU:

      GUID DATA SIZE SOURCE


      600144f06286850000004d68c01b0002 10737418240 /dev/zvol/rdsk/m-test/iscsi # sbdadm list-lu

Found 1 LU(s)

          GUID                    DATA SIZE           SOURCE

——————————– ——————- —————- 600144f06286850000004d68c01b0002 10737418240 /dev/zvol/rdsk/m-test/iscsi

stmfadm list-lu

LU Name: 600144F06286850000004D68C01B0002

stmfadm add-view 600144f06286850000004d68c01b0002

itadm create-target

View Entry: 0

  Host group   : All
  Target group : All
  LUN          : 0

# itadm list-target -v TARGET NAME STATE SESSIONS iqn.1986-03.com.sun:02:97378251-0dc8-c32c-952d-8dfb284ee763 online 0

    alias:                  -
    auth:                   none (defaults)
    targetchapuser:         -
    targetchapsecret:       unset
    tpg-tags:               default

</code>

os/oi/comstar/start.txt · 最終更新: 2011/12/03 16:37 by yuki
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0