Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

摘要

本文說明如何連接 Linux 主應用程式的 StorSimple 存放陣列,並再裝載磁碟區。

注意若要從 Linux 主應用程式 StorSimple 裝置的連線,您必須使用開啟 iSCSI 啟動器。

方法

Linux 主機上

  1. 請確定已安裝 iSCSI 公用程式。

    • 如果要檢查是否已安裝,請執行轉速-q iSCSI 啟動器 utils命令。

    • 如果未安裝 iSCSI 公用程式,請使用yum 安裝 iSCSI-啟動器-utils ] 指令安裝它們。

  2. 尋找 Linux 主應用程式的 iSCSI 啟動器名稱。若要這樣做,請執行貓 /etc/iSCSI/initiatorname.iscsi命令。

StorSimple 應用裝置上

  1. 使用 Linux 主應用程式的 iSCSI 啟動器名稱,以建立存取控制資料錄 (ACR)。如需有關如何建立 ACR 的詳細資訊,請造訪此網站

  2. 建立新的磁碟區,並再授予權限給磁碟區的權限 ACR Linux 主機。如需有關建立磁碟區的指示的詳細資訊,請造訪此網站

Linux 主機上

  1. StorSimple 裝置上的資料介面的 IP 位址上執行探索。若要這樣做,請執行iscsiadm-m 探索-t sendtargets-p xx.xx.xx.xx命令。
    注意取代您的 StorSimple 資料介面 IP 前述範例中的xx.xx.xx.xx版面配置區。

  2. 使用/etc/init.d/iSCSI 重新啟動] 命令,重新啟動 「 iSCSI 服務。

  3. 確認 StorSimple 磁碟區是可見的並找出磁碟區的名稱。若要這樣做,請使用下列命令其中一項︰

    • fdisk-l |grep /dev

    • 機尾-f /var/logs/messages

  4. 建立檔案系統磁碟區上。例如,執行mkfs-t ext3 /dev/sdc命令。

  5. 裝載磁碟區。比方說,執行mkdir /data1命令或掛上 /dev/sdc/data1命令。

其他的 Linux iSCSI 命令

檢查目前的 iSCSI 工作階段

iscsiadm -m session -P 1 

登入 iSCSI 目標

iscsiadm -m node -login < TARGET IP > 

登出 iSCSI 目標

iscsiadm -m node -logout < TARGET IP > 

刪除 iSCSI 目標

iscsiadm -m node -o delete < TARGET IP > 

本文將所述之產品製造協力廠商均與 Microsoft 無關。Microsoft 不對這些產品之其他相關效能或可靠性作出任何擔保或默示。

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×