FreeNas配置步骤
目录
网络配置 (1)
iSCSI配置步骤 (2)
常见问题 (6)
Windows 识别iSCSI (7)
网络配置
为了在电脑上能够访问到FreeNas登陆界面,FreeNas里需要有两块网卡。一块为hostonly,用于和其他虚拟机通信。一块为NAT,用于被母机访问。
FREENAS NAT IP 192.168.233.1,
本机VMnet8 配置IP 192.168.233.1
Note VMnet0, VMnet1, and VMnet8 are normally used for bridged, host-only, and NAT configurations, respectively. Special steps are required to make them available for use in custom configurations. Select one of the other switches.
iSCSI配置步骤
虚拟机上加硬盘:
Web登陆freesas http://192.168.233.2输入freenas主机名
Define Device Extents
Define Initiators
Define Portals
Define Targets
Define Targets/Extents
Activate service
常见问题
如果遇到iscsi莫名其妙断掉,可能是以前配置捣乱。需要回复出厂设置。它会清除所有定义的信息!
Windows 识别iSCSI
Open iSCSI Initiator
Start->search->Iscsi, 在program 里看到iscsi initiator
Change Initiator Name
Discovery FressNAS
注意:这个IP不是web访问的IP, 是另一个IP 192.168.3.5
Define Target
Then, disks should be seen in disk management panel