天天看點

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

繼續閱讀