天天看点

FC Setup for openfiler 2.99

苦于用做虚拟集群存储的openfiler只配了ipsan,读写性能低下,故打算改HBA卡挂FC-san,国内对应资料很少,所以搬运来步骤:

1. cat /sys/class/fc_host/hostX/port_name  查看WWN号

2. Edit /etc/init.d/scst and change the chkconfig to # chkconfig: - 99 36

3. chkconfig scst on

4. service scst start

5. scstadmin -write_config /etc/scst.conf     保存配置

6.scstadmin -add_group FC-SAN -driver qla2x00t -target 21:00:00:24:ff:2f:1e:86    建立并划光口进组

7.scstadmin -add_init 50:01:43:80:06:37:07:76 -driver qla2x00t -target 21:00:00:24:ff:2f:1e:86 -group DASBOOT              匹配两端到组

等待openfiler  更新

8.lvdisplay         查看分区卷状态

9.scstadmin -open_dev 6t1 -handler vdisk_blockio -attributes filename=/dev/fc-san/6t1      挂载6T1分区

10.scstadmin -add_lun 0 -driver qla2x00t -target 21:00:00:24:ff:2f:1e:86 -group FC-SAN -device 6t1                      绑定lun

11.保存配置文件

scstadmin -write_config /etc/scst.conf

继续阅读