「ESXi esxcli iscsi」修訂間的差異
		
		
		
		
		
		跳至導覽
		跳至搜尋
		
				
		
		
	
|  (建立內容為「* 啟用軟體 iSCSI 介面  esxcli iscsi software set --enabled=true * iSCSI 介面啟用狀態  esxcli iscsi software get * 列出 iSCSI 介面資訊  esxcli is…」的新頁面) | |||
| (未顯示同一使用者於中間所作的 1 次修訂) | |||
| 行 1: | 行 1: | ||
| + | __NOTOC__ | ||
| + | [[Category:ESXi]] | ||
| + | [[Category:iSCSI]] | ||
| * 啟用軟體 iSCSI 介面 | * 啟用軟體 iSCSI 介面 | ||
|  esxcli iscsi software set --enabled=true |  esxcli iscsi software set --enabled=true | ||
| 行 7: | 行 10: | ||
| * 新增連接埠繫結 VMkernel NIC | * 新增連接埠繫結 VMkernel NIC | ||
|  esxcli iscsi networkportal add -n vmk1 -A vmhba64 |  esxcli iscsi networkportal add -n vmk1 -A vmhba64 | ||
| + |  esxcli iscsi networkportal remove --adapter=vmhba64 --nic=vmk5 --force=true | ||
| + |  esxcli iscsi networkportal list | ||
| * 新增靜態目標 | * 新增靜態目標 | ||
|  esxcli iscsi adapter discovery statictarget add --address=192.168.111.201 --adapter=vmhba64 --name=iqn.2021-06.com.openrich.111.201:test |  esxcli iscsi adapter discovery statictarget add --address=192.168.111.201 --adapter=vmhba64 --name=iqn.2021-06.com.openrich.111.201:test | ||
| 行 25: | 行 30: | ||
| # DelayedAck | # DelayedAck | ||
| #: 取消勾選 | #: 取消勾選 | ||
| + | ---- | ||
於 2022年1月24日 (一) 00:32 的最新修訂
- 啟用軟體 iSCSI 介面
esxcli iscsi software set --enabled=true
- iSCSI 介面啟用狀態
esxcli iscsi software get
- 列出 iSCSI 介面資訊
esxcli iscsi adapter list
- 新增連接埠繫結 VMkernel NIC
esxcli iscsi networkportal add -n vmk1 -A vmhba64 esxcli iscsi networkportal remove --adapter=vmhba64 --nic=vmk5 --force=true esxcli iscsi networkportal list
- 新增靜態目標
esxcli iscsi adapter discovery statictarget add --address=192.168.111.201 --adapter=vmhba64 --name=iqn.2021-06.com.openrich.111.201:test
- 新增動態目標
esxcli iscsi adapter discovery sendtarget add --address=192.168.111.201 --adapter=vmhba64
- 重新掃瞄
esxcli storage core adapter rescan --adapter=vmhba64
- 新增的 iSCSI 裝置 狀態是 正常,降級
esxcli storage nmp satp rule add -s VMW_SATP_LOCAL --device naa.600140566c3aef9734f4ed2bd12538c4 --option="enable_local" esxcli storage core claiming reclaim -d naa.600140566c3aef9734f4ed2bd12538c4 esxcli storage core claimrule load esxcli storage core claimrule run
- Syology NAS iSCSI 要改進階設定
- LoginTimeout
- 預設 5 改成 60
 
- NoopTimeout
- 預設 10 改成 30
 
- DelayedAck
- 取消勾選