fusion-io 安装测试

原文:http://space.itpub.net/7685986/viewspace-717077

今天测试了安装fusion-io, 160GB,
1、将fusion-io卡接到DELL R710服务器上。

2、到http://support.fusionio.com/driver/ 下载驱动

站点上的iomemory-vsl-2.6.18-238.9.1.el5-2.3.1.123-1.0.x86_64.rpm有问题, 安装后不能生成iomemory-vsl模块

下载iomemory-vsl-2.3.1.123-1.0.src.rpm, 重新生成rpm包。

3、安装驱动


[root@sxs fusion-io]# ll
 177064
-rw-r--r-- 1 root root     10319 02-23 15:10 fio-common-2.3.1.123-1.0.x86_64.rpm
-rw-r--r-- 1 root root 129421011 02-23 17:18 fio-firmware-101971.4-1.0.noarch.rpm
-rw-r--r-- 1 root root     12584 02-24 08:22 fio-remote-util-1.1.2.22-1.0.x86_64.rpm
-rw-r--r-- 1 root root  13442645 02-23 17:50 fio-smis-1.1.2.22-1.0.x86_64.rpm
-rw-r--r-- 1 root root      9692 02-23 16:32 fio-snmp-mib-1.1.2.22-1.0.x86_64.rpm
-rw-r--r-- 1 root root      7529 02-23 17:49 fio-sysvinit-2.3.1.123-1.0.x86_64.rpm
-rw-r--r-- 1 root root    641508 02-23 16:31 fio-util-2.3.1.123-1.0.x86_64.rpm
-rw-r--r-- 1 root root   5290921 02-23 16:19 iomanager-gui-2.3.2.1886-1.1.noarch.rpm
-rw-r--r-- 1 root root  30601963 02-23 16:19 iomanager-jre-2.3.2.1886-1.1.x86_64.rpm
-rw-r--r-- 1 root root    145868 02-23 15:11 libfio-2.3.1.123-1.0.x86_64.rpm
-rw-r--r-- 1 root root    471138 02-23 15:10 libfusionjni-1.1.2.22-1.0.x86_64.rpm
-rw-r--r-- 1 root     root             08:54 iomemory-vsl-2.3.1.123-1.0.src.rpm


[root@sxs fusion-io]#  rpmbuild --rebuild iomemory-vsl*.src.rpm
[root@sxs fusion-io]# cd /usr/src/redhat/RPMS/x86_64
[root@sxs fusion-io]# rpm -ivh iomemory-vsl-2.6.18-238.9.1.el5-2.3.1.123-1.0.x86_64.rpm
Preparing...                ########################################### [100%]
   1:iomemory-vsl-2.6.18-238########################################### [100%]
 
[root@sxs fusion-io]# rpm -Uvh lib*.rpm

[root@sxs fusion-io]# rpm -Uvh fio*.rpm

[root@sxs fusion-io]# rpm -ivh iomanager-*
Preparing...                ########################################### [100%]
   1:iomanager-jre          ########################################### [ 50%]
   2:iomanager-gui          ########################################### [100%]


4、安装完的看fusion-io状态,由于没有加载模块不能显示设备

 

[root@sxs /]# fio-status
Retrieving Fusion-io product information...

Found 1 ioDrive in this system
Fusion-io driver version: Driver not loaded

Adapter: ioDrive
    Fusion-io ioDrive 160GB, Product Number:FS1-002-161-ES SN:50137
    Connected ioDimm module:
      1:    Fusion-io ioDrive 160GB, Product Number:FS1-002-161-ES SN:25018

1:    Fusion-io ioDrive 160GB, Product Number:FS1-002-161-ES SN:25018
    PCI:04:00.0
    Firmware v5.0.7, rev 101971
    Internal temperature: avg 47.7 degC, max 47.7 degC

 

5、加载模块


[root@sxs fusion-io]# modprobe iomemory-vsl

再次查看状态,显示设备为 fioa,

[root@sxs x86_64]# fio-status

Found 1 ioDrive in this system
Fusion-io driver version: 2.3.1 build 123

Adapter: ioDrive
        Fusion-io ioDrive 160GB, Product Number:FS1-002-161-ES SN:50137
        External Power: NOT connected
        PCIE Power limit threshold: 24.75W
        Sufficient power available: Unknown
        Connected ioDimm module:
          fct0: Fusion-io ioDrive 160GB, Product Number:FS1-002-161-ES SN:25018

fct0    Attached as 'fioa' (block device)
        Fusion-io ioDrive 160GB, Product Number:FS1-002-161-ES SN:25018
        Alt PN:FS1-SS2-161-ES
        PCI:04:00.0, Slot Number:2
        Firmware v5.0.7, rev 101971
        160.94 GBytes block device size, 198 GBytes physical device size
        Sufficient power available: Unknown
        Internal temperature: 48.7 degC, max 48.7 degC
        Media status: Healthy; Reserves: 100.00%, warn at 10.00%


root@sxs x86_64]# fdisk -l

Disk /dev/sda: 107.3 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14        5235    41945715   8e  Linux LVM
/dev/sda3            5236        7846    20972857+  82  Linux swap / Solaris
/dev/sda4            7847       13054    41833260    5  Extended
/dev/sda5            7847        7910      514048+  83  Linux
/dev/sda6            7911        8166     2056288+  83  Linux
/dev/sda7            8167        8422     2056288+  83  Linux
/dev/sda8            8423        8934     4112608+  83  Linux
/dev/sda9            8935       11494    20563168+  83  Linux


Note: sector size is 4096 (not 512)

Disk /dev/fioa: 160.9 GB, 160937803776 bytes
255 heads, 63 sectors/track, 2445 cylinders
Units = cylinders of 16065 * 4096 = 65802240 bytes

    Device Boot      Start         End      Blocks   Id  System
/dev/fioa1               1        2445   157115448   83  Linux
[root@sxs x86_64]#


6、fdisk -l 显示/dev/fioa有个提示sector size is 4096 (not 512), 初始化informix使用裸分区时,总部提示rootdbs空间不够。

 

需要将/dev/fioa的sector重新格式化为512K
可以使用fio-format 命令,  我使用fusion-io的gui管理工具,如下:
[root@sxs /]# iomanager

 

你可能感兴趣的:(fusion-io 安装测试)